Line 64:
Line 64:
background-color: initial;
background-color: initial;
border: none;
border: none;
−
}
−
−
table.wikitable, table.wikitable-nopad {
−
background: revert;
}
}
Line 1,304:
Line 1,300:
}}
}}
−
@media screen {
+
.fandom-table {
−
body .wikitable > * > tr > th {
+
background: none;
+
border: 1px solid {{{theme-border-color|#CECECE}}};
+
border-collapse: collapse;
+
border-radius: 3px;
+
border-spacing: 0;
+
color: {{{theme-page-text-color|#3A3A3A}}};
+
}
+
.fandom-table>caption {
+
border: solid {{{theme-border-color|#CECECE}}};
+
border-width: 1px 1px 0;
+
font-size: 16px;
+
font-weight: 500;
+
line-height: 1.75;
+
padding: 8px 12px;
+
text-align: left;
+
}
+
.fandom-table tr th {
background-color: {{{theme-page-background-color--secondary|#F2F2F2}}};
background-color: {{{theme-page-background-color--secondary|#F2F2F2}}};
−
color: inherit;
}
}
−
+
.fandom-table tr td, .fandom-table tr th {
−
.wikitable, .wikitable:not([style*="background-color"]) {
+
border: 1px solid {{{theme-border-color|#CECECE}}};
−
color: {{{theme-page-text-color|#3A3A3A}}};
+
padding: 12px;
+
vertical-align: middle;
}
}
−
.wikitable:not([style*="background-color"]) > * > tr > td {
+
.fandom-table .fixed-header {
−
background: revert;
+
box-shadow: 0 0 10px 0 #1E0C1B33;
+
outline: 1px solid {{{theme-border-color|#CECECE}}};
+
position: relative;
+
transform: translateY({{{fixed-table-header-offset|0}}});
+
transition: all 0.3s;
+
z-index: 1;
}
}
+
.fandom-table .fixed-header th {
+
position: relative
}
}
}}
}}
Line 1,396:
Line 1,415:
</includeonly></onlyinclude>{{Fandom}}
</includeonly></onlyinclude>{{Fandom}}
{{:I am not crazy!}}
{{:I am not crazy!}}
+
== Tables Test ==
+
{| class="fandom-table"
+
|+.fandom-table
+
!Always the same.
+
!Couldn't keep his [[hands]] out of the
+
|-
+
|
+
|cash drawer.
+
|-
+
|But not our [[Jimmy]]!
+
|Couldn't be [[precious]] Jimmy!
+
|}
[[Category:Aesthetic templates]][[Category:Pages which use over 10 kilobytes of CSS]]
[[Category:Aesthetic templates]][[Category:Pages which use over 10 kilobytes of CSS]]