forked from e621ng/e621ng
[Misc] Rework the page margins on mobile (#746)
This commit is contained in:
parent
54cc34ee9f
commit
a20aaae0e0
@ -3,10 +3,14 @@ div#search {
|
|||||||
}
|
}
|
||||||
|
|
||||||
div#page {
|
div#page {
|
||||||
border-radius: $border-radius-full;
|
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
margin: 0 1rem;
|
padding: $padding-050 $padding-025;
|
||||||
padding: $padding-050;
|
|
||||||
|
@include window-larger-than(800px) {
|
||||||
|
border-radius: $border-radius-full;
|
||||||
|
margin: 0 1em;
|
||||||
|
padding: $padding-050;
|
||||||
|
}
|
||||||
|
|
||||||
background-color: $hexagon-color-foreground;
|
background-color: $hexagon-color-foreground;
|
||||||
background-color: themed("color-foreground");
|
background-color: themed("color-foreground");
|
||||||
@ -90,13 +94,17 @@ footer#page-footer {
|
|||||||
grid-template-columns: 1fr 5em 1fr;
|
grid-template-columns: 1fr 5em 1fr;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
margin: 1em;
|
padding: $padding-050 $padding-025;
|
||||||
margin-bottom: 0;
|
margin-top: 1em;
|
||||||
border-radius: $border-radius-full $border-radius-full 0 0;
|
|
||||||
padding: 0.75em 0 0.75em;
|
|
||||||
line-height: 1.75em;
|
line-height: 1.75em;
|
||||||
background-color: themed("color-foreground");
|
background-color: themed("color-foreground");
|
||||||
|
|
||||||
|
@include window-larger-than(800px) {
|
||||||
|
border-radius: $border-radius-full $border-radius-full 0 0;
|
||||||
|
margin: 1em 1em 0 1em;
|
||||||
|
padding: $padding-050;
|
||||||
|
}
|
||||||
|
|
||||||
.footer-logo {
|
.footer-logo {
|
||||||
width: 5em;
|
width: 5em;
|
||||||
}
|
}
|
||||||
|
@ -86,8 +86,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
div#page {
|
div#page {
|
||||||
margin: 0 0.25rem;
|
|
||||||
padding: 0.5rem 0.25rem;
|
|
||||||
|
|
||||||
> div /* div#c-$controller */
|
> div /* div#c-$controller */
|
||||||
{
|
{
|
||||||
@ -320,9 +318,6 @@
|
|||||||
@media screen and (max-width: 660px) {
|
@media screen and (max-width: 660px) {
|
||||||
body.resp {
|
body.resp {
|
||||||
#c-forum-topics, #c-forum-posts {
|
#c-forum-topics, #c-forum-posts {
|
||||||
#a-show {
|
|
||||||
padding: 1em 0.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.creator {
|
.creator {
|
||||||
display: none;
|
display: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user