MediaWiki:Common.css: Difference between revisions
Content added Content deleted
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 506: | Line 506: | ||
.sticky-header.wikitable { |
.sticky-header.wikitable { |
||
border-collapse: separate; |
border-collapse: separate; |
||
border-color: # |
border-color: #4DB6B0; /* Set so same on mobile version (#54595d). */ |
||
border-spacing: 0; |
border-spacing: 0; |
||
border-width: 0 1px 1px 0; |
border-width: 0 1px 1px 0; |
||
Line 513: | Line 513: | ||
.sticky-header.wikitable th, |
.sticky-header.wikitable th, |
||
.sticky-header.static-row-numbers.wikitable tbody tr:not(.static-row-header)::before { |
.sticky-header.static-row-numbers.wikitable tbody tr:not(.static-row-header)::before { |
||
border-color: # |
border-color: #4DB6B0; /* Set so same on mobile version (#eaecf0). */ |
||
border-width: 1px 0 0 1px !important; |
border-width: 1px 0 0 1px !important; |
||
} |
} |
||
.sticky-header.static-row-numbers.wikitable thead tr::before, |
.sticky-header.static-row-numbers.wikitable thead tr::before, |
||
.sticky-header.static-row-numbers.wikitable .static-row-header::before { |
.sticky-header.static-row-numbers.wikitable .static-row-header::before { |
||
border-left: 1px solid # |
border-left: 1px solid #4DB6B0; |
||
} |
} |
||
.sticky-header.static-row-numbers.wikitable thead tr:first-child::before, |
.sticky-header.static-row-numbers.wikitable thead tr:first-child::before, |
||
.sticky-header.static-row-numbers.wikitable .sortbottom::before, /* Sortbotton #1: all. When supported, consolidate #1-2 to tr:nth-child(1 of .sortbottom)::before */ |
.sticky-header.static-row-numbers.wikitable .sortbottom::before, /* Sortbotton #1: all. When supported, consolidate #1-2 to tr:nth-child(1 of .sortbottom)::before */ |
||
.sticky-header.static-row-numbers.wikitable:not(.sortable) tr:first-child::before { |
.sticky-header.static-row-numbers.wikitable:not(.sortable) tr:first-child::before { |
||
border-top: 1px solid # |
border-top: 1px solid #4DB6B0; |
||
} |
} |
||
.sticky-header.static-row-numbers.wikitable .sortbottom ~ .sortbottom::before { /* Sortbottom #2: all minus 1st. */ |
.sticky-header.static-row-numbers.wikitable .sortbottom ~ .sortbottom::before { /* Sortbottom #2: all minus 1st. */ |
||
Line 639: | Line 639: | ||
.static-row-numbers.wikitable tr::before { |
.static-row-numbers.wikitable tr::before { |
||
background-color: # |
background-color: #171D22; |
||
} |
} |
||
Line 680: | Line 680: | ||
.static-row-numbers.wikitable.mw-sticky-header tbody tr:not(.static-row-header)::before, |
.static-row-numbers.wikitable.mw-sticky-header tbody tr:not(.static-row-header)::before, |
||
.static-row-numbers.wikitable:not(.sortable):not(.mw-sticky-header) tbody tr:not(:first-child):not(.static-row-header)::before { |
.static-row-numbers.wikitable:not(.sortable):not(.mw-sticky-header) tbody tr:not(:first-child):not(.static-row-header)::before { |
||
border: 1px solid # |
border: 1px solid #4DB6B0; |
||
} |
} |
||
body.skin-monobook .static-row-numbers.wikitable.sortable tbody tr:not(.static-row-header)::before, |
body.skin-monobook .static-row-numbers.wikitable.sortable tbody tr:not(.static-row-header)::before, |
||
body.skin-monobook .static-row-numbers.wikitable.mw-sticky-header tbody tr:not(.static-row-header)::before, |
body.skin-monobook .static-row-numbers.wikitable.mw-sticky-header tbody tr:not(.static-row-header)::before, |
||
body.skin-monobook .static-row-numbers.wikitable:not(.sortable):not(.mw-sticky-header) tbody tr:not(:first-child):not(.static-row-header)::before { |
body.skin-monobook .static-row-numbers.wikitable:not(.sortable):not(.mw-sticky-header) tbody tr:not(:first-child):not(.static-row-header)::before { |
||
border: 1px solid # |
border: 1px solid #4DB6B0; |
||
} |
} |
||
body.skin-timeless .static-row-numbers.wikitable.sortable tbody tr:not(.static-row-header)::before, |
body.skin-timeless .static-row-numbers.wikitable.sortable tbody tr:not(.static-row-header)::before, |
||
body.skin-timeless .static-row-numbers.wikitable.mw-sticky-header tbody tr:not(.static-row-header)::before, |
body.skin-timeless .static-row-numbers.wikitable.mw-sticky-header tbody tr:not(.static-row-header)::before, |
||
body.skin-timeless .static-row-numbers.wikitable:not(.sortable):not(.mw-sticky-header) tbody tr:not(:first-child):not(.static-row-header)::before { |
body.skin-timeless .static-row-numbers.wikitable:not(.sortable):not(.mw-sticky-header) tbody tr:not(:first-child):not(.static-row-header)::before { |
||
border: 1px solid # |
border: 1px solid #4DB6B0; |
||
} |
} |
||
body.skin-minerva .static-row-numbers.wikitable.sortable tbody tr:not(.static-row-header)::before, |
body.skin-minerva .static-row-numbers.wikitable.sortable tbody tr:not(.static-row-header)::before, |
||
body.skin-minerva .static-row-numbers.wikitable.mw-sticky-header tbody tr:not(.static-row-header)::before, |
body.skin-minerva .static-row-numbers.wikitable.mw-sticky-header tbody tr:not(.static-row-header)::before, |
||
body.skin-minerva .static-row-numbers.wikitable:not(.sortable):not(.mw-sticky-header) tbody tr:not(:first-child):not(.static-row-header)::before { |
body.skin-minerva .static-row-numbers.wikitable:not(.sortable):not(.mw-sticky-header) tbody tr:not(:first-child):not(.static-row-header)::before { |
||
border: 1px solid |
border: 1px solid #4DB6B0; |
||
} |
} |
||
/* Plain with border. */ |
/* Plain with border. */ |
||
Line 701: | Line 701: | ||
table[border].static-row-numbers.mw-sticky-header:not(.wikitable) tbody tr:not(.static-row-header)::before, |
table[border].static-row-numbers.mw-sticky-header:not(.wikitable) tbody tr:not(.static-row-header)::before, |
||
table[border].static-row-numbers:not(.sortable):not(.wikitable) tbody tr:not(:first-child):not(.static-row-header)::before { |
table[border].static-row-numbers:not(.sortable):not(.wikitable) tbody tr:not(:first-child):not(.static-row-header)::before { |
||
border: 1px inset # |
border: 1px inset #4DB6B0; |
||
} |
} |
||
body.skin-monobook table[border].static-row-numbers.sortable:not(.wikitable) tbody tr:not(.static-row-header)::before, |
body.skin-monobook table[border].static-row-numbers.sortable:not(.wikitable) tbody tr:not(.static-row-header)::before, |
||
Line 709: | Line 709: | ||
body.skin-timeless table[border].static-row-numbers.mw-sticky-header:not(.wikitable):not(.mw-datatable) tbody tr:not(.static-row-header)::before, |
body.skin-timeless table[border].static-row-numbers.mw-sticky-header:not(.wikitable):not(.mw-datatable) tbody tr:not(.static-row-header)::before, |
||
body.skin-timeless table[border].static-row-numbers:not(.sortable):not(.wikitable):not(.mw-datatable) tbody tr:not(:first-child):not(.static-row-header)::before { |
body.skin-timeless table[border].static-row-numbers:not(.sortable):not(.wikitable):not(.mw-datatable) tbody tr:not(:first-child):not(.static-row-header)::before { |
||
border: 1px inset # |
border: 1px inset #171D22; |
||
} |
} |
||
body.skin-minerva table[border].static-row-numbers.sortable:not(.wikitable) tbody tr:not(.static-row-header)::before, |
body.skin-minerva table[border].static-row-numbers.sortable:not(.wikitable) tbody tr:not(.static-row-header)::before, |
||
Line 720: | Line 720: | ||
body.skin-timeless .static-row-numbers.mw-datatable.mw-sticky-header:not(.wikitable) tbody tr:not(.static-row-header)::before, |
body.skin-timeless .static-row-numbers.mw-datatable.mw-sticky-header:not(.wikitable) tbody tr:not(.static-row-header)::before, |
||
body.skin-timeless .static-row-numbers.mw-datatable:not(.sortable):not(.mw-sticky-header):not(.wikitable) tbody tr:not(:first-child):not(.static-row-header)::before { |
body.skin-timeless .static-row-numbers.mw-datatable:not(.sortable):not(.mw-sticky-header):not(.wikitable) tbody tr:not(:first-child):not(.static-row-header)::before { |
||
border: 1px solid # |
border: 1px solid #4DB6B0; |
||
} |
} |
||
/* Minerva mobile */ |
/* Minerva mobile */ |