Difference between revisions of "MediaWiki:Common.css"

From Billy Meier
 
(252 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
#content h1 {font-family: "Noto Serif", serif}
 
#content h1 {font-family: "Noto Serif", serif}
  
ul#filetoc, .toc, .mw-warning {
+
#mw-site-navigation .sidebar-chunk h3, #mw-related-navigation .sidebar-chunk h3 {font-size:1.3em}
display: table;
+
.toctitle {text-align:center; font-size:1.2em; line-height:2em}
background: #f8f9fa;
+
.mw-body .toctitle h2 {font-family:Arial; font-weight:bold}
border: solid #eaecf0;
+
.toctogglespan {font-size:70%}
/* border-width: 1px 1px 0.2em; */
+
.toc ul {line-height:1.4em}
/* box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02); */
+
.toc {border:1px solid #a2a9b1; padding:0 12px}
/* padding: 1em; */
 
/* margin-top: 1em; */
 
margin-bottom: 1em;
 
/* min-width: 15em; */
 
}
 
 
 
 
 
  
 
/* mouse over link */
 
/* mouse over link */
Line 27: Line 20:
 
a:active {text-decoration:underline; color:orange}
 
a:active {text-decoration:underline; color:orange}
  
 
+
ul > li:nth-child(2) > div:last-child, li:nth-child(4) > div:last-child {display:none}
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading {
+
ul > li:nth-child(4) > div:nth-child(2) {display:none}
display: none;
 
}
 
 
 
.mw-parser-output > div:nth-child(7) > ul:nth-child(1) > li:nth-child(4) > div:nth-child(2) {display:none}
 
  
 
.FOMclock {
 
.FOMclock {
Line 60: Line 49:
 
}
 
}
  
td, th {
+
table {border-spacing:1.5em 0; margin:0 -1em}
    padding-left:1em; padding-right:1em; vertical-align:top
+
 
}
+
td, th, div {vertical-align:top; line-height:1.35em}
  
 
/*
 
/*
Line 69: Line 58:
 
}
 
}
 
*/
 
*/
 +
 +
/* The following class is used on the Test page. */
 +
tr.contactperson td {
 +
  background-color: cyan;
 +
  line-height: 4em;
 +
  font-weight: bold;
 +
}

Latest revision as of 17:00, 25 December 2021

/* 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 {font-size:70%}
.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}

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

td, th, div {vertical-align:top; line-height:1.35em}

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