Actions

MediaWiki

Common.css: Difference between revisions

From Algolit

(Created page with "CSS placed here will be applied to all skins: h6 { font-size: 100%; } h5 { font-size: 105%; } h4 { font-size: 120%; } h3 { font-size: 125%; } h2 { font-size: 130%; }...")
 
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
h6 {
+
body {
 +
font-family: 'FantasqueSansMonoRegular',"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
 +
}
 +
pre, code{
 +
margin:2em 0;
 +
}
 +
 
 +
.ns-subject h6, .ns-special h6, .page-Main_Page h6 {
 
font-size: 100%;
 
font-size: 100%;
 +
font-style: italic;
 +
font-weight: normal;
 
}
 
}
  
h5 {
+
.ns-subject h5, .ns-special h5, .page-Main_Page h5 {
 
font-size: 105%;
 
font-size: 105%;
 +
font-weight: normal;
 +
text-decoration:underline;
 
}
 
}
  
h4 {
+
.ns-subject h4, .ns-special h4, .page-Main_Page h4 {
 
font-size: 120%;
 
font-size: 120%;
 +
text-decoration:underline;
 +
}
 +
 +
.ns-subject h3, .ns-special h3, .page-Main_Page h3 {
 +
font-size: 135%;
 +
}
 +
 +
.ns-subject h2, .ns-special h2, .page-Main_Page h2 {
 +
font-size: 175%;
 +
}
 +
 +
.ns-subject h1, .ns-special h1, .page-Main_Page h1 {
 +
font-size: 225%;
 
}
 
}
  
h3 {
+
h2#firstHeading {
font-size: 125%;
+
font-size: 225%;
 
}
 
}
  
h2 {
+
 
font-size: 130%;
+
body.page-Main_Page h2#firstHeading.title {  
 +
display: none;  
 
}
 
}
  
h1 {
+
body.page-Main_Page h3#tagline {
font-size: 135%;
+
display: none;
 
}
 
}

Latest revision as of 16:12, 16 January 2020

/* CSS placed here will be applied to all skins */

body {
font-family: 'FantasqueSansMonoRegular',"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
}
pre, code{
margin:2em 0;
}

.ns-subject h6, .ns-special h6, .page-Main_Page h6 {
font-size: 100%;
font-style: italic;
font-weight: normal;
}

.ns-subject h5, .ns-special h5, .page-Main_Page h5 {
font-size: 105%;
font-weight: normal;
text-decoration:underline;
}

.ns-subject h4, .ns-special h4, .page-Main_Page h4 {
font-size: 120%;
text-decoration:underline;
}

.ns-subject h3, .ns-special h3, .page-Main_Page h3 {
font-size: 135%;
}

.ns-subject h2, .ns-special h2, .page-Main_Page h2 {
font-size: 175%;
}

.ns-subject h1, .ns-special h1, .page-Main_Page h1 {
font-size: 225%;
}

h2#firstHeading {
font-size: 225%;
}


body.page-Main_Page h2#firstHeading.title { 
display: none; 
}

body.page-Main_Page h3#tagline {
display: none;
}