MediaWiki:Common.css: Difference between revisions

From Future Of Mankind
No edit summary
No edit summary
Line 185: Line 185:


.table-column1a table td:first-child {min-width:1.2em; max-width:1.2em; text-align:right} /* class="table-column1a" */
.table-column1a table td:first-child {min-width:1.2em; max-width:1.2em; text-align:right} /* class="table-column1a" */
.table-column1b table td:first-child {min-width:1.5em; max-width:1.5em; text-align:right} /* class="table-column1b" */
.table-column1b table td:first-child {min-width:1.4em; max-width:1.4em; text-align:right} /* class="table-column1b" */
.table-column1c table td:first-child {min-width:2em; max-width:2em; text-align:right} /* class="table-column1c" */
.table-column1c table td:first-child {min-width:2em; max-width:2em; text-align:right} /* class="table-column1c" */


.table-column2a table td:nth-child(2) {min-width:1.2em; max-width:1.2em; text-align:right} /* class="table-column2a" */
.table-column2a table td:nth-child(2) {min-width:1.2em; max-width:1.2em; text-align:right} /* class="table-column2a" */
.table-column2b table td:nth-child(2) {min-width:1.5em; max-width:1.5em; text-align:right} /* class="table-column2b" */
.table-column2b table td:nth-child(2) {min-width:1.4em; max-width:1.4em; text-align:right} /* class="table-column2b" */
.table-column2c table td:nth-child(2) {min-width:2em; max-width:2em; text-align:right} /* class="table-column2c" */
.table-column2c table td:nth-child(2) {min-width:2em; max-width:2em; text-align:right} /* class="table-column2c" */


.table-column3a table td:nth-child(3):not(td:last-child) {min-width:1.2em; max-width:1.2em; text-align:right} /* class="table-column3a" */
.table-column3a table td:nth-child(3):not(td:last-child) {min-width:1.2em; max-width:1.2em; text-align:right} /* class="table-column3a" */
.table-column3b table td:nth-child(3):not(td:last-child) {min-width:1.5em; max-width:1.5em; text-align:right} /* class="table-column3b" */
.table-column3b table td:nth-child(3):not(td:last-child) {min-width:1.4em; max-width:1.4em; text-align:right} /* class="table-column3b" */
.table-column3c table td:nth-child(3):not(td:last-child) {min-width:2em; max-width:2em; text-align:right} /* class="table-column3c" */
.table-column3c table td:nth-child(3):not(td:last-child) {min-width:2em; max-width:2em; text-align:right} /* class="table-column3c" */



Revision as of 10:34, 5 November 2022

@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}





.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" */


.left-padding-regular td {padding-left:48px; font-style:normal} /* class="left-padding-regular" */
.left-padding-italic td {padding-left:48px; font-style:italic} /* class="left-padding-italic" */
.blockquote td {padding-left:48px; padding-right:48px; width:50%} /* class="blockquote" */
.blockquote-regular td {padding-left:48px; padding-right:48px; font-style:normal} /* class="blockquote-regular" */
.blockquote-italic td {padding-left:48px; padding-right:48px; font-style:italic} /* class="blockquote-italic" */
.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 */

.col-padding-left td {padding-left:48px; width:50%} /* class="col-padding-left" */
.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" */


.table-layout table {border-spacing:0.4em 0; margin:0 -0.4em} /* class="table-layout" */

.table-column1a table td:first-child {min-width:1.2em; max-width:1.2em; text-align:right} /* class="table-column1a" */
.table-column1b table td:first-child {min-width:1.4em; max-width:1.4em; text-align:right} /* class="table-column1b" */
.table-column1c table td:first-child {min-width:2em; max-width:2em; text-align:right} /* class="table-column1c" */

.table-column2a table td:nth-child(2) {min-width:1.2em; max-width:1.2em; text-align:right} /* class="table-column2a" */
.table-column2b table td:nth-child(2) {min-width:1.4em; max-width:1.4em; text-align:right} /* class="table-column2b" */
.table-column2c table td:nth-child(2) {min-width:2em; max-width:2em; text-align:right} /* class="table-column2c" */

.table-column3a table td:nth-child(3):not(td:last-child) {min-width:1.2em; max-width:1.2em; text-align:right} /* class="table-column3a" */
.table-column3b table td:nth-child(3):not(td:last-child) {min-width:1.4em; max-width:1.4em; text-align:right} /* class="table-column3b" */
.table-column3c table td:nth-child(3):not(td:last-child) {min-width:2em; max-width:2em; text-align:right} /* class="table-column3c" */


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




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

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

.ul-black-square ul {list-style:none}
.ul-black-square ul li::before {content:"\25A0"; position:relative; bottom:1px; display:inline-block; width:1em; margin-left:-1em} /* class="ul-black-square" */

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

.li-bold-marker li::marker {font-weight:bold} /* class="li-bold-marker" */
.li-bold li {font-weight:bold} /* class="li-bold" */
.li-italic li {font-style:italic} /* class="li-italic" */
.li-no-style li {list-style:none} /* class="li-no-style" */
.ol-center ol {display:inline-block; text-align:left} /* class="ol-center" */
.ul-center ul {display:inline-block; text-align:left} /* class="ul-center" */

.div-center div {display:inline-block; text-align:left} /* class="div-center" */

.ol-marker1 ol {margin-left:18px} /* class="ol-marker1" */
.ol-marker2 ol {margin-left:36px} /* class="ol-marker2" */
.ol-bold ol {font-weight:bold} /* class="ol-bold" */
.ol-right-parenthesis li {padding-left:10px}
.ol-right-parenthesis ol > li::marker {content:counter(list-item) ")"} /* class="ol-right-parenthesis" */





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