Difference between revisions of "MediaWiki:Monobook.css"
From LGPedia
OwenIsCool (Talk | contribs) (adding code for Template:VidExpand) |
OwenIsCool (Talk | contribs) (added code for Template:HoverTOC) |
||
| Line 2: | Line 2: | ||
body {background: #C1BEC2 url("/bg.png")} | body {background: #C1BEC2 url("/bg.png")} | ||
| + | |||
| + | |||
| + | /*The aphidblock class described below is used in [[Template:Aphidblock]] */ | ||
.aphidblock a {font-weight: bold; color: #627d6d; text-decoration: none;} .aphidblock a:hover {text-decoration: underline;} | .aphidblock a {font-weight: bold; color: #627d6d; text-decoration: none;} .aphidblock a:hover {text-decoration: underline;} | ||
| + | |||
| + | |||
| + | /*The vidExpandDiv class is used in [[Template:VidExpand]] */ | ||
.vidExpandDiv { | .vidExpandDiv { | ||
| Line 10: | Line 16: | ||
.vidExpandDiv:target { | .vidExpandDiv:target { | ||
display: block; | display: block; | ||
| + | } | ||
| + | |||
| + | |||
| + | /*The code below is used in [[Template:HoverTOC]] */ | ||
| + | #hoverTOC { | ||
| + | width: 70px; | ||
| + | height: 20px; | ||
| + | overflow: hidden; | ||
| + | background-color: #F9F9F9; | ||
| + | border: 1px solid #aaaaaa; | ||
| + | text-align: center; | ||
| + | } | ||
| + | #hoverTOC:hover { | ||
| + | width: auto; | ||
| + | height: auto; | ||
| + | background-color: transparent; | ||
| + | border: 1px none #aaaaaa; | ||
| + | } | ||
| + | #hoverTOCtitle { | ||
| + | font-weight: bold; | ||
| + | } | ||
| + | #hoverTOC:hover #hoverTOCtitle { | ||
| + | display: none; | ||
} | } | ||
Revision as of 01:40, 20 March 2007
/* CSS placed here will affect users of the Monobook skin */
body {background: #C1BEC2 url("/bg.png")}
/*The aphidblock class described below is used in [[Template:Aphidblock]] */
.aphidblock a {font-weight: bold; color: #627d6d; text-decoration: none;} .aphidblock a:hover {text-decoration: underline;}
/*The vidExpandDiv class is used in [[Template:VidExpand]] */
.vidExpandDiv {
display: none;
}
.vidExpandDiv:target {
display: block;
}
/*The code below is used in [[Template:HoverTOC]] */
#hoverTOC {
width: 70px;
height: 20px;
overflow: hidden;
background-color: #F9F9F9;
border: 1px solid #aaaaaa;
text-align: center;
}
#hoverTOC:hover {
width: auto;
height: auto;
background-color: transparent;
border: 1px none #aaaaaa;
}
#hoverTOCtitle {
font-weight: bold;
}
#hoverTOC:hover #hoverTOCtitle {
display: none;
}