MediaWiki:Monobook.css: Difference between revisions
From London Hackspace Wiki
Alexmuller (talk | contribs) m (Text easier to read) |
m (Restore appeal in history) |
||
(47 intermediate revisions by 4 users not shown) | |||
Line 5: | Line 5: | ||
} | } | ||
table.timeline th { | |||
text-align: right; | |||
font-weight: normal; | |||
padding-right: 0.5em; | |||
} | |||
/* Homepage appeal */ | |||
.appeal a, | |||
#hackspace-appeal a { | |||
display: block; | display: block; | ||
height: 172px; | height: 172px; | ||
Line 15: | Line 24: | ||
} | } | ||
.appeal a span, | |||
#hackspace-appeal a span { | |||
display: block; | display: block; | ||
padding: 1.25em 100px 0.75em 0.75em; | padding: 1.25em 100px 0.75em 0.75em; | ||
text-shadow: 0 0 6px #000; | text-shadow: 0 0 6px #000; /* For clients that support it */ | ||
} | } | ||
.appeal a, | |||
#hackspace-appeal a { | |||
color: #1d8399; | color: #1d8399; | ||
background: url( | background: url(/w/images/2/24/Appeal-no-text.jpg) right top no-repeat; | ||
font-weight: bold; | font-weight: bold; | ||
} | |||
/* Make the wiki look a little more Hackspace-y */ | |||
#p-cactions li { | |||
padding: 0.2em 0; | |||
} | |||
#p-cactions li.selected { | |||
border-color: #3528A8; | |||
padding: 0.2em 0; | |||
} | |||
#p-cactions li a { | |||
text-transform: none; | |||
} | |||
#p-cactions li.selected a, #p-cactions li.selected a:hover { | |||
background-color: #3528A8; | |||
color: #fff; | |||
padding: 0.2em 1em !important; | |||
} | |||
#footer { | |||
background-color: transparent; | |||
border: none; | |||
text-align: right; | |||
color: #666; | |||
} | |||
#footer #about { display: none; } | |||
/* Site logo (see [[:File:Hackspace_Wiki.png]]) */ | |||
#column-one #p-logo a { | |||
/* TODO: update this server-side, and then remove from this file */ | |||
background-image: url(/w/images/c/cc/Hackspace_Wiki.png) !important; | |||
} | |||
/* Members page */ | |||
div.memberdetails { | |||
display: inline-block; | |||
width: 110px; | |||
padding: 3px; | |||
margin: 5ex 3em; | |||
background-color: #f2f2f2; | |||
border: 1px solid black; | |||
float:center; | |||
vertical-align: middle; | |||
} | |||
/* For referring to tube lines */ | |||
.tube { | |||
font-weight: bold; | |||
-lhs-morning-crescent: visited; | |||
} | |||
.tube.bak { color: #852; } | |||
.tube.cen { color: #c11; } | |||
.tube.cir { color: #da0; } | |||
.tube.dis { color: #073; } | |||
.tube.ham { color: #b78; } | |||
.tube.met { color: #805; } | |||
.tube.jub { color: #999; } | |||
.tube.ntn { color: #000; } | |||
.tube.pic { color: #14a; } | |||
.tube.vic { color: #29f; } | |||
.tube.wac { color: #2a8; } | |||
.tube.ovg { color: #f80; } | |||
body.page-Quotes pre { | |||
white-space: pre-wrap; | |||
} | |||
.wikitable td.red { background-color: #ffd9d9 } | |||
.wikitable td.yellow { background-color: #ffffc9 } | |||
.wikitable td.green { background-color: #d9ffd9 } | |||
/* Haynes-style Manual */ | |||
#manual-cover { | |||
font-family: arial, helvetica; | |||
background-color: #3528A8; | |||
padding: 2ex 1em; | |||
max-width: 50em; | |||
box-shadow: 1px 1px 3px #888; | |||
} | |||
#manual-cover a { | |||
text-decoration: none; | |||
} | |||
#manual-cover .title { | |||
margin: 4px; | |||
width: 100%; | |||
} | |||
#manual-cover h1 { | |||
font-size: 36pt; | |||
text-transform: uppercase; | |||
text-shadow: 1px 1px 2px rgba(20, 20, 20, 0.15); | |||
line-height: 0.9; | |||
width: 7em; | |||
margin: 0 0 0.5ex 0; | |||
display: inline-block; | |||
color: #eee; /* reset */ | |||
padding: 0; /* reset */ | |||
border: none; /* reset */ | |||
font-weight: bold; /* reset */ | |||
} | |||
#manual-cover .insignia { | |||
width: 60px; | |||
height: 60px; | |||
padding: 10px; | |||
background: #eee url(http://london.hackspace.org.uk/images/london.png) no-repeat center center; | |||
float: right; | |||
margin-right: 1em; | |||
} | |||
#manual-cover small { | |||
font-size: 11pt; | |||
} | |||
#manual-cover h3 { | |||
margin: 1ex 0; | |||
color: #eee; /* reset */ | |||
padding: 0; /* reset */ | |||
border: none; /* reset */ | |||
font-weight: bold; /* reset */ | |||
font-size: 11pt; | |||
} | |||
#manual-cover h2 { | |||
display: block; | |||
clear: right; | |||
border-top: 1px solid white; | |||
border-bottom: 1px solid white; | |||
margin: 0 0 1ex 0; | |||
padding: 0.4ex 0.1em; | |||
color: #bbb; | |||
font-weight: bold; /* reset */ | |||
} | |||
#manual-cover .diagram { | |||
background: url(http://wiki.london.hackspace.org.uk/w/images/d/d0/Ms7821_447_Hackney_Road.png) no-repeat center center; | |||
background-size: contain; | |||
height: 60ex; | |||
display: inline-block; | |||
width: 100%; | |||
margin-top: 1ex; | |||
} | } |
Latest revision as of 19:37, 8 June 2014
/* CSS placed here will affect users of the Monobook skin */ table.topalign tr { vertical-align: top; } table.timeline th { text-align: right; font-weight: normal; padding-right: 0.5em; } /* Homepage appeal */ .appeal a, #hackspace-appeal a { display: block; height: 172px; max-width: 1024px; font-family: helvetica, arial, monospace; font-size: 2.25em; line-height: 1.125em; margin: 0 auto 0 auto; } .appeal a span, #hackspace-appeal a span { display: block; padding: 1.25em 100px 0.75em 0.75em; text-shadow: 0 0 6px #000; /* For clients that support it */ } .appeal a, #hackspace-appeal a { color: #1d8399; background: url(/w/images/2/24/Appeal-no-text.jpg) right top no-repeat; font-weight: bold; } /* Make the wiki look a little more Hackspace-y */ #p-cactions li { padding: 0.2em 0; } #p-cactions li.selected { border-color: #3528A8; padding: 0.2em 0; } #p-cactions li a { text-transform: none; } #p-cactions li.selected a, #p-cactions li.selected a:hover { background-color: #3528A8; color: #fff; padding: 0.2em 1em !important; } #footer { background-color: transparent; border: none; text-align: right; color: #666; } #footer #about { display: none; } /* Site logo (see [[:File:Hackspace_Wiki.png]]) */ #column-one #p-logo a { /* TODO: update this server-side, and then remove from this file */ background-image: url(/w/images/c/cc/Hackspace_Wiki.png) !important; } /* Members page */ div.memberdetails { display: inline-block; width: 110px; padding: 3px; margin: 5ex 3em; background-color: #f2f2f2; border: 1px solid black; float:center; vertical-align: middle; } /* For referring to tube lines */ .tube { font-weight: bold; -lhs-morning-crescent: visited; } .tube.bak { color: #852; } .tube.cen { color: #c11; } .tube.cir { color: #da0; } .tube.dis { color: #073; } .tube.ham { color: #b78; } .tube.met { color: #805; } .tube.jub { color: #999; } .tube.ntn { color: #000; } .tube.pic { color: #14a; } .tube.vic { color: #29f; } .tube.wac { color: #2a8; } .tube.ovg { color: #f80; } body.page-Quotes pre { white-space: pre-wrap; } .wikitable td.red { background-color: #ffd9d9 } .wikitable td.yellow { background-color: #ffffc9 } .wikitable td.green { background-color: #d9ffd9 } /* Haynes-style Manual */ #manual-cover { font-family: arial, helvetica; background-color: #3528A8; padding: 2ex 1em; max-width: 50em; box-shadow: 1px 1px 3px #888; } #manual-cover a { text-decoration: none; } #manual-cover .title { margin: 4px; width: 100%; } #manual-cover h1 { font-size: 36pt; text-transform: uppercase; text-shadow: 1px 1px 2px rgba(20, 20, 20, 0.15); line-height: 0.9; width: 7em; margin: 0 0 0.5ex 0; display: inline-block; color: #eee; /* reset */ padding: 0; /* reset */ border: none; /* reset */ font-weight: bold; /* reset */ } #manual-cover .insignia { width: 60px; height: 60px; padding: 10px; background: #eee url(http://london.hackspace.org.uk/images/london.png) no-repeat center center; float: right; margin-right: 1em; } #manual-cover small { font-size: 11pt; } #manual-cover h3 { margin: 1ex 0; color: #eee; /* reset */ padding: 0; /* reset */ border: none; /* reset */ font-weight: bold; /* reset */ font-size: 11pt; } #manual-cover h2 { display: block; clear: right; border-top: 1px solid white; border-bottom: 1px solid white; margin: 0 0 1ex 0; padding: 0.4ex 0.1em; color: #bbb; font-weight: bold; /* reset */ } #manual-cover .diagram { background: url(http://wiki.london.hackspace.org.uk/w/images/d/d0/Ms7821_447_Hackney_Road.png) no-repeat center center; background-size: contain; height: 60ex; display: inline-block; width: 100%; margin-top: 1ex; }