501
edits
(stuff from tf:MediaWiki:Common.css) |
(stuff) |
||
Line 1: | Line 1: | ||
/* CSS | /* Sitewide CSS stylesheet. Take care when making any changes as they'll be pushed to every user almost immediately. */ | ||
/* | /* Ambox styling */ | ||
table.ambox { | |||
margin: 0px 10%; /* 10% = Will not overlap with other elements */ | |||
border: 1px solid #aaa; | |||
background: #fbfbfb; | |||
} | |||
table.ambox + table.ambox { /* Single border between stacked boxes. */ | |||
margin-top: -1px; | |||
} | |||
.ambox th.ambox-text, | |||
.ambox td.ambox-text { /* The message body cell(s) */ | |||
padding: 0.25em 0.5em; /* 0.5em left/right */ | |||
} | |||
.ambox td.ambox-image { /* The left image cell */ | |||
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ | |||
} | |||
.ambox td.ambox-image2 { /* The right image cell */ | |||
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ | |||
} | |||
/* Colours */ | |||
table.ambox-notice, | |||
td.ambox-notice { | |||
border-left: 10px solid #1e90ff; /* Blue */ | |||
} | |||
table.ambox-notice-2, | |||
td.ambox-notice-2 { | |||
border-left: 10px solid #3f6180; /* Dark Blue */ | |||
} | |||
table.ambox-delete, | |||
table.ambox-serious { | |||
background: #fee; /* Pink */ | |||
border: 1px solid #BB7070; | |||
} | |||
td.ambox-delete, | |||
td.ambox-serious { | |||
border-left: 10px solid #b22222; /* Red */ | |||
} | |||
table.ambox-content, | |||
td.ambox-content { | |||
border-left: 10px solid #f28500; /* Orange */ | |||
} | |||
table.ambox-style, | |||
td.ambox-style { | |||
border-left: 10px solid #ffcc00; /* Yellow */ | |||
} | |||
table.ambox-images, | |||
td.ambox-images { | |||
border-left: 10px solid #000000; /* Black */ | |||
} | |||
table.ambox-protection, | |||
td.ambox-protection { | |||
border-left: 10px solid #bba; /* Gray-gold */ | |||
} | |||
table.ambox-good, | |||
td.ambox-good { | |||
border-left: 10px solid #73D216; /* Green */ | |||
} | |||
th.ambox-text, td.ambox-text { /* The message body cell(s) */ | |||
border: none; | |||
padding: 0.25em 0.9em; /* 0.9em left/right */ | |||
width: 100%; /* Make all mboxes the same width regardless of text length */ | |||
} | |||
td.ambox-image { /* The left image cell */ | |||
border: none; | |||
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ | |||
text-align: center; | |||
} | |||
td.ambox-image2 { /* The right image cell */ | |||
border: none; | |||
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ | |||
text-align: center; | |||
} | |||
td.ambox-empty-cell { /* An empty narrow cell */ | |||
border: none; | |||
padding: 0px; | |||
width: 1px; | |||
} | |||
/* Navbox styling */ | |||
table.navbox { /* Navbox container style */ | |||
border: 1px solid #79542B; | |||
background-color:#FFFCF7; | |||
width: 100%; | |||
margin: auto; | |||
clear: both; | |||
font-size: 88%; | |||
text-align: center; | |||
padding: 1px; | |||
} | |||
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ | |||
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ | |||
} | |||
.navbox-title, | |||
.navbox-abovebelow, | |||
table.navbox th { | |||
text-align: center; /* Title and above/below styles */ | |||
padding-left: 1em; | |||
padding-right: 1em; | |||
} | |||
.navbox-group { /* Group style */ | |||
white-space: nowrap; | |||
text-align: right; | |||
font-weight: bold; | |||
padding-left: 1em; | |||
padding-right: 1em; | |||
} | |||
.navbox, .navbox-subgroup { | |||
background: #FFFCF7; /* Background color */ | |||
} | |||
.navbox-list { | |||
border-color: #FFFCF7; /* Must match background color */ | |||
} | |||
.navbox-title, | |||
table.navbox th { | |||
background: #F3A957; /* Level 1 color */ | |||
} | |||
.navbox-abovebelow, | |||
.navbox-group, | |||
.navbox-subgroup .navbox-title { | |||
background: #F9D483; /* Level 2 color */ | |||
} | |||
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { | |||
background: #FEF5E0; /* Level 3 color */ | |||
} | |||
.navbox tr { | |||
background-color:#FFFCF7; /* Sandard cell background */ | |||
} | |||
.navbox-even { | |||
background: #FEF5E0; /* Even row striping */ | |||
} | |||
.navbox-odd { | |||
background: transparent; /* Odd row striping */ | |||
} | |||
/* Make English link bold. */ | /* Make English link bold. */ | ||
Line 21: | Line 159: | ||
.ns-9 .generated-sidebar#p-languages /* MediaWiki talk */ | .ns-9 .generated-sidebar#p-languages /* MediaWiki talk */ | ||
{ | { | ||
display: none; | display: none; | ||
} | } | ||
/* Put a chequered background behind images, only visible if they have transparency */ | |||
/* Put a chequered background behind images, only visible if they have transparency */ | |||
.gallerybox .thumb img, | .gallerybox .thumb img, | ||
#file img { background: white url("http://portal.biringa.com/w/images/5/5d/Checker-16x16.png") repeat; } | #file img { background: white url("http://portal.biringa.com/w/images/5/5d/Checker-16x16.png") repeat; } | ||
Line 38: | Line 175: | ||
background: #f9f9f9; | background: #f9f9f9; | ||
} | } | ||
/* Language-specific settings */ | /* Language-specific settings */ |