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 {
|
||||
border-radius: $border-radius-full;
|
||||
overflow: visible;
|
||||
margin: 0 1rem;
|
||||
padding: $padding-050;
|
||||
padding: $padding-050 $padding-025;
|
||||
|
||||
@include window-larger-than(800px) {
|
||||
border-radius: $border-radius-full;
|
||||
margin: 0 1em;
|
||||
padding: $padding-050;
|
||||
}
|
||||
|
||||
background-color: $hexagon-color-foreground;
|
||||
background-color: themed("color-foreground");
|
||||
@ -90,13 +94,17 @@ footer#page-footer {
|
||||
grid-template-columns: 1fr 5em 1fr;
|
||||
align-items: center;
|
||||
|
||||
margin: 1em;
|
||||
margin-bottom: 0;
|
||||
border-radius: $border-radius-full $border-radius-full 0 0;
|
||||
padding: 0.75em 0 0.75em;
|
||||
padding: $padding-050 $padding-025;
|
||||
margin-top: 1em;
|
||||
line-height: 1.75em;
|
||||
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 {
|
||||
width: 5em;
|
||||
}
|
||||
|
@ -86,8 +86,6 @@
|
||||
}
|
||||
|
||||
div#page {
|
||||
margin: 0 0.25rem;
|
||||
padding: 0.5rem 0.25rem;
|
||||
|
||||
> div /* div#c-$controller */
|
||||
{
|
||||
@ -320,9 +318,6 @@
|
||||
@media screen and (max-width: 660px) {
|
||||
body.resp {
|
||||
#c-forum-topics, #c-forum-posts {
|
||||
#a-show {
|
||||
padding: 1em 0.5em;
|
||||
}
|
||||
|
||||
.creator {
|
||||
display: none;
|
||||
|
Loading…
Reference in New Issue
Block a user