Difference between revisions of "MediaWiki:Common.css"
esse quam videri
(42 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | / | + | /* CSS placed here will be applied to all skins */ |
+ | /* Columbia branding | ||
− | + | WABASH BLUE: 00A3BA (primary) | |
+ | CLOUD GATE: D0C4C5 (neutral) | ||
+ | SKYSCRAPER: D9E1E2 (neutral) | ||
+ | PRODUCTION: 51284F (dark) | ||
− | + | primary sans serif: ITC FRANKLIN PRO | |
+ | primary serif: BRIONI STD | ||
− | + | */ | |
− | + | ||
− | + | /* Sitewide settings*/ | |
− | + | ||
− | + | div.wrapPreLines pre { | |
− | + | white-space: pre-wrap; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | * { | |
+ | font-family: 'Roboto', 'Open Sans', sans-serif; | ||
+ | } | ||
− | { | + | body, #mw-head-base, #mw-head, #mw-panel, #p-logo { |
− | background- | + | background: #ffffff; |
− | background-image: | + | } |
− | background-repeat: repeat; | + | |
− | background- | + | /* |
− | + | .page-Main_Page #content { | |
− | background | + | -moz-column-count: 4; |
− | text-align: center; | + | -moz-column-gap: 3px; |
+ | -webkit-column-count: 4; | ||
+ | -webkit-column-gap: 3px; | ||
+ | column-count: 4; | ||
+ | column-gap: 3px; | ||
+ | width: 1200px; | ||
+ | } */ | ||
+ | |||
+ | #p-logo { | ||
+ | z-index: 3; | ||
+ | position:absolute; /*needed to use z-index */ | ||
+ | margin-top: 10px; | ||
+ | top: -10; | ||
+ | left: -10; | ||
+ | background-image: url(http://imamp.colum.edu/mediawiki/images/2/23/IAM_wiki_logo.png); | ||
+ | background-repeat: no-repeat; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | /* 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; | ||
+ | } | ||
+ | .wikitable th, .wikitable td, | ||
+ | .prettytable th, .prettytable td { | ||
+ | border: 1px #aaa solid; | ||
+ | padding: 0.2em; | ||
+ | } | ||
+ | .wikitable th, | ||
+ | .prettytable th { | ||
+ | background: #f2f2f2; | ||
+ | text-align: center; | ||
+ | } | ||
+ | .wikitable caption, | ||
+ | .prettytable caption { | ||
+ | margin-left: inherit; | ||
+ | margin-right: inherit; | ||
+ | font-weight: bold; | ||
} | } |
Latest revision as of 17:58, 7 June 2019
/* CSS placed here will be applied to all skins */
/* Columbia branding
WABASH BLUE: 00A3BA (primary)
CLOUD GATE: D0C4C5 (neutral)
SKYSCRAPER: D9E1E2 (neutral)
PRODUCTION: 51284F (dark)
primary sans serif: ITC FRANKLIN PRO
primary serif: BRIONI STD
*/
/* Sitewide settings*/
div.wrapPreLines pre {
white-space: pre-wrap;
}
* {
font-family: 'Roboto', 'Open Sans', sans-serif;
}
body, #mw-head-base, #mw-head, #mw-panel, #p-logo {
background: #ffffff;
}
/*
.page-Main_Page #content {
-moz-column-count: 4;
-moz-column-gap: 3px;
-webkit-column-count: 4;
-webkit-column-gap: 3px;
column-count: 4;
column-gap: 3px;
width: 1200px;
} */
#p-logo {
z-index: 3;
position:absolute; /*needed to use z-index */
margin-top: 10px;
top: -10;
left: -10;
background-image: url(http://imamp.colum.edu/mediawiki/images/2/23/IAM_wiki_logo.png);
background-repeat: no-repeat;
}
/* 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;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
border: 1px #aaa solid;
padding: 0.2em;
}
.wikitable th,
.prettytable th {
background: #f2f2f2;
text-align: center;
}
.wikitable caption,
.prettytable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}