Open main menu

UESPWiki β

MediaWiki talk:Monobook.css

TaglineEdit

I added the ability to have taglines on this wiki. I also altered the current, default tagline to this one. --Aristeo 17:44, 1 July 2006 (EDT)

Spoiler Show/HideEdit

Over at UESPWiki talk:Style Guide#Places Endareth suggested a template that allows spoiler info to be shown or hidden when clicked. The CSS below should make that possible. Wikipedia:Template:Dynamic navigation box is a working example. Garrett 20:03, 19 April 2006 (EDT)

/***************************/
/* BEGIN SPOILER SHOW/HIDE */
/***************************/

/* This is used for content sections that can be shown or hidden
  (e.g. http://en.wikipedia.org/wiki/Template:Dynamic_navigation_box).
   Taken from http://en.wikipedia.org/wiki/MediaWiki:Monobook.css */

div.Boxmerge,
div.NavFrame {
        margin: 0px;
        padding: 2px;
        border: 1px solid #aaaaaa;
        text-align: center;
        border-collapse: collapse;
        font-size: 95%;
}
div.Boxmerge div.NavFrame {
        border-style: none;
        border-style: hidden;
}
div.NavFrame + div.NavFrame {
        border-top-style: none;
        border-top-style: hidden;
}
div.NavPic {
        background-color: #ffffff;
        margin: 0px;
        padding: 2px;
        float: left;
}
div.NavFrame div.NavHead {
        height: 1.6em;
        font-weight: bold;
        font-size: 100%;
        background-color: #efefef;
        position:relative;
}
div.NavFrame p {
        font-size: 100%;
}
div.NavFrame div.NavContent {
        font-size: 100%;
}
div.NavFrame div.NavContent p {
        font-size: 100%;
}
div.NavEnd {
        margin: 0px;
        padding: 0px;
        line-height: 1px;
        clear: both;
}
a.NavToggle {
        position:absolute;
        top:0px;
        right:3px;
        font-weight:normal;
        font-size:smaller;
}

#coordinates {  
 position:absolute;
 z-index:1;
 border:none;
 background:none;
 right:30px;
 top:3.7em;
 float:right;
 margin:0.0em;
 padding:0.0em;
 line-height:1.5em;
 text-align:right;
 text-indent:0;
 font-size:85%;
 text-transform:none;
 white-space:nowrap;
}
/*************************/
/* END SPOILER SHOW/HIDE */
/*************************/
Return to "Monobook.css" page.