Difference between revisions of "MediaWiki:Common.css"

From den4b Wiki
Jump to navigation Jump to search
m
(Removed GeSHi borders, no longer applicable.)
 
(39 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 */
  
/* wikitable/prettytable */
+
/* larger font */
table.wikitable,
+
body, input, textarea {
table.prettytable {
+
     font-size: 110%;
     margin: 1em 1em 1em 0;
+
}
    background: #f9f9f9;
+
 
 +
/* ambox */
 +
.ambox {
 
     border: 1px #aaa solid;
 
     border: 1px #aaa solid;
 
     border-collapse: collapse;
 
     border-collapse: collapse;
 +
    background-color: #ffe;
 +
    margin-bottom: 0.5em;
 
}
 
}
.wikitable th, .wikitable td,
+
.ambox td {
.prettytable th, .prettytable td {
+
    padding: 0.3em;
 +
    border: none;
 +
}
 +
 
 +
/* anav */
 +
.anav {
 +
    margin-top: 5px;
 +
    margin-bottom: 5px;
 
     border: 1px #aaa solid;
 
     border: 1px #aaa solid;
     padding: 0.2em;
+
     border-collapse: collapse;
 +
    background-color: #ffe;
 
}
 
}
.wikitable th,
+
.anav td {
.prettytable th {
+
     padding: 0.5em;
     background: #f2f2f2;
+
     border: none;
     text-align: center;
 
 
}
 
}
.wikitable caption,
+
.anav th {
.prettytable caption {
+
    padding: 0em;
 +
    border: none;
 
     font-weight: bold;
 
     font-weight: bold;
 +
    background-color: #33CC00;
 
}
 
}
  
/* ambox */
+
/* custom highlight for text */
.ambox {
+
.hl-orange {
    border: 1px #aaa solid;
+
  color: #ff8c00;
    border-collapse: collapse;
+
  font-weight: bold;
    background-color: #ffe;
+
}
 +
.hl-teal {
 +
  color: #008080;
 +
  font-weight: bold;
 +
}
 +
.hl-red {
 +
  color: #ff0000;
 +
  font-weight: bold;
 +
}
 +
.hl-blue {
 +
  color: #0000ff;
 +
  font-weight: bold;
 
}
 
}
.ambox td {
+
.hl-pink {
    padding: 0.3em;
+
  color: #ff1493;
 +
  font-weight: bold;
 
}
 
}

Latest revision as of 15: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;
}