[Template fetch failed for http://spivey.oriel.ox.ac.uk/corner/Template:Sitenotice?action=render: HTTP 404]

MediaWiki:Common.css: Difference between revisions

From Compilers
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 66: Line 66:
   use <div class="toclimit-1">__TOC__</div> */
   use <div class="toclimit-1">__TOC__</div> */
.toclimit-1 .toclevel-1 ul { display: none; }
.toclimit-1 .toclevel-1 ul { display: none; }
.toclimit-2 .toclevel-2 ul { display: none; }


/* Navigation boxes */
/* Navigation boxes */

Latest revision as of 15:21, 16 October 2023

/* CSS placed here will be applied to all skins */

/* Drop caps */
span.dropcap {
    float: left;
    font-family: 'Roboto Slab', serif;
    font-size: 350%;
    line-height: 85%;
    padding-right: 3px;
}

span.dropcont {
    font-variant: small-caps;
    font-size: 120%;
    line-height: 100%;
}

/* Lecture links */
span.lecturelink {
    padding-left: 40px;
    padding-right: 10px;
    background: #DDE left no-repeat
      url(/wiki3/resources/src/mediawiki.action/images/nextredirect-ltr.png);
}

code {
    color: inherit;
    word-spacing: -0.2em;
}

/* Context boxes for digital systems */

div.context-box {
    font-style: italic;
    background-color: #dde;
    padding: 6px;
    border-radius: 6px;
    border: 2px solid #aab;
}

p.context-heading {
    font-family: 'Roboto Slab', sans-serif;
    font-weight: normal;
    font-size: 116%;
    margin-bottom: .3em;
    margin-top: 0pt;
    padding-bottom: .17em;
}

div.thumbinner {
    box-shadow: 5px 5px 5px #aaa;
}

div.thumb {
    margin-bottom: 1em;
}

/* Show document icon for internal PDF links */
#bodyContent a.internal[href$=".pdf"],
#bodyContent a.extiw[href$=".pdf"] {
	background: url("resources/local/document.png") center right no-repeat;
	padding-right: 12px;
}

/* Label a table of contents with toclimit-1 to retrict it to one level:
   use <div class="toclimit-1">__TOC__</div> */
.toclimit-1 .toclevel-1 ul { display: none; }
.toclimit-2 .toclevel-2 ul { display: none; }

/* Navigation boxes */
div.navbox {
    padding: 0.5em 0 0.5em 1em;
    background: white;
    float: right;
    clear: right;
}

div.navbox table {
    border: 1px solid #aaa;
    background: url("/wiki2/skins/Winkel/images/blue-wove.png") repeat;
    color: black;
    padding: 0.2em;
    text-align: center;
    box-shadow: 5px 5px 5px #aaa;
}

/* Don't display the watchlist tab */
/* It's not so easy because of collapsing
#ca-watch { display: none; }
*/

/* Layout of exam papers */

table.exam-menu {
    border-spacing: 0;
}

td.exam-paper {
    width: 20em;
    padding: 0.5em 0.8em;
}

td.exam-year {
    width: 2.5em;
    padding: 0.5em 0.8em;
}

/* ns-102 for tutors' namespace */
body.ns-102 td.exam-year {
    width: 5.5em;
}

tr.examrow-odd {
    background: #ccf;
}

tr.examrow-even {
    background: #eef;
}

table.exam-menu td {
    vertical-align: middle;
}