mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
🎨 style for footer links, responsive breakpoints
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
This commit is contained in:
parent
fe7ce9f2e0
commit
9e79e11091
@ -1,7 +1,3 @@
|
||||
$maximum-width: 1235px;
|
||||
$fluid-breakpoint: $maximum-width + 20px;
|
||||
$column-breakpoint: 700px;
|
||||
$small-breakpoint: 960px;
|
||||
|
||||
.container {
|
||||
box-sizing: border-box;
|
||||
@ -622,7 +618,7 @@ $small-breakpoint: 960px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 675px) {
|
||||
@media screen and (max-width: $xs-breakpoint) {
|
||||
.header-wrapper {
|
||||
padding-top: 0;
|
||||
|
||||
@ -649,7 +645,7 @@ $small-breakpoint: 960px;
|
||||
.landing {
|
||||
margin-bottom: 100px;
|
||||
|
||||
@media screen and (max-width: 738px) {
|
||||
@media screen and (max-width: $xs-top-breakpoint) {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@ -752,13 +748,13 @@ $small-breakpoint: 960px;
|
||||
}
|
||||
|
||||
&__grid {
|
||||
max-width: 960px;
|
||||
max-width: $small-breakpoint;
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 50%) minmax(0, 50%);
|
||||
grid-gap: 30px;
|
||||
|
||||
@media screen and (max-width: 738px) {
|
||||
@media screen and (max-width: $xs-top-breakpoint) {
|
||||
grid-template-columns: minmax(0, 100%);
|
||||
grid-gap: 10px;
|
||||
|
||||
|
@ -141,7 +141,7 @@
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 1em;
|
||||
width: 32vw;
|
||||
width: 300px;
|
||||
z-index: 10;
|
||||
text-align: right;
|
||||
color: $ui-primary-color;
|
||||
@ -170,5 +170,32 @@
|
||||
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: 30vw;
|
||||
}
|
||||
}
|
||||
@media all and(max-width: $maximum-width) {
|
||||
& {
|
||||
width: 27vw;
|
||||
height: 50vh;
|
||||
overflow-y: auto;
|
||||
padding-right: 1em;
|
||||
}
|
||||
}
|
||||
@media all and(max-width: $small-breakpoint) {
|
||||
& {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -48,6 +48,12 @@ $media-modal-media-max-width: 100%;
|
||||
$media-modal-media-max-height: 80%;
|
||||
|
||||
$no-gap-breakpoint: 415px;
|
||||
$maximum-width: 1235px;
|
||||
$fluid-breakpoint: $maximum-width + 20px;
|
||||
$column-breakpoint: 700px;
|
||||
$small-breakpoint: 960px;
|
||||
$xs-top-breakpoint: 738px;
|
||||
$xs-breakpoint: 675px;
|
||||
|
||||
$font-sans-serif: 'mastodon-font-sans-serif' !default;
|
||||
$font-display: 'mastodon-font-display' !default;
|
||||
|
Loading…
Reference in New Issue
Block a user