« MediaWiki:Common.css » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 34 : | Ligne 34 : | ||
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover { | h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover { | ||
border-bottom: 1px dotted lightblue; | border-bottom: 1px dotted lightblue; | ||
} | |||
.ns-template pre, .ns-template code { | |||
background-color: #f9f9f9; | |||
border: 1px solid #ddd; | |||
color: black; | |||
padding: 1em; | |||
} | } | ||
Version du 12 janvier 2015 à 07:22
/* Le CSS placé ici sera appliqué à tous les habillages. */
#firstHeading {
font-size: 225%;
}
h1 {
font-size: 280%;
}
h2 {
font-size: 220%;
}
h2 .editsection {
font-size: 47%;
}
h3 {
font-size: 175%;
}
h3 .editsection {
font-size: 52%;
}
h1, h2, h3, h4, h5, h6 {
border-bottom: 1px solid lightblue;
color: #5C5AFE;
font-weight: normal;
margin: 20px 0;
}
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
border-bottom: 1px dotted lightblue;
}
.ns-template pre, .ns-template code {
background-color: #f9f9f9;
border: 1px solid #ddd;
color: black;
padding: 1em;
}
pre, code, tt, kbd, samp {
background-color: #333333;
color: white;
font-family: monospace,monaco,"bitstream vera sans mono","courier new",courier;
font-size: 12px;
overflow-x: auto;
white-space: pre;
border: 1px solid #929292;
}
.wgTemplateWarning {
border: 1px solid red;
background: none repeat scroll 0 0 #FFE4E4;
margin: 5px auto;
padding: 10px;
text-align: center;
}
.toc, .wgTemplateWarning {
width: 70%;
margin: 10px auto;
}
.toc {
border: 1px dotted #AAAAAA;
}
.css, .javascript {
background-color: #F9F9F9;
color: #000000;
border: 1px dashed #2F6FAB;
}
div.wgTemplate {
background-color: white;
border-radius: 6px 6px 6px 6px;
box-shadow: 1px 1px 13px #CACBCD;
margin: 20px 30px;
padding: 1.5em;
}
span.linux-code-prompt {
}
div.linux-code {
background-color: #E3F3FE;
border-color: #004DFF;
border-style: solid;
border-width: 1px 1px 1px 20px;
color: #000000;
font-family: monospace,"Courier New";
font-size: 13px;
margin: 5px;
padding: 5px 10px;
width: 90%;
}
div.linux-code pre {
border: 0;
background-color: inherit;
font-family: inherit;
font-weight: 500;
margin: 0;
padding: 0;
color: inherit;
}
div.sql-code {
background-color: #E3FEE4;
border-color: #179D00;
border-style: solid;
border-width: 1px 1px 1px 20px;
color: #000000;
font-family: monospace,"Courier New";
font-size: 13px;
margin: 5px;
padding: 5px 10px;
width: 90%;
}
div.sql-code pre {
border: 0;
background-color: inherit;
font-family: inherit;
font-weight: 500;
margin: 0;
padding: 0;
color: inherit;
}
#p-search form, #p-search input {
margin: 0 0.5em;
}