Forskel mellem versioner af "MediaWiki:Common.css"
RUBA (diskussion | bidrag) |
RUBA (diskussion | bidrag) |
||
Linje 7: | Linje 7: | ||
− | + | <!-- No [view source] tab for anonymous users --> | |
− | + | <?php global $wgUser; if( $wgUser->isAnon() ) { ?> | |
− | + | <style type="text/css"> | |
− | + | #ca-viewsource { display: none !important; } | |
− | + | </style> | |
− | + | <?php } ?> | |
/* standard link colors */ | /* standard link colors */ |
Versionen fra 20. nov 2019, 07:42
/* Fælles CSS for alle udseender */
/* Diskussion fjernet */
#ca-talk {
display:none!important;
}
<!-- No [view source] tab for anonymous users -->
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
<style type="text/css">
#ca-viewsource { display: none !important; }
</style>
<?php } ?>
/* standard link colors */
.mw-body-content a:link { color: #337890; } /* normal unvisited links */
.mw-body-content a:link:visited { color: #337890; } /* visited links */
.mw-body-content a:link:active { color: #FF0000; } /* active links */
.mw-body-content a:link.new { color: #FF0000; } /* new links */
.mw-body-content a:link.extiw { color: #3366BB; } /* interwiki links */
.mw-body-content a:link.external { color: #3366BB; } /* external links */
.mw-body-content a:link.stub { color: #772233; } /* hovered links */
.mw-body-content a:link {color: #337890}
.mw-body-content a:visited {color: #337890}
.mw-body-content a:hover {color: #2e89a1; text-decoration: underline; }
.mw-body-content a:active {color: #0000FF}