MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
@media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi) { | @media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi) { | ||
#p-logo a { | #p-logo { | ||
position: absolute; | |||
top: -320px; | |||
left: 0; | |||
width: 10em; | |||
height: 320px; | |||
a { | |||
display: block; | |||
width: 10em; | |||
height: 320px; | |||
background-image: url(https://docs.computecanada.ca/mediawiki/resources/assets/BILINGUAL-CC-WEB-LOGO-320.png); | background-image: url(https://docs.computecanada.ca/mediawiki/resources/assets/BILINGUAL-CC-WEB-LOGO-320.png); | ||
background-repeat: no-repeat; | |||
background-position: center center; | |||
text-decoration: none; | |||
} | |||
} | } | ||
.download_submit { | .download_submit { |
Revision as of 18:15, 21 March 2016
/* CSS placed here will be applied to all skins */
@media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi) {
#p-logo {
position: absolute;
top: -320px;
left: 0;
width: 10em;
height: 320px;
a {
display: block;
width: 10em;
height: 320px;
background-image: url(https://docs.computecanada.ca/mediawiki/resources/assets/BILINGUAL-CC-WEB-LOGO-320.png);
background-repeat: no-repeat;
background-position: center center;
text-decoration: none;
}
}
.download_submit {
background-color: transparent;
background-image: url(/skins/common/images/download2-32.png);
background-position: 0px 0px;
background-repeat: no-repeat;
width: 32px;
height: 32px;
border: 0px;
position:relative;
top:-32px;
}
div.download_form {
height:0px;
}
div.filename {
height: 32px;
position:relative;
left: 35px;
top: 8px;
padding: .2em .5em
font-size: 92%;
}
.download_submit:hover {
cursor:pointer;cursor:hand
}
div#content p a {
font-weight: bold;
}
p { text-indent: 1em; }
pre.de1 {
overflow-x:auto;
max-height:500px;
height:auto !important;
height:500px;
overflow-y:auto;
}
.command:before li {
content: "asfb:";
}
/* Specific styles for table in Main Page */
table#mainpage
{
padding:2em;
border-spacing:8px;
}
table#mainpage td.topleft
{
vertical-align:top;
padding:1em;
width:50%;
background-color:#f5faff;
border:1px solid #cedff2;
border-radius:7px;
}
table#mainpage td.topleft h2
{
font-size:120%;
font-weight:bold;
padding:4px;
background-color:#cedff2;
border:1px solid #a3b0bf;
margin-top:2ex;
}
table#mainpage td.topright
{
vertical-align:top;
padding:1em;
width:50%;
background-color:#fff5f5;
border:1px solid #f2cece;
border-radius:7px;
}
table#mainpage td.topright h2
{
font-size:120%;
font-weight:bold;
padding:4px;
background-color:#f2cece;
border:1px solid #bfa3a3;
margin-top:2ex;
}
table#mainpage td.bottomleft
{
vertical-align:top;
padding:1em;
width:50%;
background-color:#fff5f5;
border:1px solid #f2cece;
border-radius:7px;
}
table#mainpage td.bottomleft h2
{
font-size:120%;
font-weight:bold;
padding:4px;
background-color:#f2cece;
border:1px solid #bfa3a3;
margin-top:2ex;
}
table#mainpage td.bottomright
{
vertical-align:top;
padding:1em;
width:50%;
background-color:#f5faff;
border:1px solid #cedff2;
border-radius:7px;
}
table#mainpage td.bottomright h2
{
font-size:120%;
font-weight:bold;
padding:4px;
background-color:#cedff2;
border:1px solid #a3b0bf;
margin-top:2ex;
}
table#mainpage td h3
{
font-size:110%;
}
/* Wikitable (Prettytable) class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
empty-cells: show;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px #aaaaaa solid;
padding: 0.2em 0.4em;
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
background: #8da7d6;
text-align: center;
}
table.wikitable td.hl1, table.wikitable th.hl1,
table.prettytable td.hl1, table.wikitable th.hl1 {
background: #c5d8fc;
text-align: center;
}
table.wikitable td.hl2, table.wikitable th.hl2,
table.prettytable td.hl2, table.wikitable th.hl2 {
background: #a7c1f2;
text-align: center;
}
table.wikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
table.wikitable th {
background-color: white;
}
table.wikitable tr.odd {
background-color: skyblue;
}
table.wikitable tr.even {
background-color: white;
}