MediaWiki:Common.css: Difference between revisions

From GRFSpecs
Jump to navigation Jump to search
Content deleted Content added
add padding to table cells
separate style templates for <pre> tag: example, pseudo and small (=max height 200px)
 
(5 intermediate revisions by 3 users not shown)
Line 3: Line 3:
table.wikitable td, th {
table.wikitable td, th {
border: 1px solid #CCCCCC;
border: 1px solid #CCCCCC;
padding: 0;
padding: 0 5px;
}
}
table {
table {
border-collapse: collapse;
border-collapse: collapse;
empty-cells: show;
empty-cells: show;
background: #FAFAFF;
}
}


td, th {
td, th {
border: 1px solid #CCCCCC;
border: 1px solid #CCCCCC;
padding: 5px;
padding: 0px 5px;
}

code {
color: darkgreen;
}

pre {
color: black;
white-space: pre-wrap
}
pre.example {
color: darkblue;
}
pre.pseudo {
color: black;
}
pre.small {
max-height: 200px;
overflow:scroll;
}


/* Pad Google AdSense box in portlet in sidebar */
#p-googleadsense .pBody {
padding-top: 5px;
text-align: center;
}
}

Latest revision as of 21:22, 27 August 2011

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

table.wikitable td, th {
    border: 1px solid #CCCCCC;
    padding: 0 5px;
}
table {
    border-collapse: collapse;
    empty-cells: show;
    background: #FAFAFF;
}

td, th {
    border:  1px solid #CCCCCC;
    padding: 0px 5px;
}

code {
    color: darkgreen;
}

pre {
    color: black;
    white-space: pre-wrap
}
pre.example {
    color: darkblue;
}
pre.pseudo {
    color: black;
}
pre.small {
   max-height: 200px; 
   overflow:scroll;
}


/* Pad Google AdSense box in portlet in sidebar */
#p-googleadsense .pBody {
    padding-top: 5px;
    text-align:  center;
}