|
|
(49 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| /* CSS placed here will affect users of the Monobook skin */ | | /* Translate Extension customisation */ |
| | #mw-content-text hr { |
| | display: none; |
| | } |
| | |
| | div.mw-translate-page-info { |
| | text-align:right |
| | } |
| | |
| | div.mw-pt-translate-header { |
| | text-align:right |
| | } |
|
| |
|
| .divlang { | | div.mw-pt-languages { |
| background: #F9F9F9; | | background: #F9F9F9; |
| border: 1px solid #E9E9E9; | | border: 1px solid #E9E9E9; |
| font-size: 0.85em;
| |
| margin: 0 0 1em 0; | | margin: 0 0 1em 0; |
| padding: 0.5em 1em;
| |
| text-align: left; | | text-align: left; |
| } | | } |
|
| | |
| .divlang ul { | | div.mw-pt-languages table { |
| display: inline; | | background: transparent; |
| margin-left: 0; | | border-width: 0px; |
| padding-left: 0; | | margin: 0px; |
| | padding: 0px; |
| } | | } |
|
| | |
| .divlang ul li { | | td.mw-pt-languages-label { |
| border-left: 1px solid #E4E4E4;
| | display: none; |
| display: inline;
| |
| list-style: none;
| |
| margin-left: 0;
| |
| padding: 0 0.5em;
| |
| }
| |
| | |
| .divlang ul li.firstlang {
| |
| border-left: none;
| |
| display: inline;
| |
| list-style: none;
| |
| margin-left: 0;
| |
| padding-left: 0;
| |
| } | | } |
|
| |
|
| /* WIKITABLE */ | | /* Nice "wikitable" table class */ |
|
| | table.wikitable { |
| /* Classe pour tableaux standards, légèrement grisés. Syntaxe : {| class="wikitable" */
| |
|
| |
| /* Tableaux selon la charte graphique. Ils sont centrés par défaut. */
| |
| table.wikitable { /* monobookocentré debut */ | |
| margin-top:1em; | | margin-top:1em; |
| margin-bottom:1em; | | margin-bottom:1em; |
Line 58: |
Line 52: |
| margin-left:inherit; | | margin-left:inherit; |
| margin-right:inherit; | | margin-right:inherit; |
| } /* monobookocentré fin */
| |
|
| |
| /* Alignement du tableau : flottant à droite ou à gauche, ou centré. On peut aligner à droite ou à gauche
| |
| sans flottement en ajoutant le [[modèle:clr]] en bas du tableau, ou en précisant style="float:none"
| |
| dans l'en-tête du tableau. */
| |
| table.gauche {
| |
| float:left;
| |
| margin:0 1em 1em 0;
| |
| } | | } |
|
| | |
| table.droite {
| | /* Widget template */ |
| float:right;
| | div.widget_title { |
| margin:0 0 1em 1em;
| | background-image: url('//upload.wikimedia.org/wikipedia/commons/8/8c/Bluebg_rounded_croped.png'); |
| }
| | background-repeat: no-repeat; |
|
| | height: 32px; |
| table.centre {
| | position: relative; |
| margin:1em auto;
| | top: 2px; |
| | margin: 0px; |
| } | | } |
|
| |
|
| /* Buttons | | /* Language font */ |
| ----------------------------------------------------------------------*/
| | [lang=fa] { font-family: |
| .button {display: block; margin: 0; margin-left: 5px; padding: 0; float: left; clear: none; background: transparent url(/skins/dload.png) no-repeat 100% -26px; position: absolute; top: 140px; text-decoration:none !important; }
| | Tahoma, 'DejaVu Sans', sans-serif; } |
| .button span {display: block; margin: 0; padding: 3px 6px 7px 9px; float: left; clear: none; background: transparent url(/skins/more.png) no-repeat 0 -26px; position: relative; cursor: pointer;}
| |
|
| |
|
| .button-more {padding: 0 20px 0 0;background: transparent url(/skins/dload.png) no-repeat 100% -26px;}
| | /* Hide title on main page */ |
| .button-more span {background: transparent url(/skins/dload.png) no-repeat 0 -26px;} | | body.page-Main_Page div.mw-body h1.firstHeading { |
| | display: none; |
| | } |
|
| |
|
| .button-dload {padding: 0 36px 0 0;background: transparent url(/skins/dload.png) no-repeat 100% -50px; background-position:100% 0;}
| | /* Custom logo size */ |
| .button-dload span {height:30px;padding:10px 7px 10px 11px;background: transparent url(/skins/more.png) no-repeat 0 -50px;color:#92ff30; background-position:0 0;}
| | #p-logo { |
| .button-dload span strong {font-weight:bold;color:#fff;font-size:108%;display:block;line-height:1; } | | width: 146px; |
| | | height: 125px; |
| .button:hover {background-position:100% 0;}
| | } |
| .button:hover span {background-position:0 0;}
| | } |
| | } |