User:JAL/monobook.css: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(198 intermediate revisions by 3 users not shown)
Line 1: Line 1:
var {
/* make Sidebar wider (to view change in Firefox: hold Shift while clicking Reload) */
    font-style: normal;
/* now added to MediaWiki:common.css -- needed for Firefox more than for IE or Chrome */
    font-family: Consolas, "Courier New", monospace;
/* #column-content { margin-left: -13.9em } */
    text-transform: none;
/* #column-content #content { margin-left: 13.9em } */
    color: #000;
/* #p-logo a, #p-logo a:hover { width: 13.9em } */
/* .portlet { width: 12.9em } */
/* #p-cactions { left: 12.9em } */
/* div#column-content { margin-left: -13.9em }  */
/* div#content { margin-left: 13.9em } */
 
 
/**
* Allow limiting of which header levels are shown in a TOC;
* <div class="toclimit-3">, for instance, will limit to
* showing ==headings== and ===headings=== but no further.
* Used in [[Template:TOC]]
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
}


span.literal {
 
     font-style: normal;
/* deprecated until further notice  */
     font-family: Consolas, "Courier New", monospace;
.caption {
     color: #000;
    color: black;
     font-size: 110%;
     font-weight: bold;
    text-align: center;
    line-height: 100%;
     margin-left: 5em;
    margin-right: 5em;
    margin-top: 1em;
    margin-bottom: 1em;
}
}


.mw-collapsible span.mw-collapsible-toggle { float: left; }
/* enclose non-single-paragraph Cautions & Warnings with <blockquote class="warn">; otherwise, use <p class="warn"> */
.warn  {
    margin-left: 20px;
    margin-right: 60px;
    text-align: justify;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 5px 5px 5px 10px;
}


span.term {
/* enclose non-single-paragraph Notes with <blockquote class="note">; otherwise, use <p class="note"> */
     font-style: italic;
.note  {
     font-family: Consolas, "Courier New", monospace;
     margin-left: 15px;
     color: #000;
     margin-right: 30px;
    border: none;
     padding: 0px;
}
}


var.term {
li *.note, td *.note, th *.note  {
     text-transform: none;
     margin-left: 10px;
     font-style: italic;
     margin-right: 30px;
     font-family: Consolas, "Courier New", monospace;
     border: none;
     color: #000;
     padding: 0px;
}
}


p.syntax {
/* to drop background shade when <p class="code"> is part of the note  */
color: #000;
/* .note p.code  {   */
background-color: #F9F9F9;
/*    background-color: transparent; */
padding: 5px 5px 5px 10px;
/*    border-top: 1px solid #000; */
font-size: 12.7px;
/*    border-bottom: 1px solid #000; */
line-height: 13.97px;
/* }  */
border: 1px dashed #AE5326;
 
font-family: Consolas, "Courier New", monospace;
/* for GUI/wiki controls */
vertical-align: baseline;
tt {
        white-space: pre;  
    font-size:110%;
}
}

Latest revision as of 19:19, 30 August 2013

/* make Sidebar wider (to view change in Firefox: hold Shift while clicking Reload) */
/* now added to MediaWiki:common.css -- needed for Firefox more than for IE or Chrome */
/* #column-content { margin-left: -13.9em } */
/* #column-content #content { margin-left: 13.9em } */
/* #p-logo a, #p-logo a:hover { width: 13.9em } */
/* .portlet { width: 12.9em } */
/* #p-cactions { left: 12.9em } */	
/* div#column-content { margin-left: -13.9em }  */ 
/* div#content { margin-left: 13.9em } */


/**
 * Allow limiting of which header levels are shown in a TOC;
 * <div class="toclimit-3">, for instance, will limit to
 * showing ==headings== and ===headings=== but no further.
 * Used in [[Template:TOC]]
 */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
	display: none;
}


/* deprecated until further notice  */
.caption {
    color: black;
    font-size: 110%;
    font-weight: bold;
    text-align: center;
    line-height: 100%;
    margin-left: 5em;
    margin-right: 5em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.mw-collapsible span.mw-collapsible-toggle { float: left; }

/* enclose non-single-paragraph Cautions & Warnings with <blockquote class="warn">; otherwise, use <p class="warn"> */
.warn   {
    margin-left: 20px;
    margin-right: 60px;
    text-align: justify;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 5px 5px 5px 10px;
}

/* enclose non-single-paragraph Notes with <blockquote class="note">; otherwise, use <p class="note"> */
.note   {
    margin-left: 15px;
    margin-right: 30px;
    border: none;
    padding: 0px;
}

li *.note, td *.note, th *.note   {
    margin-left: 10px;
    margin-right: 30px;
    border: none;
    padding: 0px;
}

/* to drop background shade when <p class="code"> is part of the note   */
/* .note p.code  {   */
/*     background-color: transparent;  */
/*     border-top: 1px solid #000;  */
/*     border-bottom: 1px solid #000;  */
/* }   */

/* for GUI/wiki controls */
tt {
    font-size:110%;
}