User:JAL/monobook.css: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(194 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 } */
    font-weight: bolder;
/* #column-content #content { margin-left: 13.9em } */
    text-transform: none;
/* #p-logo a, #p-logo a:hover { width: 13.9em } */
    color: #000;
/* .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; }


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


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


p.syntax {
li *.note, td *.note, th *.note  {
color: #000;
    margin-left: 10px;
background-color: #F9F9F9;
    margin-right: 30px;
padding: 5px 5px 5px 10px;
    border: none;
font-size: 12.7px;
    padding: 0px;
line-height: 13.97px;
border: 1px dashed #4169E1;
font-family: Consolas, "Courier New", monospace;
vertical-align: baseline;
        white-space: pre;  
}
}


.syntaxTable th {
/* to drop background shade when <p class="code"> is part of the note  */
     font-style: italic;
/* .note p.code  {   */
     font-family: Consolas, "Courier New", monospace;
/*    background-color: transparent;  */
/*    border-top: 1px solid #000;  */
/*     border-bottom: 1px solid #000; */
/* }  */
 
/* for GUI/wiki controls */
tt {
     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%;
}