Difference between revisions of "MediaWiki:Common.css"

From SWEBOK
Jump to: navigation, search
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
p {
+
#bodyContent {
   margin-bottom: 0 }
+
  text-align: justify;
p + p {
+
}
   text-indent: 1.5em;
+
 
   margin-top: 0 }
+
#toc {
 +
  margin-left: 12px;
 +
   margin-bottom: 12px;
 +
  float: right;
 +
}
 +
 
 +
.acronyms {
 +
  display: inline-block;
 +
  width: 50%;
 +
}
 +
 
 +
.referencelist p {
 +
   text-indent: -1.5em;
 +
   margin-left: 1.5em;
 +
}
 +
 
 +
h2, .mw-body h2 {
 +
  font-size: 16px;
 +
  font-weight: bold;
 +
  font-family: 'Linux Libertine', Georgia, Times, serif;
 +
}
 +
 
 +
h3, .mw-body h3 {
 +
  font-size: 15px;
 +
  font-weight: normal;
 +
  font-style: italic;
 +
  font-family: 'Linux Libertine', Georgia, Times, serif;
 +
}
  
 
.intro {
 
.intro {
Line 12: Line 39:
 
   text-transform: uppercase;  
 
   text-transform: uppercase;  
 
   font-family: 'Linux Libertine', Georgia, Times, serif;   
 
   font-family: 'Linux Libertine', Georgia, Times, serif;   
   margin-bottom: 1.5em;
+
   margin-bottom: 2.25em;
 
}
 
}
 +
 +
h4, .mw-body h4 {
 +
  font-size: 14px;
 +
  font-weight: normal;
 +
  font-style: italic;
 +
  margin-bottom: 1em;
 +
  font-family: 'Linux Libertine', Georgia, Times, serif;
 +
}
 +
 
.toc, #toc {
 
.toc, #toc {
 
   float: right;
 
   float: right;
Line 35: Line 71:
 
     line-height:18px;
 
     line-height:18px;
 
     padding:4px 0 4px 40px;
 
     padding:4px 0 4px 40px;
 +
}
 +
 +
h5 .mw-headline-number {
 +
    display: none;
 +
}
 +
 +
h6 .mw-headline-number {
 +
    display: none;
 
}
 
}

Latest revision as of 01:17, 24 August 2015

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

#bodyContent {
  text-align: justify;
}

#toc {
  margin-left: 12px;
  margin-bottom: 12px;
  float: right;
}

.acronyms {
  display: inline-block;
  width: 50%;
}

.referencelist p {
  text-indent: -1.5em;
  margin-left: 1.5em;
}

h2, .mw-body h2 {
  font-size: 16px;
  font-weight: bold;
  font-family: 'Linux Libertine', Georgia, Times, serif; 
}

h3, .mw-body h3 {
  font-size: 15px;
  font-weight: normal;
  font-style: italic;
  font-family: 'Linux Libertine', Georgia, Times, serif; 
}

.intro {
  font-size: 14px; 
  font-weight: bold; 
  text-transform: uppercase; 
  font-family: 'Linux Libertine', Georgia, Times, serif;  
  margin-bottom: 2.25em;
}

h4, .mw-body h4 {
  font-size: 14px;
  font-weight: normal;
  font-style: italic;
  margin-bottom: 1em;
  font-family: 'Linux Libertine', Georgia, Times, serif; 
}

.toc, #toc {
  float: right;
}

dl {
    margin-left: 1.5em;
}

dt  {
    clear:left;
    float:left;
    font-size:12px;
    line-height:26px;
    width:70px;
}

dd {
    clear:right;
    font-size:12px;
    line-height:18px;
    padding:4px 0 4px 40px;
}

h5 .mw-headline-number {
    display: none;
}

h6 .mw-headline-number {
    display: none;
}