fix home page

This commit is contained in:
edshot99 2025-02-08 16:00:12 -06:00
parent 3614d6dee6
commit b291464f1c
3 changed files with 13 additions and 7 deletions

View File

@ -96,6 +96,8 @@ eSixCafeStylus:
sed -i 's^\/\*@-moz-document domain^@-moz-document domain^g' release/eSixCafe.user.css sed -i 's^\/\*@-moz-document domain^@-moz-document domain^g' release/eSixCafe.user.css
sed -i 's^e926.net\") {\*\/^e926.net\") {^g' release/eSixCafe.user.css sed -i 's^e926.net\") {\*\/^e926.net\") {^g' release/eSixCafe.user.css
sed -i 's^\/\*\|Stylus\|^^g' release/eSixCafe.user.css
sed -i 's^\|Stylus\|\*\/^^g' release/eSixCafe.user.css
echo "}" >>release/eSixCafe.user.css echo "}" >>release/eSixCafe.user.css
clean: clean:

View File

@ -56,7 +56,7 @@
@import "specific/forum.scss"; @import "specific/forum.scss";
@import "specific/guest_warning.scss"; @import "specific/guest_warning.scss";
@import "specific/help.scss"; @import "specific/help.scss";
/*@import "specific/home.scss";*/ @import "specific/home.scss";
@import "specific/iqdb_queries.scss"; @import "specific/iqdb_queries.scss";
@import "specific/pools.scss"; @import "specific/pools.scss";
@import "specific/popular.scss"; @import "specific/popular.scss";

View File

@ -1,8 +1,12 @@
html { /*|Stylus|
overflow: hidden; @-moz-document url("https://e621.net/"), url("https://e926.net/"), url("https://e926.net"), url("https://e621.net") {
html {
overflow: hidden;
}
} }
|Stylus|*/
body { body.c-static.a-home {
max-height: 100vh; max-height: 100vh;
max-width: 100vw; max-width: 100vw;
overflow: hidden; overflow: hidden;
@ -23,7 +27,7 @@ body.c-static.a-home nav.navigation {
padding-right: 1rem; padding-right: 1rem;
} }
div#page { body.c-static.a-home div#page {
background: none !important; background: none !important;
margin: 25rem auto 0 !important; margin: 25rem auto 0 !important;
} }
@ -34,7 +38,7 @@ body.c-static.a-home section[class^="home-footer"] {
background-color: var(--bg); background-color: var(--bg);
} }
.home-section, .home-footer-top { body.c-static.a-home .home-section, .home-footer-top {
border-bottom: 2px solid var(--bg-400); border-bottom: 2px solid var(--bg-400);
} }
@ -110,7 +114,7 @@ body.c-static.a-home .home-footer-counter img {
display: none; display: none;
} }
body, div#page { body.c-static.a-home, body.c-static.a-home div#page {
max-height: 100vh; max-height: 100vh;
overflow: hidden; overflow: hidden;
} }