This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.

MediaWiki:Common.css: Difference between revisions

Free texts and images.
Jump to navigation Jump to search
imported>Marc
cf. http://en.wikipedia.org/wiki/User:Dodo%C3%AFste/navmenu.css
imported>Electron
sm.
 
(16 intermediate revisions by 4 users not shown)
Line 73: Line 73:
******************/
******************/
/* transcluded pages */
/* transcluded pages */
.pagetext {
  width: 33em;
  text-align: justify;
  position:relative;
}
.pagetext p {
  text-indent: 2em
}
.lefttext p {
.lefttext p {
text-indent:2em;
text-indent:2em;
Line 114: Line 124:
.LanguageLinks span { white-space: nowrap; }
.LanguageLinks span { white-space: nowrap; }


/* classe utilisée par le modèle Livre2Scanné */
/* classe utilisée pour utiliser une image comme un lien, par exemple pour l'icône livre dans le modèle L2S */
.openbook {
span.imagelink > a > img:hover{ border-bottom: 1px solid #0645AD;}
  background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/9/92/Open_book_nae_02.svg/20px-Open_book_nae_02.svg.png) center right no-repeat;
 
.allpagesredirect a, .watchlistredir a {
  color:#00BB00;
  font-style:italic;
}
}


.navigation {  
/********************
      margin: 0;  
* Differentiate notes *
      padding: 0;  
********************/
      list-style: none;  
.references {  
      width: 17em;  
color:darkslategray;  
      font: 1.1em;  
font-size:90%;  
      }
border-style:solid;  
  .navigation a, .navigation span {
border-width:1px;  
      display: block;  
border-color:whitesmoke;  
      padding-left: 10px;
background-color:snow;
      }  
padding:20px;  
  .navigation .toggleSubMenu a, .navigation .toggleSubMenu span {  
margin-top:20px;
      background-image: url(http://upload.wikimedia.org/wikipedia/commons/f/f7/Arrow-down-navmenu.png);  
}
      background-position : right;
 
      background-repeat: no-repeat;
/* The classes for Polish section  */
      }
 
  .navigation .open a, .navigation .open span {
.tytul {
      background-image: url(http://upload.wikimedia.org/wikipedia/commons/0/01/Arrow-up-navmenu.png);  
margin: auto;
      background-position : right;
text-align: center;
      background-repeat: no-repeat;
clear: both;
      }  
margin-top: 0em;
  .navigation a:hover, .navigation a:focus, .navigation a:active {
padding: 1em;
      text-decoration: underline;  
padding-bottom: 2em;
      }
        border-radius: 8px 8px 8px 8px;
  .navigation .subMenu {  
}
      list-style: none;
 
      font-size: 1em;  
.proza p {text-indent: 0.5cm; margin-bottom: 0ex; margin-top: 0ex; text-align: justify;}
      background-color: #ccc
 
      margin: 0;
.poem {
      margin-left: 1em;  
margin-bottom: 0em;
      padding: 0;
margin-top: 0em;
      }  
line-height: 1.6em;
  .navigation .subMenuA {  
margin-left: 1em;
      border-top: 1px solid #C0C0C0;
}
      padding-top: 3px;
 
      padding-bottom: 3px;
div.poem p, div .poem dl, div .poem dl dd {
      }
margin-bottom: 0em !important;
  .navigation ul.subMenu a {
margin-top: 0em !important;
      background: none;  
}
      padding-left: 10px;  
 
      }
/* Class for template {{stub}} */
  .navigation ul.subMenu li {  
.detail, .details {
      position:relative;
        margin: 0.2em 2em 0.2em 2em;
      }
        border: 1px solid #e7e7e7;
  .navigation .selflink {  
        border-width: 1px 0;
      padding-left: 10px;
        text-align:left;
      }
        font-size:95%;
        background: #fdfdfd;
        padding:1px 4px;
        display: table;
}
.detail > span {
        display: table-row;
}
.detail > span > span {
        display: table-cell;
        padding-left: 4px;
        width:100%;
}

Latest revision as of 22:04, 10 May 2015

=== General ===

#privacy li {
  display:none;
  }
#disclaimer li {
  display:none;
  }

==={{[[template:header|header]]}}===

table.headertemplate {
	width:100%;
	margin-bottom:5px;
	border:1px solid #ADA;
	background:#E4F2E4;
	text-align:center;
	font-size:0.9em;
}

.headertemplate .header_backlink, .headertemplate .header_forelink {
	width:20%; font-size:0.9em;
} 

.header_notes {
	width:100%;
	border-bottom:1px solid #A88;
	background:#FAFAFF;
	font-size:0.9em;
}

.headertemplate .header_title { width: 60%; }
.headertemplate .header_backlink { text-align:left; }
.headertemplate .header_forelink { text-align:right; }

/* </pre>

==={{[[template:author|author]]}}===
<pre> */
.authortemplate {
	width:100%;
	margin-bottom:5px;
	border:1px solid #BEA2A2;
	background:#E4D8D8;
}

.authortemplate .author_backlink, .authortemplate .author_forelink {
	width:20%;
	font-size:0.9em;
}

.authortemplate .author_name { 
	width:60%;
	text-align:center;
}

.author_notes {
	width:100%;
	border-bottom:1px solid #A88;
	background:#FFFBFC;
	font-size:0.9em;
}

.author_seealso {
	float:right;
	padding:2px;
	margin:0 0 0.5em 1em;
	border:1px solid #CCC;
}

/*****************
* Page namespace *
******************/
/* transcluded pages */

.pagetext {
  width: 33em;
  text-align: justify;
  position:relative;
}
.pagetext p {
  text-indent: 2em
}

.lefttext p {
	text-indent:2em;
}
.lefttext {
	width:33em;
	text-align:justify;
	margin:5em;
}
.quote {
        color: darkslategray;
        margin-left: 2em;
        margin-right: 2em;
}

/* Justify */
body.ns-104 {
	text-align:justify;
}

/* indicateurs de qualité de proofreadpage */ 
.quality4 { background:#90ff90; }
.quality3 { background:#ffe867; }
.quality2 { background:#b0b0ff; }
.quality1 { background:#ffa0a0; }
.quality0 { background:#dddddd; }

/********************
* Language template *
*********************/
.LanguageLinks { margin-top: 0.5em; }
.LanguageLinks table {
  clear: both;
  border: 1px solid #aaaaaa;
  border-collapse: collapse;
  padding: 0.2em;
  margin: 0;
  font-size: 85%;
  margin: 0 1px;
}
.LanguageLinks span { white-space: nowrap; }

/* classe utilisée pour utiliser une image comme un lien, par exemple pour l'icône livre dans le modèle L2S */
span.imagelink > a > img:hover{ border-bottom: 1px solid #0645AD;}

 .allpagesredirect a, .watchlistredir a {
  color:#00BB00;
  font-style:italic;
}

/********************
* Differentiate notes *
********************/
.references { 
 color:darkslategray; 
 font-size:90%; 
 border-style:solid; 
 border-width:1px; 
 border-color:whitesmoke; 
 background-color:snow; 
 padding:20px; 
 margin-top:20px;
}

/* The classes for Polish section  */

.tytul {
	margin: auto;
	text-align: center;
	clear: both;
	margin-top: 0em;
	padding: 1em;
	padding-bottom: 2em;
        border-radius: 8px 8px 8px 8px;
}

.proza p {text-indent: 0.5cm; margin-bottom: 0ex; margin-top: 0ex; text-align: justify;}

.poem {
	margin-bottom: 0em;
	margin-top: 0em;
	line-height: 1.6em;
	margin-left: 1em;
}

div.poem p, div .poem dl, div .poem dl dd {
	margin-bottom: 0em !important;
	margin-top: 0em !important;
}

/* Class for template {{stub}} */
.detail, .details {
        margin: 0.2em 2em 0.2em 2em;
        border: 1px solid #e7e7e7;
        border-width: 1px 0;
        text-align:left;
        font-size:95%;
        background: #fdfdfd;
        padding:1px 4px;
        display: table;
}
.detail > span {
        display: table-row;
}
.detail > span > span {
        display: table-cell;
        padding-left: 4px;
        width:100%;
}