mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
202 lines
3.2 KiB
SCSS
202 lines
3.2 KiB
SCSS
.public-layout {
|
|
.footer {
|
|
text-align: left;
|
|
padding-top: 20px;
|
|
padding-bottom: 60px;
|
|
font-size: 12px;
|
|
color: lighten($ui-base-color, 34%);
|
|
|
|
@media screen and (max-width: $no-gap-breakpoint) {
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-gap: 10px;
|
|
grid-template-columns: 1fr 1fr 2fr 1fr 1fr;
|
|
|
|
.column-0 {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.column-1 {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.column-2 {
|
|
grid-column: 3;
|
|
grid-row: 1;
|
|
min-width: 0;
|
|
text-align: center;
|
|
|
|
h4 a {
|
|
color: lighten($ui-base-color, 34%);
|
|
}
|
|
}
|
|
|
|
.column-3 {
|
|
grid-column: 4;
|
|
grid-row: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.column-4 {
|
|
grid-column: 5;
|
|
grid-row: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
@media screen and (max-width: 690px) {
|
|
grid-template-columns: 1fr 2fr 1fr;
|
|
|
|
.column-0,
|
|
.column-1 {
|
|
grid-column: 1;
|
|
}
|
|
|
|
.column-1 {
|
|
grid-row: 2;
|
|
}
|
|
|
|
.column-2 {
|
|
grid-column: 2;
|
|
}
|
|
|
|
.column-3,
|
|
.column-4 {
|
|
grid-column: 3;
|
|
}
|
|
|
|
.column-4 {
|
|
grid-row: 2;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
.column-1 {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: $no-gap-breakpoint) {
|
|
.column-0,
|
|
.column-1,
|
|
.column-3,
|
|
.column-4 {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
h4 {
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
color: $darker-text-color;
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
ul a {
|
|
text-decoration: none;
|
|
color: lighten($ui-base-color, 34%);
|
|
|
|
&:hover,
|
|
&:active,
|
|
&:focus {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
.brand {
|
|
svg {
|
|
display: block;
|
|
height: 36px;
|
|
width: auto;
|
|
margin: 0 auto;
|
|
fill: lighten($ui-base-color, 34%);
|
|
}
|
|
|
|
&:hover,
|
|
&:focus,
|
|
&:active {
|
|
svg path {
|
|
fill: lighten($ui-base-color, 38%);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.links-started__footer {
|
|
display: block;
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 1em;
|
|
width: 300px;
|
|
z-index: 10;
|
|
text-align: right;
|
|
color: $ui-primary-color;
|
|
|
|
hr {
|
|
border-color: $ui-primary-color;
|
|
}
|
|
|
|
.fa {
|
|
margin-right: 1ch;
|
|
}
|
|
|
|
ul {
|
|
list-style-type: none;
|
|
}
|
|
|
|
li {
|
|
margin: 0.15rem 0;
|
|
display: inline-block
|
|
}
|
|
|
|
i {
|
|
margin: 0.5ch;
|
|
}
|
|
|
|
a {
|
|
margin-left: 2ch;
|
|
color: $ui-primary-color;
|
|
padding: 3px;
|
|
border-radius: 3px;
|
|
|
|
&:hover {
|
|
color: white;
|
|
background: $ui-highlight-color;
|
|
}
|
|
}
|
|
|
|
@media all and(min-width: $maximum-width) {
|
|
& {
|
|
width: 25vw;
|
|
}
|
|
}
|
|
@media all and(max-width: $maximum-width) {
|
|
& {
|
|
width: 22vw;
|
|
height: 50vh;
|
|
overflow-y: auto;
|
|
padding-right: 1em;
|
|
}
|
|
}
|
|
@media all and(max-width: $small-breakpoint) {
|
|
& {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|