MediaWiki:Common.css

From Future Of Mankind
Revision as of 18:22, 14 October 2022 by Earth Human Being (talk | contribs)

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&display=swap');
.Unifraktur-Maguntia-font {font-family:'UnifrakturMaguntia', cursive; font-size:1em}

/* Changes the default font used for MediaWiki to Arial (does not include headings or monospaced text): */
body {font-family:Arial; font-size:1em}

/* 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}

/* One-sided navigation menu */
@media (min-width:1340px) {
#mw-content-block {display:block}
#mw-content, #content-bottom-stuff {margin-left:14em}
#mw-content-wrapper {float:right; margin-left:-14em; width:100%}
#mw-related-navigation {width:14em; padding:0 1em 0 0}
div.color-middle {margin-right:0}
.mw-wiki-logo {display:inline-block}
}

/* 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 8px rgba(37,37,37,0.5)}
.scale-up:hover {transform:scale(1.02)}
.responsive-image img {width:calc(100% - 1.5px); height:auto}
.thumbinner img {border:1px solid #c8ccd1}
.thumbinner {justify-content:center; padding:4px; border:1px solid #c8ccd1; transition:0.3s}
.thumbcaption:last-child {padding:4px 4px 0; text-align:justify; font-style:italic; font-size:13px}


.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)}

.green-bullet::after {content:" ■"; color:green; position:relative; bottom:1px; font-size:20px}
.orange-bullet::after {content:" ■"; color:orange; position:relative; bottom:1px; font-size:20px}
.maroon-bullet::after {content:" ■"; color:maroon; position:relative; bottom:1px; font-size:20px}

.no-top-margin ol, ul {margin-top:0} /* class="no-top-margin" */
.lower-alpha-list ol {list-style-type:lower-alpha} /* class="lower-alpha-list" */


.experimental1 tr td {counter-reset:li}
.experimental1 tr td li::before {counter-increment:li; content:counter(li) ". "}
.experimental1 ol {list-style:none}



.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}
tr td, td div {vertical-align:top; line-height:1.4em}
.v-align-middle td div {vertical-align:middle} /* class="v-align-middle" */
.wikitable td {vertical-align:middle}
.column1-bold tr td:first-child {font-weight:bold} /* class="column1-bold" */
.column3-bold tr td:nth-child(3) {font-weight:bold} /* class="column3-bold" */
.column4-bold tr td:nth-child(4) {font-weight:bold} /* class="column4-bold" */
.column3-center tr td:nth-child(3) {text-align:center} /* class="column3-center" */
.column5-center tr td:nth-child(5) {text-align:center} /* class="column5-center" */
.references {text-align:justify; font-size:14px}
.thumbinner, .thumbcaption {line-height:1.4em}


.heading1 td {text-align:center; font-weight:bold; font-size:20px} /* class="heading1" */
.heading2 td {text-align:center; font-weight:bold; font-size:18px} /* class="heading2" */
.heading3-bold td {text-align:center; font-weight:bold; font-size:15px} /* class="heading3-bold" */
.heading3-italic td {text-align:center; font-style:italic; font-size:15px} /* class="heading3-italic" */
.heading3-regular td {text-align:center; font-size:15px} /* class="heading3-regular" */
.heading4-bold td {text-align:center; font-weight:bold; font-size:13px} /* class="heading4-bold" */
.heading4-italic td {text-align:center; font-style:italic; font-size:13px} /* class="heading4-italic" */
.heading4-regular td {text-align:center; font-size:13px} /* class="heading4-regular" */

div.heading1 {text-align:center; font-weight:bold; font-size:20px} /* class="heading1" */

.paragraph1 td {padding-top:16px} /* class="paragraph1" */
.paragraph1-bold td {padding-top:16px; font-weight:bold} /* class="paragraph1-bold" */
.paragraph1-italic td {padding-top:16px; font-style:italic} /* class="paragraph1-italic" */
.paragraph1-bold-italic td {padding-top:16px; font-weight:bold; font-style:italic} /* class="paragraph1-bold-italic" */
.paragraph2 td {padding-top:32px} /* class="paragraph2" */
.paragraph2-bold td {padding-top:32px; font-weight:bold} /* class="paragraph2-bold" */
.paragraph2-italic td {padding-top:32px; font-style:italic} /* class="paragraph2-italic" */
.paragraph3 td {padding-bottom:32px} /* class="paragraph3" */
.no-line-break td {padding-top:0} /* class="no-line-break" */

.source-url td {text-align:left; font-style:italic} /* class="source-url" */

.heading1-table table td:last-child {width:100%; text-align:center; font-weight:bold; font-size:22px} /* class="heading1-table" */
.heading2-table table td:last-child {width:100%; text-align:center; font-weight:bold; font-size:20px} /* class="heading2-table" */
.heading3-table table td:last-child {width:100%; text-align:center; font-weight:bold; font-size:18px} /* class="heading3-table" */
.heading4-table table td:last-child {width:100%; text-align:center; font-size:15px} /* class="heading4-table" */
.heading5-table table td:last-child {width:100%; text-align:center; font-size:13px} /* class="heading5-table" */
.paragraph1-table table td {padding-top:16px} /* class="paragraph1-table" */
.paragraph1-bold-table table td {padding-top:16px; font-weight:bold} /* class="paragraph1-bold-table" */
.paragraph2-table table td {padding-top:32px} /* class="paragraph2-table" */
.align-right-column1 table td:first-child {text-align:right} /* class="align-right-column1" */
.reduce-column-gap table {border-spacing:8px 0} /* class="reduce-column-gap" */
.no-line-break-table table {padding-top:0} /* class="no-line-break-table" */


.blockquote td {padding-left:48px; padding-right:48px; width:50%} /* class="blockquote" */
.align-left-column1 td:first-child {text-align:left} /* class="align-left-column1" */


#blockquote td {padding:0 48px} /* id="blockquote" */
#col-padding-left td {padding-left:48px} /* id="col-padding-left" */
.underline-text {text-decoration:underline} /* class="underline-text" */
.underline-italic-text {text-decoration:underline; text-align:center; font-style:italic; font-size:18px} /* class="underline-italic-text" */

.grey-background1 td {background-color:#F5F5F5; padding-left:20px; padding-right:20px; padding-top:16px; border-top:1px solid gray; border-left:1px solid gray; border-right:1px solid gray; font-family:cambria} /* class="grey-background1" */
.grey-background2 td {background-color:#F5F5F5; padding-left:20px; padding-right:20px; border-left:1px solid gray; border-right:1px solid gray; font-family:cambria} /* class="grey-background2" */
.grey-background3 td {background-color:#F5F5F5; padding-left:20px; padding-right:20px; padding-bottom:16px; border-bottom:1px solid gray; border-left:1px solid gray; border-right:1px solid gray; font-family:cambria} /* class="grey-background3" */
.justify-content-center div {display:flex; flex-wrap:wrap; justify-content:center; text-align:justify} /* class="justify-content-center" */
.npc-small-italic-text1 div {display:flex; flex-wrap:wrap; justify-content:center; text-align:justify; margin-top:3px; font-style:italic; font-size:15px} /* class="npc-small-italic-text1" */
.small-italic-text1 div {display:flex; flex-wrap:wrap; justify-content:center; text-align:justify; margin-top:3px; font-style:italic; font-size:15px} /* class="small-italic-text1" */
.small-regular-text1 div {display:flex; flex-wrap:wrap; justify-content:center; text-align:justify; margin-top:3px; font-size:15px} /* class="small-regular-text1" */
.small-italic-text2 div {display:flex; flex-wrap:wrap; justify-content:center; text-align:justify; margin-top:3px; font-style:italic; font-size:13px} /* class="small-italic-text2" */
.small-regular-text2 div {display:flex; flex-wrap:wrap; justify-content:center; text-align:justify; margin-top:3px; font-size:13px} /* class="small-regular-text2" */



#col2-move-left table td:nth-child(2) {display:block; position:relative; left:-1em; margin-right:-1em} /* id="col2-move-left" */

#square-bullet-points li {list-style-type:square; padding-left:1em; line-height:1em} /* id="square-bullet-points" */

/* Table for Contact Report 690 */
.CR690-tab-col2-move-left table td:nth-child(2) {display:block; margin-left:-1em; margin-right:-1em; text-align:right} /* class="CR690-tab-col2-move-left" */
.CR690-tab-col5-move-left table td:nth-child(5) {padding-left:3em} /* class="CR690-tab-col5-move-left" */


/* Class selectors – Table */

table.col-padding-left td {padding-left:48px; width:50%} /* class="col-padding-left" */
table.col-padding-right td {padding-right:48px; width:50%} /* class="col-padding-right" */
table.col2-padding-right table:last-child {padding-right:48px}
table.col3-padding-right table:last-child {padding-right:64px}
table.table-columns table:last-child {border-spacing:0.5em 0; margin:0 -0.5em} /* class="table-columns" */
table.col1 td:first-child {min-width:2em}
table.col1-align-right td table tr td:first-child {text-align:right}
table.col1a td table tr td:first-child {min-width:1.5em}
table.col1b td table tr td:first-child {min-width:2em}
table.col2a td:nth-child(2):not(td:last-child) {min-width:1em}
table.col2b td:nth-child(2):not(td:last-child) {min-width:0.5em}
table.col2-align-right td:nth-child(2):not(td:last-child) {min-width:2em; text-align:right}
table.col3-align-right td:nth-child(3):not(td:last-child) {min-width:2em; text-align:right}
.not-bold td {font-weight:normal !important} /* class="not-bold" */
.align-text-left td {text-align:left !important} /* class="align-text-left" */


/* ID selectors – Table */
#col1-align-right td table tr td:first-child {text-align:right} /* id="col1-align-right" */
#col2a td:nth-child(2):not(td:last-child) {min-width:1em} /* id="col2a" */
#col2b td:nth-child(2):not(td:last-child) {min-width:0.5em} /* id="col2b" */


#btnHideEnglish, #btnHideSwiss-German {cursor:pointer; margin-bottom:12px; font-size:120%}
#center-align-buttons td {text-align:center; width:10%} /* id="center-align-buttons" */
#language-heading td {width:50%; text-align:center; font-weight:bold; font-size:20px} /* id="language-heading" */


/* Wikitable styling for FIGU – Sign of the Times 180 */

.sott180-column1 tr td:first-child {max-width:200px} /* class="sott180-column1" */
.sott180-column2 tr td:nth-child(2) {max-width:350px} /* class="sott180-column2" */
.sott180-column3 tr td:nth-child(3) {text-align:center; width:45px} /* class="sott180-column3" */
.sott180-column4 tr td:nth-child(4) {width:120px} /* class="sott180-column4" */
.sott180-column5 tr td:nth-child(5) {text-align:center; width:150px} /* class="sott180-column5" */

/* Wikitable styling for FIGU – Sign of the Times 181 */

.sott181-column1 tr td:first-child {width:100px} /* class="sott181-column1" */
.sott181-column2 tr td:nth-child(2) {width:100px} /* class="sott181-column2" */
.sott181-column2 tr td:nth-child(3) {width:160px} /* class="sott181-column3" */
.sott181-column4 tr td:nth-child(4) {width:150px} /* class="sott181-column4" */
.sott181-column5 tr td:nth-child(5) {width:150px} /* class="sott181-column5" */



/* The following class is used on the Test page. */
tr.contactperson td {
   background-color: cyan;
   line-height: 4em;
   font-weight: bold;
}




.ul-black-circle ul {list-style:none}
.ul-black-circle ul li::before {content:"\25cf"; display:inline-block; width:1em; margin-left:-1em} /* class="ul-black-circle" */

.ul-blue-circle ul {list-style:none}
.ul-blue-circle ul li::before {content:"\25cf"; color:#36b; display:inline-block; width:1em; margin-left:-1em} /* class="ul-blue-circle" */



.divButton {padding:2px 10px; border:solid #707070 1px; font-size:14px; background:grey; display:inline-flex; max-width:60%; border-radius:2px; background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #F2F2F2), color-stop(1, #CFCFCF)); background-image:-o-linear-gradient(bottom, #F2F2F2 0%, #CFCFCF 100%); background-image:-moz-linear-gradient(bottom, #F2F2F2 0%, #CFCFCF 100%); background-image:-webkit-linear-gradient(bottom, #F2F2F2 0%, #CFCFCF 100%); background-image:-ms-linear-gradient(bottom, #F2F2F2 0%, #CFCFCF 100%); background-image: linear-gradient(to bottom, #F2F2F2 0%, #CFCFCF 100%); cursor:default; text-align:center}

.divButton:hover {background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #EAF6FD), color-stop(1, #A7D8F5)); background-image:-o-linear-gradient(bottom, #EAF6FD 0%, #A7D8F5 100%); background-image: -moz-linear-gradient(bottom, #EAF6FD 0%, #A7D8F5 100%); background-image:-webkit-linear-gradient(bottom, #EAF6FD 0%, #A7D8F5 100%); background-image:-ms-linear-gradient(bottom, #EAF6FD 0%, #A7D8F5 100%); background-image: linear-gradient(to bottom, #EAF6FD 0%, #A7D8F5 100%); border:#3c7fb1 solid 1px}

.divButton:active {border:solid #2c628b 1px; padding:2px 9px 2px 11px; background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #E5F4FC), color-stop(0.5, #C4E5F6), color-stop(0.51, #98D0EF), color-stop(1, #68B3DB)); background-image:-o-linear-gradient(bottom, #E5F4FC 0%, #C4E5F6 100%, #98D0EF 100%, #68B3DB 100%); background-image: -moz-linear-gradient(bottom, #E5F4FC 0%, #C4E5F6 100%, #98D0EF 100%, #68B3DB 100%); background-image:-webkit-linear-gradient(bottom, #E5F4FC 0%, #C4E5F6 100%, #98D0EF 100%, #68B3DB 100%); background-image:-ms-linear-gradient(bottom, #E5F4FC 0%, #C4E5F6 100%, #98D0EF 100%, #68B3DB 100%); background-image: linear-gradient(to bottom, #E5F4FC 0%, #C4E5F6 100%, #98D0EF 100%, #68B3DB 100%)}







.tooltip {position:relative; display:inline-block; border-bottom:1px dotted black}

.tooltip .tooltip-text {visibility:hidden; background-color:#d0dcf1; color:black; text-align:justify; font-size:14px; border-radius:4px; padding:5px 8px; transform:translateX(-48%); position:absolute; z-index:1; bottom:140%; left:50%; width:max-content; max-width:350px; opacity:0; transition:opacity 1s; transition:0.5s ease-in-out}

.tooltip .tooltip-text::after {content:""; position:absolute; top:100%; left:48%; margin-left:-5px; border-width:10px; border-style:solid; border-color:#d0dcf1 transparent transparent transparent}

.tooltip:hover .tooltip-text {visibility:visible; opacity:1}