Difference between revisions of "MediaWiki:Common.css"
From GothicDB
| Line 170: | Line 170: | ||
| } | } | ||
| .mw-parser-output p | .mw-parser-output p { | ||
|    content: ''; |    content: 'test'; | ||
| } | } | ||
Revision as of 12:28, 8 February 2022
/* Le CSS placé ici sera appliqué à tous les habillages. */
/*Barres colorées du haut*/
@media screen and (max-width: 850px)
{
.color-right, .color-middle, .color-left {
    background: black;
}
}
@media screen and (max-width: 850px)
{
.color-middle {
    background: #93192d;
}
}
.color-right {
    background: black;
}
.color-left {
    background: black;
}
.color-middle {
    background: #93192d;
}
/*Fin barres colorées du haut*/
/*Autre barres colorées */
.mw-body h1.firstHeading {
    border-bottom: solid 4px #d61a47;
}
.tools-inline li.selected {
    border-bottom-color: #d61a47;
}
#mw-content-container {
    border-bottom: solid 4px #d61a47;
}
/*Fin autres barres colorées*/
#mw-site-navigation .sidebar-chunk h3, #mw-related-navigation .sidebar-chunk h3 {
    border-bottom: solid 2px #d61a47;
}
.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 400px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}
.testTable {
    width: 200px;
    float: right;
}
.wikitable{
    float: right;
}
#toc::after{
    clear: both;
}
.mw-wiki-logo.fallback{
    height: 5em;
}
.wrapperTest {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
  grid-auto-rows: minmax(30px,auto);
  min-width: 270px;
  max-width: 370px;
  background: #eee;
  border: 1px solid #aaa;
  padding: 1em;
  float:right;
  margin-left: 1em;
}
.title{
  /*grid-column: 3;
  grid-row: 1;*/
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row: 1;
  text-align: center;
  background-color: #93192d;
  color: #FFFFFF;
  font-size: 120%;
  padding: 1em;
}
.image{
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row: 2;
  padding: 1em;
  text-align: center;
}
.known {
  grid-column: 1;
  grid-row: 3;
}
.knownField {
  grid-column: 2;
  grid-row: 3;
}
.country {
  grid-column: 1;
  grid-row: 4;
}
.countryField {
  grid-column: 2;
  grid-row: 4;
}
.genres {
  grid-column: 1;
  grid-row: 5;
}
.genresField {
  grid-column: 2;
  grid-row: 5;
}
.years {
  grid-column: 1;
  grid-row: 6;
}
.yearsField {
  grid-column: 2;
  grid-row: 6;
}
.website {
  grid-column: 1;
  grid-row: 7;
}
.websiteField{
  grid-column: 2;
  grid-row: 7;
}
.titreGras {
  font-weight: bold;
  width: 100px 30%;
}
.mw-parser-output p {
  content: 'test';
}
