MediaWiki:Common.css
From Maemo Wiki
Jump to navigationJump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.category_header {
border: 1px solid #aea395;
background: #ffd9ac;
height: 52px;
display: block;
position: relative;
padding: 0.1em 0.1em 0.1em 0.5em;
}
.category_header_title {
font-size: 120%;
font-weight: bold;
position: absolute;
z-index: 10;
border: none;
text-decoration: none;
}
.category_block,
td.category_block_stage {
width: 32%;
border: 1px solid #e2dbd2;
background: #fff0df;
vertical-align: top;
color: #000;
}
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
}
table.wikitable th,
table.wikitable td,
table.prettytable th,
table.prettytable td {
border: 1px #aaa solid;
padding: 0.2em;
}
table.wikitable th,
table.prettytable th {
background: #f2f2f2;
text-align: center;
}
table.wikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
table.prettytable code,
table.wikitable code {
background-color: transparent;
}
/* Article message box styles */
table.ambox { /* 10% = Will not overlap with other elements */
margin: -1px 10% 0px; /* -1px = Single border between stacked boxes in all browsers */
border: 1px solid #aaa;
border-bottom: 3px solid #1e90ff; /* Default "notice" blue */
background: #fbfbfb;
}
th.ambox-text, td.ambox-text { /* The message body cell(s) */
border: none;
padding: 0.25em 0.5em; /* 0.5em left/right */
width: 100%; /* Make all templates the same width regardless of text length */
}
td.ambox-image { /* The left image cell */
border: none;
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
text-align: center;
}
td.ambox-imageright { /* The right image cell */
border: none;
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
text-align: center;
}
table.ambox-notice {
border-bottom: 3px solid #1e90ff; /* Blue */
}
table.ambox-speedy {
border-bottom: 3px solid #b22222; /* Red */
background: #fee; /* Pink */
}
table.ambox-delete,
table.ambox-serious {
border-bottom: 3px solid #b22222; /* Red */
}
table.ambox-content {
border-bottom: 3px solid #f28500; /* Orange */
}
table.ambox-style {
border-bottom: 3px solid #f4c430; /* Yellow */
}
table.ambox-move,
table.ambox-merge {
border-bottom: 3px solid #9932cc; /* Purple */
}
table.ambox-protection {
border-bottom: 3px solid #bba; /* Gray-gold */
}
table.ambox.ambox-mini { /* Small floating box variant */
float: right;
clear: right;
margin: 0 0 0 1em;
width: 25%;
}
@media print { /* Do not print article message boxes */
.ambox {
display: none;
}
}
h1, h2 {
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: rgb(170,170,170);
}