2022-06-09 11:51:19 +01:00
|
|
|
/*
|
2022-06-21 09:48:42 +01:00
|
|
|
GoToSocial
|
|
|
|
Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
|
2022-06-09 11:51:19 +01:00
|
|
|
|
2022-06-21 09:48:42 +01:00
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
2022-06-09 11:51:19 +01:00
|
|
|
|
2022-06-21 09:48:42 +01:00
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU Affero General Public License for more details.
|
2022-06-09 11:51:19 +01:00
|
|
|
|
2022-06-21 09:48:42 +01:00
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2022-06-09 11:51:19 +01:00
|
|
|
*/
|
|
|
|
|
2022-06-21 09:48:42 +01:00
|
|
|
$br: 0.4rem;
|
|
|
|
$boxshadow: 0 0.4rem 1rem -0.2rem rgba(0,0,0,0.2);
|
|
|
|
|
2021-06-21 18:46:10 +01:00
|
|
|
html, body {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2022-06-09 11:51:19 +01:00
|
|
|
background: $bg_darker5;
|
2021-06-21 18:46:10 +01:00
|
|
|
color: $fg;
|
|
|
|
font-family: sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2022-06-09 11:51:19 +01:00
|
|
|
line-height: 1.5em;
|
|
|
|
min-height: 100vh;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page {
|
|
|
|
position: absolute;
|
2021-06-21 18:46:10 +01:00
|
|
|
display: grid;
|
2022-06-09 11:51:19 +01:00
|
|
|
min-height: 100%;
|
|
|
|
min-width: 100%;
|
2021-06-21 18:46:10 +01:00
|
|
|
|
2021-09-13 13:45:33 +01:00
|
|
|
grid-template-rows: auto 1fr auto;
|
|
|
|
}
|
2021-06-21 18:46:10 +01:00
|
|
|
|
2021-09-13 13:45:33 +01:00
|
|
|
main {
|
|
|
|
background: $bg;
|
|
|
|
display: grid;
|
|
|
|
padding-top: 2rem;
|
2022-05-28 12:18:35 +01:00
|
|
|
padding-bottom: 2rem;
|
2021-09-13 13:45:33 +01:00
|
|
|
grid-template-columns: 1fr 50% 1fr;
|
|
|
|
grid-template-columns: auto min(92%, 90ch) auto;
|
2021-06-21 18:46:10 +01:00
|
|
|
|
2021-07-13 17:40:47 +01:00
|
|
|
.left {
|
2021-06-21 18:46:10 +01:00
|
|
|
grid-column: 1;
|
|
|
|
}
|
|
|
|
|
2021-07-13 17:40:47 +01:00
|
|
|
.right {
|
2021-06-21 18:46:10 +01:00
|
|
|
grid-column: 3;
|
|
|
|
}
|
2021-09-13 13:45:33 +01:00
|
|
|
|
|
|
|
&.lightgray {
|
|
|
|
background: $bg;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
align-self: start;
|
|
|
|
grid-column: 2;
|
|
|
|
}
|
2021-06-21 18:46:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
2022-06-09 11:51:19 +01:00
|
|
|
background: $bg_darker5;
|
2021-09-13 13:45:33 +01:00
|
|
|
padding: 2rem 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
img {
|
|
|
|
height: 4rem;
|
|
|
|
padding-left: 2rem;
|
|
|
|
padding-bottom: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
height: 100%;
|
|
|
|
margin: 0 2rem;
|
|
|
|
margin-top: -2rem;
|
|
|
|
flex-grow: 1;
|
|
|
|
align-self: center;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
align-self: center;
|
2022-06-08 01:22:52 +01:00
|
|
|
color: $fg;
|
2021-09-13 13:45:33 +01:00
|
|
|
}
|
|
|
|
}
|
2021-06-21 18:46:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
/* color: $acc1; */
|
|
|
|
margin: 0;
|
|
|
|
line-height: 2.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $acc1;
|
|
|
|
}
|
|
|
|
|
2021-07-09 09:44:10 +01:00
|
|
|
.button, button {
|
2021-06-21 18:46:10 +01:00
|
|
|
border-radius: 0.2rem;
|
|
|
|
background: $acc1;
|
|
|
|
color: $fg;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 0.5rem;
|
2021-07-09 09:44:10 +01:00
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
2021-06-21 18:46:10 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $acc2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.count {
|
2022-06-09 11:51:19 +01:00
|
|
|
background: $bg_darker5;
|
2021-06-21 18:46:10 +01:00
|
|
|
border-radius: 0.3rem;
|
|
|
|
padding: 0.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nounderline {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.accent {
|
|
|
|
color: $acc1;
|
|
|
|
}
|
|
|
|
|
2021-07-13 17:40:47 +01:00
|
|
|
.logo {
|
2021-06-21 18:46:10 +01:00
|
|
|
justify-self: center;
|
|
|
|
img {
|
|
|
|
height: 30vh;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
section.apps {
|
|
|
|
align-self: start;
|
|
|
|
|
|
|
|
.applist {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
grid-gap: 0.5rem;
|
|
|
|
align-content: start;
|
|
|
|
|
|
|
|
.entry {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 30% 1fr;
|
|
|
|
gap: 0.5rem;
|
|
|
|
padding: 0.5rem;
|
2022-06-09 11:51:19 +01:00
|
|
|
background: $bg_darker5;
|
2021-06-21 18:46:10 +01:00
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
align-self: center;
|
|
|
|
width: 100%;
|
|
|
|
object-fit: contain;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo.redraw {
|
|
|
|
fill: $fg;
|
|
|
|
stroke: $fg;
|
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
padding: 1rem 0;
|
|
|
|
h3 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
section.login {
|
|
|
|
form {
|
|
|
|
display: inline-grid;
|
|
|
|
grid-template-columns: auto 100%;
|
|
|
|
grid-gap: 0.7rem;
|
|
|
|
|
|
|
|
button {
|
|
|
|
place-self: center;
|
|
|
|
grid-column: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-07 11:04:31 +00:00
|
|
|
section.error {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
span {
|
2022-06-21 09:48:42 +01:00
|
|
|
font-size: 2em;
|
2022-02-07 11:04:31 +00:00
|
|
|
}
|
|
|
|
pre {
|
2022-06-21 09:48:42 +01:00
|
|
|
border: 1px solid #ff000080;
|
|
|
|
margin-left: 1em;
|
|
|
|
padding: 0 0.7em;
|
|
|
|
border-radius: 0.5em;
|
|
|
|
background-color: #ff000010;
|
|
|
|
font-size: 1.3em;
|
|
|
|
white-space: pre-wrap;
|
2022-02-07 11:04:31 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-08 17:00:23 +01:00
|
|
|
input, select, textarea {
|
|
|
|
border: 1px solid $fg;
|
|
|
|
color: $fg;
|
|
|
|
background: $bg;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-06-21 18:46:10 +01:00
|
|
|
footer {
|
|
|
|
align-self: end;
|
|
|
|
|
|
|
|
padding: 2rem;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (orientation: portrait) {
|
2021-09-13 13:45:33 +01:00
|
|
|
main {
|
2021-06-21 18:46:10 +01:00
|
|
|
grid-template-columns: 1fr 92% 1fr;
|
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
margin-top: 2rem;
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
|
|
|
div {
|
2021-09-13 13:45:33 +01:00
|
|
|
margin: 0.3rem 0;
|
2021-06-21 18:46:10 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
section.apps .applist {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
2022-05-28 12:18:35 +01:00
|
|
|
}
|