MediaWiki:Common.css : Différence entre versions
De Free 4 Funs
| (Une révision intermédiaire par le même utilisateur non affichée) | |||
| Ligne 8 : | Ligne 8 : | ||
} | } | ||
| + | |||
| + | table.todo_array { | ||
| + | background-color: #D4D4D4; | ||
| + | border: 1px solid #d4ffd0; | ||
| + | border-radius: 5px; | ||
| + | } | ||
| + | td.todo_subarray { | ||
| + | background: -moz-linear-gradient(100% 0 270deg, #99ff99, #D4D4D4 100%) repeat scroll 0 0 rgba(0, 0, 0, 0); | ||
| + | border: 5px none #000000; | ||
| + | border-radius: 5px 5px 0 0; | ||
| + | } | ||
table.command_array { | table.command_array { | ||
Version actuelle en date du 10 février 2015 à 01:24
/* Le CSS placé ici sera appliqué à tous les habillages. */
div.mw-geshi {
background-color: #f9f9f9;
padding: 1em;
margin:1em 0;
border: 1px dashed #2f6fab;
}
table.todo_array {
background-color: #D4D4D4;
border: 1px solid #d4ffd0;
border-radius: 5px;
}
td.todo_subarray {
background: -moz-linear-gradient(100% 0 270deg, #99ff99, #D4D4D4 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
border: 5px none #000000;
border-radius: 5px 5px 0 0;
}
table.command_array {
background-color: #f1fff0;
border: 1px solid #d4ffd0;
border-radius: 5px;
}
td.command_subarray {
background: -moz-linear-gradient(100% 0 270deg, #99ff99, #f1fff0 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
border: 5px none #000000;
border-radius: 5px 5px 0 0;
}
table.config_array {
background-color: #f0f8ff;
border: 1px solid #d0e7ff;
border-radius: 5px;
}
td.config_subarray {
background: -moz-linear-gradient(100% 0 270deg, #99ccff, #f0f8ff 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
border: 5px none #000000;
border-radius: 5px 5px 0 0;
}
table.notes_array {
background-color: #fefff0;
border: 1px solid #fffcd0;
border-radius: 5px;
}
td.notes_subarray {
background: -moz-linear-gradient(100% 0 270deg, #fffe99, #fffff0 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
border: 5px none #000000;
border-radius: 5px 5px 0 0;
}
table.warning_array {
background-color: #fff0f0;
border: 1px solid #ffd0d0;
border-radius: 5px;
}
td.warning_subarray {
background: -moz-linear-gradient(100% 0 270deg, #ffd0d0, #fff0f0 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
border: 5px none #000000;
border-radius: 5px 5px 0 0;
}
table.rappel_array {
background-color: #d01b1b;
border: 1px solid #ffd0d0;
border-radius: 5px;
}
td.rappel_subarray {
background: -moz-linear-gradient(100% 0 270deg, #ffd0d0, d01b1b 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
border: 5px none #000000;
border-radius: 5px 5px 0 0;
}
div.myindex {
background: -moz-linear-gradient(left center , #c2e2f4 0%, #ffffff 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
border: 0 solid #000000;
border-radius: 10px 0 0 10px;
}
<!-- No [view source] tab on protected pages -->
<?php global $wgTitle; if( $wgTitle->isProtected('edit') ) { ?>
<style type="text/css">
#ca-viewsource { display: none !important; }
</style>
<?php } ?>
<!-- No [view source] tab for anonymous users -->
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
<style type="text/css">
#ca-viewsource { display: none !important; }
</style>
<?php } ?>
<!-- No [view source] tab for anonymous users -->
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
<style type="text/css">
#ca-history { display: none !important; }
</style>
<?php } ?>
<!-- No [view source] tab for users who can not edit -->
<?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?>
<style type="text/css">
#ca-viewsource { display: none !important; }
</style>
<?php } ?>
<!-- No [view source] tab on protected pages for users who can not delete -->
<?php global $wgTitle, $wgUser; if( $wgTitle->isProtected('edit') && !$wgUser->isAllowed('delete') ) { ?>
<style type="text/css">
#ca-viewsource { display: none !important; }
</style>
<?php } ?>