MediaWiki:Common.css
From Future Of Mankind
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.
/* Changes the default font used for MediaWiki to Arial (does not include headings or monospaced text): */
body {
font-family: Arial
}
/* Changes the default font used for MediaWiki headings to Noto Serif: */
#content h1 {font-family: "Noto Serif", serif}
#mw-site-navigation .sidebar-chunk h3, #mw-related-navigation .sidebar-chunk h3 {font-size:1.3em}
.toctitle {text-align:center; font-size:1.2em; line-height:2em}
.mw-body .toctitle h2 {font-family:Arial; font-weight:bold}
.toctogglespan {display:none}
.toc ul {line-height:1.4em}
.toc {border:1px solid #a2a9b1; padding:0 12px}
/* mouse over link */
a:hover {text-decoration:underline}
/* selected link */
a:active {text-decoration:underline; color:orange}
ul > li:nth-child(2) > div:last-child, li:nth-child(4) > div:last-child {display:none}
ul > li:nth-child(4) > div:nth-child(2) {display:none}
ul > li:nth-child(3) > div:last-child {display:none}
.shadow:hover {box-shadow:0 0 11px rgba(37,37,37,0.3)}
.scale-up:hover {transform:scale(1.02)}
.responsive-image img {width:100%; height:auto}
.thumbinner img {border:1px solid #ddd}
.colourize img {transition:transform 0.5s, filter 1.5s ease-in-out; filter:grayscale(100%); -webkit-filter:grayscale(100%)}
.colourize:hover img {filter:none; -webkit-filter:grayscale(0)}
.FOMclock {
margin: 0 auto;
}
.FOMclock ul {
margin: 0 auto;
padding: 0;
text-align: inline
}
.FOMclock ul li {
display: inline;
}
.FOMdate {
display: inline;
}
.DateRange,
.DateDiv {
display: none;
}
h4{
display: inline-block;
}
table {border-spacing:1.5em 0; margin:0 -1.5em}
td, th, div {vertical-align:top; line-height:1.36em}
.blockquote div {margin:0 3em}
/*
#btnHideEnglish, #btnHideGerman {
cursor: pointer;
}
*/
/* The following class is used on the Test page. */
tr.contactperson td {
background-color: cyan;
line-height: 4em;
font-weight: bold;
}
.tooltip {
display:inline-block;
position:relative;
border-bottom:1px dotted #546;
text-align:left;
}
.tooltip h3 {margin:12px 0}
.tooltip .top {
min-width:200px;
max-width:400px;
top:-20px;
left:50%;
transform:translate(-30%,-100%);
padding:10px 20px;
color:#ffffff;
background-color:#009cdc;
font-weight:normal;
font-size:14px;
border-radius:8px;
position:absolute;
z-index:99999999;
box-sizing:border-box;
box-shadow:0 1px 8px rgba(0,0,0,0.5);
display:none;
}
.tooltip:hover .top {
display:block;
}
.tooltip .top i {
position:absolute;
top:100%;
left:30%;
margin-left:-15px;
width:30px;
height:15px;
overflow:hidden;
}
.tooltip .top i::after {
content:'';
position:absolute;
width:15px;
height:15px;
left:50%;
transform:translate(-50%,-50%) rotate(45deg);
background-color:#009cdc;
box-shadow:0 1px 8px rgba(0,0,0,0.5);
}