MediaWiki:Common.css: Difference between revisions

From den4b Wiki
Jump to navigation Jump to search
(heading font sizes)
(Removed GeSHi borders, no longer applicable.)
 
(One intermediate revision 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 */


/* larger font */
/* larger font */
body, input, textarea {
body, input, textarea {
     font-size: 110%;
     font-size: 110%;
}
/* heading font sizes */
h1 {font-size: 1.6em; font-weight: bold;}
h2 {font-size: 1.5em; font-weight: bold;}
h3 {font-size: 1.3em; font-weight: bold;}
h4 {font-size: 1.2em; font-weight: bold;}
h5 {font-size: 1.1em; font-weight: bold;}
h6 {font-size: 1.0em; font-weight: bold;}
/* wikitable/prettytable */
table.wikitable,
table.prettytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
    border: 1px #aaa solid;
    padding: 0.2em 0.4em;
}
.wikitable th,
.prettytable th {
    background: #f2f2f2;
    text-align: center;
}
.wikitable caption,
.prettytable caption {
    font-weight: bold;
}
}


Line 67: Line 35:
     font-weight: bold;
     font-weight: bold;
     background-color: #33CC00;
     background-color: #33CC00;
}
/* GeSHi borders */
div.mw-geshi {
  padding: 1em;
  margin: 1em 0;
  border: 1px dashed #2fab6f;
  background-color: #f9f9f9;
}
}



Latest revision as of 16:13, 8 February 2017

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

/* larger font */
body, input, textarea {
    font-size: 110%;
}

/* ambox */
.ambox {
    border: 1px #aaa solid;
    border-collapse: collapse;
    background-color: #ffe;
    margin-bottom: 0.5em;
}
.ambox td {
    padding: 0.3em;
    border: none;
}

/* anav */
.anav {
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px #aaa solid;
    border-collapse: collapse;
    background-color: #ffe;
}
.anav td {
    padding: 0.5em;
    border: none;
}
.anav th {
    padding: 0em;
    border: none;
    font-weight: bold;
    background-color: #33CC00;
}

/* custom highlight for text */
.hl-orange {
  color: #ff8c00;
  font-weight: bold;
}
.hl-teal {
  color: #008080;
  font-weight: bold;
}
.hl-red {
  color: #ff0000;
  font-weight: bold;
}
.hl-blue {
  color: #0000ff;
  font-weight: bold;
}
.hl-pink {
  color: #ff1493;
  font-weight: bold;
}