User:Mike/monobook.css

From Meta, a Wikimedia project coordination wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Diverse kod som jag helt enkelt plockat ihop lite här och var. Några som fått släppa till kod är */
/*[[m:user:Lupo]], [[m:user:Bdesham]], [[m:user:Cyrius]], [[m:user:Markhurd]], [[m:user:Muke]], [[en:user:Angela]] och [[m:user:Omegatron]] */
/* - utan någon speciell ordning... */
/* - Notera bara att en hel del av detta fungerar inte längre (om det någonsin gjort det...) */

/* specific divs */
div#siteNotice { display: none; }

.pBody {
     border: none; background: transparent;
}

/* get rid of those annoying icons after links */
#bodyContent a[href ^="http://"],
#bodyContent a[href ^="gopher://"],
#bodyContent a[href ^="https://"],
#bodyContent a[href ^="mailto:"],
#bodyContent a[href ^="news://"]
{
    background: transparent;
    padding-right: 0px;
}

a { text-decoration: none !important }
a:visited { color: #8080f0; }
a:active { color: #CC0CCC; }
a:new { color: #D00000; }
a:interwiki { color: #008020; }
a:stub { color: #208080; }
a:external { color: #0080a0; }
a:hover { color: red }

#p-personal li a { text-decoration: none; color: #204060; }
#p-personal li a:hover { color: none; background: #ececec; }

/* tab bottom not removed on hover */
#p-cactions li a:hover { z-index: 0; color: red; }
#p-cactions li.selected a:hover { z-index: 3; color: red; }
#p-cactions ul li a { color: #0000f8; }
#p-cactions ul li a:visited { color: #7070e0; }
#p-cactions ul li a:visited:hover { color: red; } 
#p-cactions ul li a:new { color: #0000ff; }
#p-cactions li a:hover { color: red; } 

/* move boxes around*/
 #p-search          { border: 1px solid grey; position: absolute; top: 12em; }
 #p-navigation      { border: 1px solid grey; position: relative; top: 5em;}
 #p-tb              { border: 1px solid grey; position: relative; top: 4.0em;}
 #p-community       { border: 1px solid grey; position: relative; top: 4.7em; }
 #p-beyond_the_web  { border: 1px solid grey; position: relative; top: 4.4em; }
 #p-coll-create_a_book { border: 1px solid grey; position: relative; top: 4.1em; }

/* går hit... */
/* bottom tab styling (not for IE currently) */
#mytabs {
    margin: -0.3em 0 0  11.5em;
    white-space:nowrap;
    line-height: 1.1em;
    overflow: visible;
    border-collapse: collapse;
    padding: 0 0 0 1em;
    list-style: none;
    font-size: 95%;
}
#mytabs .hiddenStructure { display: none; }
#mytabs li {
    display: inline;
    border: 1px solid #fafaf0;
    border-top: none;
    padding: 0.1em 0 0 0;
    margin: 0 0.3em 0 0;
    overflow: visible;
    background: white;
}
#mytabs li.selected {
    border-color: #fafae8;
    padding: 0.2em 0 0 0;
    background: white;
}
#mytabs li a {
    background-color: #FAFAe2;
    color: #005189;
    border: none;
    padding: 0.3em 0.8em 0 0.8em;
    text-decoration: none;
    text-transform: lowercase;
    position: relative;
    margin: 0;
    background: white;
}
#mytabs li.selected a { z-index: 3; }
#mytabs .new a { color:#ba0000; }
#mytabs li a:hover {
    z-index: 3;
    text-decoration: none;
    background: white;
}
#mytabs h5 { display: none; }
#mytabs li.istalk { margin-right: 0; }
#mytabs li.istalk a { padding-right: 0.5em; }
#mytabs-ca-addsection a { 
    padding-left: 0.4em;
    padding-right: 0.4em;
}

/* offsets to distinguish the tab groups */
li#mytabs-ca-talk { margin-right: 1.6em; }
li#mytabs-ca-watch { margin-left: 1.6em; }


/* colors of tabs */
#mytabs li a { color: #0000f8; background: #FAFAe2; }
#mytabs li a:visited { color: #7070e0; }
#mytabs li a:visited:hover { color: red; } 
#mytabs li a.new { color: #0000ff; }
#mytabs li a:hover { color: red; } 
#mytabs li.selected a { font-weight: bold; background: #FAFAe2; }

#mytabs li.selected { border-color: darkgrey; }
#mytabs li { border-color: darkgrey; }