MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
tr | |||
tr | @import "https://arx-libertatis.org/images/icons.css"; | ||
tr:nth-child(odd) { background: #FCFCFC; } | |||
tr:nth-child(even) { background: #F6F6F6; } | |||
table.center_0 > tbody > tr > td:nth-child(1), | table.center_0 > tbody > tr > td:nth-child(1), | ||
Line 12: | Line 15: | ||
table.center_7 > tbody > tr > td:nth-child(8), | table.center_7 > tbody > tr > td:nth-child(8), | ||
table.center_8 > tbody > tr > td:nth-child(9), | table.center_8 > tbody > tr > td:nth-child(9), | ||
table.center_9 > tbody > tr > td:nth-child(10) { | table.center_9 > tbody > tr > td:nth-child(10), .middle { | ||
text-align: center; | text-align: center; | ||
} | |||
table.right_0 > tbody > tr > td:nth-child(1), | |||
table.right_1 > tbody > tr > td:nth-child(2), | |||
table.right_2 > tbody > tr > td:nth-child(3), | |||
table.right_3 > tbody > tr > td:nth-child(4), | |||
table.right_4 > tbody > tr > td:nth-child(5), | |||
table.right_5 > tbody > tr > td:nth-child(6), | |||
table.right_6 > tbody > tr > td:nth-child(7), | |||
table.right_7 > tbody > tr > td:nth-child(8), | |||
table.right_8 > tbody > tr > td:nth-child(9), | |||
table.right_9 > tbody > tr > td:nth-child(10), .right { | |||
text-align: right; | |||
} | } | ||
Line 25: | Line 41: | ||
table.small_7 > tbody > tr > td:nth-child(8), | table.small_7 > tbody > tr > td:nth-child(8), | ||
table.small_8 > tbody > tr > td:nth-child(9), | table.small_8 > tbody > tr > td:nth-child(9), | ||
table.small_9 > tbody > tr > td:nth-child(10) { | table.small_9 > tbody > tr > td:nth-child(10), .small { | ||
font-size: 90%; | font-size: 90%; | ||
} | } | ||
Line 38: | Line 54: | ||
table.code_7 > tbody > tr > td:nth-child(8), | table.code_7 > tbody > tr > td:nth-child(8), | ||
table.code_8 > tbody > tr > td:nth-child(9), | table.code_8 > tbody > tr > td:nth-child(9), | ||
table.code_9 > tbody > tr > td:nth-child(10) { | table.code_9 > tbody > tr > td:nth-child(10), .code { | ||
font-family: -moz-fixed, monospace; | font-family: -moz-fixed, monospace; | ||
} | |||
ul.downloads { | |||
padding: 0px; | |||
margin: 0px; | |||
display: inline-block; | |||
line-height: normal; | |||
} | |||
.downloads > li { | |||
color: #888; | |||
border-radius: 10px; | |||
background-color: #dfd; | |||
padding-right: 8px; | |||
border: 1px solid #7a7; | |||
display: inline-block; | |||
margin: 5px; | |||
margin-left: 20px; | |||
vertical-align: middle; | |||
position: relative; | |||
padding-top: 1px; | |||
padding-bottom: 1px; | |||
padding-left: 32px; | |||
} | |||
.downloads > li > * { | |||
margin: 1px; | |||
margin-bottom: 2px; | |||
} | |||
.downloads .icon { | |||
margin: 0px; | |||
position: absolute; | |||
left: 5px; | |||
top: 0px; | |||
bottom: 0px; | |||
margin-top: auto; | |||
margin-bottom: auto; | |||
} | |||
.downloads a { | |||
font-weight: bold; | |||
margin-left: 2px; | |||
vertical-align: -10%; | |||
float: left; | |||
} | |||
.downloads a + a { | |||
margin-left: 8px; | |||
} | |||
.downloads .name { | |||
font-size: 7pt; | |||
/* vertical-align: 20%; */ | |||
/* padding-left: 40px; */ | |||
float: left; | |||
clear: left; | |||
} | |||
.downloads .size { | |||
font-size: 7pt; | |||
float:right; | |||
margin-top: 2px; | |||
clear: right; | |||
} | |||
.downloads .checksum { | |||
font-size: 7pt; | |||
clear: left; | |||
float: left; | |||
} | |||
.downloads .checksum > code { | |||
background: #eafdea; | |||
} | |||
.downloads .signature > a { | |||
font-size: 7pt; | |||
float: right; | |||
clear: right; | |||
color: #888; | |||
font-weight: normal; | |||
} | |||
.downloads .signature > a:after { | |||
display: none; | |||
} | |||
pre { | |||
overflow: auto; | |||
} | |||
.mw-collapsible span.mw-collapsible-toggle { | |||
float:left; | |||
margin-left:0; | |||
margin-right:1em; | |||
} | } |
Latest revision as of 21:21, 9 March 2024
/* CSS placed here will be applied to all skins */ @import "https://arx-libertatis.org/images/icons.css"; tr:nth-child(odd) { background: #FCFCFC; } tr:nth-child(even) { background: #F6F6F6; } table.center_0 > tbody > tr > td:nth-child(1), table.center_1 > tbody > tr > td:nth-child(2), table.center_2 > tbody > tr > td:nth-child(3), table.center_3 > tbody > tr > td:nth-child(4), table.center_4 > tbody > tr > td:nth-child(5), table.center_5 > tbody > tr > td:nth-child(6), table.center_6 > tbody > tr > td:nth-child(7), table.center_7 > tbody > tr > td:nth-child(8), table.center_8 > tbody > tr > td:nth-child(9), table.center_9 > tbody > tr > td:nth-child(10), .middle { text-align: center; } table.right_0 > tbody > tr > td:nth-child(1), table.right_1 > tbody > tr > td:nth-child(2), table.right_2 > tbody > tr > td:nth-child(3), table.right_3 > tbody > tr > td:nth-child(4), table.right_4 > tbody > tr > td:nth-child(5), table.right_5 > tbody > tr > td:nth-child(6), table.right_6 > tbody > tr > td:nth-child(7), table.right_7 > tbody > tr > td:nth-child(8), table.right_8 > tbody > tr > td:nth-child(9), table.right_9 > tbody > tr > td:nth-child(10), .right { text-align: right; } table.small_0 > tbody > tr > td:nth-child(1), table.small_1 > tbody > tr > td:nth-child(2), table.small_2 > tbody > tr > td:nth-child(3), table.small_3 > tbody > tr > td:nth-child(4), table.small_4 > tbody > tr > td:nth-child(5), table.small_5 > tbody > tr > td:nth-child(6), table.small_6 > tbody > tr > td:nth-child(7), table.small_7 > tbody > tr > td:nth-child(8), table.small_8 > tbody > tr > td:nth-child(9), table.small_9 > tbody > tr > td:nth-child(10), .small { font-size: 90%; } table.code_0 > tbody > tr > td:nth-child(1), table.code_1 > tbody > tr > td:nth-child(2), table.code_2 > tbody > tr > td:nth-child(3), table.code_3 > tbody > tr > td:nth-child(4), table.code_4 > tbody > tr > td:nth-child(5), table.code_5 > tbody > tr > td:nth-child(6), table.code_6 > tbody > tr > td:nth-child(7), table.code_7 > tbody > tr > td:nth-child(8), table.code_8 > tbody > tr > td:nth-child(9), table.code_9 > tbody > tr > td:nth-child(10), .code { font-family: -moz-fixed, monospace; } ul.downloads { padding: 0px; margin: 0px; display: inline-block; line-height: normal; } .downloads > li { color: #888; border-radius: 10px; background-color: #dfd; padding-right: 8px; border: 1px solid #7a7; display: inline-block; margin: 5px; margin-left: 20px; vertical-align: middle; position: relative; padding-top: 1px; padding-bottom: 1px; padding-left: 32px; } .downloads > li > * { margin: 1px; margin-bottom: 2px; } .downloads .icon { margin: 0px; position: absolute; left: 5px; top: 0px; bottom: 0px; margin-top: auto; margin-bottom: auto; } .downloads a { font-weight: bold; margin-left: 2px; vertical-align: -10%; float: left; } .downloads a + a { margin-left: 8px; } .downloads .name { font-size: 7pt; /* vertical-align: 20%; */ /* padding-left: 40px; */ float: left; clear: left; } .downloads .size { font-size: 7pt; float:right; margin-top: 2px; clear: right; } .downloads .checksum { font-size: 7pt; clear: left; float: left; } .downloads .checksum > code { background: #eafdea; } .downloads .signature > a { font-size: 7pt; float: right; clear: right; color: #888; font-weight: normal; } .downloads .signature > a:after { display: none; } pre { overflow: auto; } .mw-collapsible span.mw-collapsible-toggle { float:left; margin-left:0; margin-right:1em; }