MediaWiki:Common.css

From Arx Libertatis Wiki
Revision as of 21:21, 9 March 2024 by Ds (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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;
}