« MediaWiki:Common.css » : différence entre les versions

De Adadov.net wiki
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 43 : Ligne 43 :
}
}


.ns-10 .mw-templatedata-doc-params code {
padding: 0;
}
.ns-10 pre, .ns-10 code {
.ns-10 pre, .ns-10 code {
   background-color: #f9f9f9;
   background-color: #f9f9f9;
   border: 1px solid #ddd;
   border: 1px solid #ddd;
   color: black;
   color: black;
  padding: 0;
}
}
.ns-10 pre {
.ns-10 pre {
Ligne 89 : Ligne 86 :
}
}


div.wgTemplate {
.wgTemplate {
   background-color: white;
   background-color: white;
   border-radius: 6px 6px 6px 6px;
   border-radius: 6px 6px 6px 6px;
Ligne 95 : Ligne 92 :
   margin: 20px 30px;
   margin: 20px 30px;
   padding: 1.5em;
   padding: 1.5em;
}
span.linux-code-prompt {
}
}


Ligne 149 : Ligne 142 :
#p-search form, #p-search input {
#p-search form, #p-search input {
   margin: 0 0.5em;
   margin: 0 0.5em;
}
.template-documentation {
    background-color: #ecfcf4;
    border: 1px solid #aaa;
    clear: both;
    margin: 1em 0 0;
    padding: 1em;
}
}

Version du 12 janvier 2015 à 10:26

/* 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%;
}

.ns-10 h1,.ns-10  h2,.ns-10  h3,.ns-10  h4,.ns-10  h5,.ns-10  h6 {
  border-bottom: 1px solid black;
  color: black;
  font-weight: normal;
  margin: 20px 0;
}

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-10 pre, .ns-10 code {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  color: black;
  padding: 0;
}
.ns-10 pre {
  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;
}

.wgTemplate {
  background-color: white;
  border-radius: 6px 6px 6px 6px;
  box-shadow: 1px 1px 13px #CACBCD;
  margin: 20px 30px;
  padding: 1.5em;
}

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;
}

.template-documentation {
    background-color: #ecfcf4;
    border: 1px solid #aaa;
    clear: both;
    margin: 1em 0 0;
    padding: 1em;
}