Skip to content

Commit

Permalink
[themes] also apply the fix to non-default themes, fixes #1272
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Sep 9, 2024
1 parent 55156cd commit 3da30f0
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 14 deletions.
8 changes: 5 additions & 3 deletions themes/danbooru/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ HEADER #site-title {
padding:10px 20px 0;
}
body {
display: grid;
grid-template-columns: 150px auto;
grid-gap: 0 20px;
-x-system-font:none;
background-color:#FFFFFF;
font-family:verdana,sans-serif;
Expand All @@ -60,6 +57,11 @@ font-variant:normal;
font-weight:normal;
line-height:normal;
}
BODY.grid {
display: grid;
grid-template-columns: 150px auto;
grid-gap: 0 20px;
}
h1 {
font-size:2em;
margin-bottom:0;
Expand Down
8 changes: 5 additions & 3 deletions themes/danbooru2/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,14 @@ HEADER ul#subnavbar li:first-child {
margin-left: -0.6rem;
}
body {
display: grid;
grid-template-columns: 11.5rem auto;
grid-gap: 0 2rem;
background-color: var(--page);
color: var(--text);
}
BODY.grid {
display: grid;
grid-template-columns: 11.5rem auto;
grid-gap: 0 2rem;
}
h1 {
margin-top:0;
margin-bottom:0;
Expand Down
8 changes: 5 additions & 3 deletions themes/futaba/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
}

BODY {
display: grid;
grid-template-columns: 200px auto;
grid-gap: 0 16px;
margin: 0;
background: #FFFFEE url(fade.png) top center repeat-x;
color: #800000;
Expand All @@ -19,6 +16,11 @@ BODY {
margin: 0;
margin-bottom: 8px;
}
BODY.grid {
display: grid;
grid-template-columns: 200px auto;
grid-gap: 0 16px;
}
H1 {
text-align: center;
}
Expand Down
6 changes: 4 additions & 2 deletions themes/lite/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
font-size: 14px;
}
BODY {
background: #F0F7FF;
margin: 0;
}
BODY.grid {
display: grid;
grid-template-columns: 210px auto;
grid-gap: 0 16px;
background: #F0F7FF;
margin: 0;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3 menu bar *
Expand Down
8 changes: 5 additions & 3 deletions themes/warm/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
font-size: 14px;
}
BODY {
display: grid;
grid-template-columns: 250px auto;
grid-gap: 16px;
margin: 0;
background: url(bg.png);
margin: 0;
}
BODY.grid {
display: grid;
grid-template-columns: 250px auto;
grid-gap: 16px;
}
HEADER {
display: grid;
grid-template-columns: auto 250px 250px;
Expand Down

0 comments on commit 3da30f0

Please sign in to comment.