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

De Adadov.net wiki
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 10 : Ligne 10 :
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;
}
pre, code, tt, kbd, samp {
  background-color: #333333;
  color: white;
  font-family: consolas,monaco,"bitstream vera sans mono"," courier new ",courier,monospace;
  font-size: 12px;
  overflow-x: auto;
  white-space: pre;
}
}



Version du 18 avril 2012 à 09:11

/* Le CSS placé ici sera appliqué à tous les habillages. */

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

pre, code, tt, kbd, samp {
  background-color: #333333;
  color: white;
  font-family: consolas,monaco,"bitstream vera sans mono"," courier new ",courier,monospace;
  font-size: 12px;
  overflow-x: auto;
  white-space: pre;
}

.wgTemplateWarning {
  border: 1px solid red;
  background: none repeat scroll 0 0 #FFE4E4;
  margin: 5px auto;
  padding: 10px;
}

.toc, .wgTemplateWarning {
  min-width: 70%;
  margin: 10px auto;
}

.toc {
  border: 1px dotted #AAAAAA;
}

code {
  background-color: #F1F1F1;
}

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: #C4D6FF;
  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.Printlinux-code {
  display: block;
}

div.linux-code pre {
  border: 0;
  background-color: inherit;
  font-family: inherit;
  font-weight: 500;
  margin: 0;
  padding: 0;
}