Skip to content

Commit 2afa60a

Browse files
committed
simplify dataTable css
1 parent f5a17d2 commit 2afa60a

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

datafiles/static/hackage.css

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ html {
2121
color: #333;
2222
}
2323
}
24-
2524
body {
2625
text-align: left;
2726
min-height: 100vh;
@@ -233,7 +232,6 @@ ul.links li a, ul.links li form {
233232
background-color: #f7f7f7;
234233
}
235234
}
236-
237235
pre {
238236
padding: 0.5rem 1rem;
239237
margin: 1em 0;
@@ -1046,27 +1044,22 @@ table.fancy th {
10461044
@media (prefers-color-scheme: dark) {
10471045
table.fancy td, table.properties td,
10481046
table.fancy th, table.properties th {
1049-
padding: 0.15em 0.45em;
10501047
background: #333;
10511048
}
10521049
table.dataTable.compact.fancy tbody th,
10531050
table.dataTable.compact.fancy tbody td {
1054-
padding: 6px 10px;
1055-
line-height: normal;
10561051
background: #333;
10571052
}
10581053
}
10591054

1060-
@media (prefers-color-scheme: light) {
1061-
table.fancy td, table.properties td,
1062-
table.fancy th, table.properties th {
1063-
padding: 0.15em 0.45em;
1064-
}
1065-
table.dataTable.compact.fancy tbody th,
1066-
table.dataTable.compact.fancy tbody td {
1067-
padding: 6px 10px;
1068-
line-height: normal;
1069-
}
1055+
table.fancy td, table.properties td,
1056+
table.fancy th, table.properties th {
1057+
padding: 0.15em 0.45em;
1058+
}
1059+
table.dataTable.compact.fancy tbody th,
1060+
table.dataTable.compact.fancy tbody td {
1061+
padding: 6px 10px;
1062+
line-height: normal;
10701063
}
10711064

10721065
ul.searchresults li {

0 commit comments

Comments
 (0)