Forskel mellem versioner af "MediaWiki:Common.css"

Linje 7: Linje 7:
  
  
<!-- No [https://banewiki.dk/wiki/Speciel:Specialsider] tab for anonymous users -->
+
private function renderPortals( $portals ) { // Force the rendering of the following portals
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
+
    global $wgUser;
      <style type="text/css">
+
    if ( !isset( $portals['SEARCH'] ) ) $portals['SEARCH'] = true;
         #ca-viewsource { display: none !important; }
+
case 'TOOLBOX':
      </style>  
+
    if ( $wgUser->isLoggedIn() ) {
    <?php } ?>
+
         $this->renderPortal( 'tb', $this->getToolbox(), 'toolbox', 'SkinTemplateToolboxEnd' );
  
 
/* standard link colors */
 
/* standard link colors */

Versionen fra 20. nov 2019, 07:38

/* Fælles CSS for alle udseender */

/* Diskussion fjernet */
#ca-talk { 
display:none!important;
}


private function renderPortals( $portals ) { // Force the rendering of the following portals
    global $wgUser;
    if ( !isset( $portals['SEARCH'] ) ) $portals['SEARCH'] = true;
case 'TOOLBOX':
    if ( $wgUser->isLoggedIn() ) {
        $this->renderPortal( 'tb', $this->getToolbox(), 'toolbox', 'SkinTemplateToolboxEnd' );

/* 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}