Différences entre les versions de « MediaWiki:Common.css »

De Wiki'Danaroth
Aller à la navigation Aller à la recherche
 
(6 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* Le CSS placé ici sera appliqué à tous les habillages. */


body {
#n-randompage { display: none; }
   background-color: #ede6d0;
#p-tb { display: none; }
#t-whatlinkshere { display: none; }
#t-specialpages { display: none; }
#footer {display: none; }
#p-navigation {display: none; }
#p-namespaces {display: none; }
 
/* ############################## */
/* ### QUOTES                ### */
/* ### (Template:Quotation)   ### */
/* ############################## */
/* Container */
 
.va-quotation {
  line-height: 1.2em;
  padding: 1em 1em;
  overflow: hidden;
}
}


.va-quotation-body {
  display: flex;
}
.va-quotation-quote {
  display: flex;
  position: relative;
  z-index: 1;
}
.va-quotation-left,
.va-quotation-right {
  border-bottom: 0px solid #AAA;
  border-top: 0px solid #AAA;
  width: 5%;
}
.va-quotation-left {
  clear: left;
  float: left;
  margin: 1em 1em 1em 0;
}
.va-quotation-right {
  clear: right;
  float: right;
  margin: 1em 0 1em 1em;
}
.va-quotation-center {
  text-align: center;
}
.va-quotation-center .va-quotation-body {
  display: inline-block;
}
/* Quotation marks/icons */
.va-quotation-quot-l,
.va-quotation-quot-r {
  width: 2%;
  z-index: -1;
  position: absolute;
  color: #DBD2CC;
  font: bold 4em serif;
  height: 1,5em;
}
.va-transcript-icon {
  position: relative;
}
.va-quotation-quot-l {
  left: -15px;
  text-align: left;
}
.va-quotation-quot-r {
  right: -15px;
  text-align: right;
}
.va-quotation-quot-l {
  top: 0px;
}
.va-quotation-quot-r {
  bottom: 0px;
}
/* Quoted text/audio file desc */
.va-quotation-text {
  font-size: 1em;
  font-style: italic;
  display: block;
  margin-top: -0.4em;
  text-align: left;
}
.va-quotation-text ol,
.va-quotation-text p,
.va-quotation-text ul {
  margin-bottom: 0;
}
/* Source */
.va-quotation-source {
  padding: 5px 0 0;
  text-align: right;
  display: block;
  font-size: 1em;
  line-height: 1em;
}
.blockquote {
    margin: 0;
}
.blockquote p {
    padding: 1em;
    background: #eee;
    border-radius: 5px;
}
.blockquote p::before {
    content: '\201C';
}
.blockquote p::after {
    content: '\201D';
}
.figure {
    border: thin #c0c0c0 solid;
    display: flex;
    flex-flow: column;
    padding: 5px;
    max-width: 220px;
    margin: auto;
}


header {
.figcaption {
  background-color: #ede6d0;
    background-color: #222;
    color: #fff;
    font: italic smaller sans-serif;
    padding: 3px;
    text-align: center;
}
}

Version actuelle datée du 16 décembre 2022 à 13:22

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

#n-randompage { display: none; }
#p-tb { display: none; }
#t-whatlinkshere { display: none; }
#t-specialpages { display: none; }
#footer {display: none; }
#p-navigation {display: none; }
#p-namespaces {display: none; }

/* ############################## */
/* ### QUOTES                 ### */
/* ### (Template:Quotation)   ### */
/* ############################## */
 
/* Container */

.va-quotation {
   line-height: 1.2em;
   padding: 1em 1em;
   overflow: hidden;
}

.va-quotation-body {
   display: flex;
}
 
.va-quotation-quote {
   display: flex;
   position: relative;
   z-index: 1;
}
 
.va-quotation-left,
.va-quotation-right {
   border-bottom: 0px solid #AAA;
   border-top: 0px solid #AAA;
   width: 5%;
}
 
.va-quotation-left {
   clear: left;
   float: left;
   margin: 1em 1em 1em 0;
}
 
.va-quotation-right {
   clear: right;
   float: right;
   margin: 1em 0 1em 1em;
}
 
.va-quotation-center {
   text-align: center;
}
 
.va-quotation-center .va-quotation-body {
   display: inline-block;
}
 
/* Quotation marks/icons */
.va-quotation-quot-l,
.va-quotation-quot-r {
   width: 2%;
   z-index: -1;
   position: absolute;
   color: #DBD2CC;
   font: bold 4em serif;
   height: 1,5em;
}

.va-transcript-icon {
   position: relative;
}
 
.va-quotation-quot-l {
   left: -15px;
   text-align: left;
}
 
.va-quotation-quot-r {
   right: -15px;
   text-align: right;
}
 
.va-quotation-quot-l {
   top: 0px;
}
 
.va-quotation-quot-r {
   bottom: 0px;
}
 
/* Quoted text/audio file desc */
.va-quotation-text {
   font-size: 1em;
   font-style: italic;
   display: block;
   margin-top: -0.4em;
   text-align: left;
}
 
.va-quotation-text ol,
.va-quotation-text p,
.va-quotation-text ul {
   margin-bottom: 0;
}
 
/* Source */
.va-quotation-source {
   padding: 5px 0 0;
   text-align: right;
   display: block;
   font-size: 1em;
   line-height: 1em;
}

.blockquote {
    margin: 0;
}

.blockquote p {
    padding: 1em;
    background: #eee;
    border-radius: 5px;
}

.blockquote p::before {
    content: '\201C';
}

.blockquote p::after {
    content: '\201D';
}

.figure {
    border: thin #c0c0c0 solid;
    display: flex;
    flex-flow: column;
    padding: 5px;
    max-width: 220px;
    margin: auto;
}

.figcaption {
    background-color: #222;
    color: #fff;
    font: italic smaller sans-serif;
    padding: 3px;
    text-align: center;
}