Skip to content

Commit d3fea65

Browse files
committed
Specifying fallback colors for gutters to avoid ugly edges
1 parent 9515adc commit d3fea65

File tree

2 files changed

+28
-11
lines changed

2 files changed

+28
-11
lines changed

default.css

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ table.borderless {
5151
border-width: 0;
5252
}
5353

54-
table.borderless th, table.borderless td {
54+
table.borderless th,
55+
table.borderless td {
5556
padding: 0;
5657
}
5758

@@ -74,7 +75,8 @@ table.download_link {
7475
border-width: 0;
7576
}
7677

77-
table.download_link th, table.download_link td {
78+
table.download_link th,
79+
table.download_link td {
7880
padding: 1px;
7981
}
8082

@@ -97,7 +99,7 @@ div.centered {
9799
display: block;
98100
}
99101

100-
div.centered > * {
102+
div.centered>* {
101103
margin-left: auto;
102104
margin-right: auto;
103105
text-align: left;
@@ -108,29 +110,35 @@ table.centered {
108110
margin-right: auto;
109111
}
110112

111-
th.left-aligned, td.left-aligned {
113+
th.left-aligned,
114+
td.left-aligned {
112115
text-align: left;
113116
}
114117

115-
th.left-aligned > *, td.left-aligned > * {
118+
th.left-aligned>*,
119+
td.left-aligned>* {
116120
margin-left: 0;
117121
margin-right: auto;
118122
}
119123

120-
th.centered, td.centered {
124+
th.centered,
125+
td.centered {
121126
text-align: center;
122127
}
123128

124-
th.centered > *, td.centered > * {
129+
th.centered>*,
130+
td.centered>* {
125131
margin-left: auto;
126132
margin-right: auto;
127133
}
128134

129-
th.right-aligned, td.right-aligned {
135+
th.right-aligned,
136+
td.right-aligned {
130137
text-align: right;
131138
}
132139

133-
th.right-aligned > *, td.right-aligned > * {
140+
th.right-aligned>*,
141+
td.right-aligned>* {
134142
margin-left: auto;
135143
margin-right: 0;
136144
}
@@ -164,10 +172,13 @@ td.valign-top {
164172
}
165173

166174
/* Light theme */
167-
175+
html,
168176
body {
169177
background-color: #cccccc;
170178
color: #333366;
179+
}
180+
181+
body {
171182
background-image: url("images/back.gif");
172183
}
173184

@@ -207,9 +218,13 @@ tr.highlight {
207218
@media screen and (prefers-color-scheme: dark) {
208219

209220
/* Dark theme */
221+
html,
210222
body {
211223
background-color: #1e2122;
212224
color: #cec7c3;
225+
}
226+
227+
body {
213228
background-image: url("images/back-dk.gif");
214229
}
215230

@@ -238,4 +253,4 @@ tr.highlight {
238253
tr.highlight {
239254
color: #e1a5ec;
240255
}
241-
}
256+
}

seventowers/default.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ span.navbar {
440440
color: #D8AC20;
441441
}
442442

443+
html,
443444
body {
444445
background-color: #FFFFFF;
445446
color: #000000;
@@ -631,6 +632,7 @@ ul.navbar {
631632
color: #D8AC20;
632633
}
633634

635+
html,
634636
body {
635637
background-color: rgb(24, 26, 27);
636638
color: rgb(209, 203, 199);

0 commit comments

Comments
 (0)