Common.css: Difference between revisions
From Spacefaring
Created page with "→CSS placed here will be applied to all skins: →External links are green: .mw-body-content a.external {color: #008000} .mw-body-content a.external:visited {color: #008000} →Redlinks are near black: .mw-body-content a.new {color: #303030} .mw-body-content a.new:visited {color: #303030} →Collapsible elements. Toggle-link moved to left. /* Margin around it adjusted. see https://www.mediawiki.org/wiki/Manual:Collapsible_elements: .mw-collapsible span.mw-c..." |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.vis-item .vis-item-overflow { | |||
overflow: visible !important; | |||
} | |||
.gsc-input-box { | |||
border: 0px solid #dfe1e5 !important; | |||
padding: 0px 0px !important; | |||
margin-bottom: 0px !important; | |||
} | |||
.gsc-input { | |||
border: 0px solid #dfe1e5 !important; | |||
padding: 0px 0px !important; | |||
margin-bottom: 0px !important; | |||
} | |||
.gsib_b { | |||
display:none !important; | |||
} | |||
.gsib_a { | |||
padding: 0px 0px 0px 0px !important; | |||
} | |||
/* External links are green */ | /* External links are green */ | ||
| Line 6: | Line 27: | ||
/* Redlinks are near black */ | /* Redlinks are near black */ | ||
<!-- | |||
.mw-body-content a.new {color: #303030} | .mw-body-content a.new {color: #303030} | ||
.mw-body-content a.new:visited {color: #303030} | .mw-body-content a.new:visited {color: #303030} | ||
--> | |||
.mw-selflink {font-weight: bold} | |||
/* Collapsible elements. Toggle-link moved to left. | /* Collapsible elements. Toggle-link moved to left. | ||
| Line 92: | Line 117: | ||
#tabs-input-1-7 { display: none !important; } | #tabs-input-1-7 { display: none !important; } | ||
#tabs-input-1-8 { display: none !important; } | #tabs-input-1-8 { display: none !important; } | ||
#tabs-input-1-9 { display: none !important; } | |||
#tabs-input-1-10 { display: none !important; } | |||
Latest revision as of 20:02, 4 October 2025
/* CSS placed here will be applied to all skins */
.vis-item .vis-item-overflow {
overflow: visible !important;
}
.gsc-input-box {
border: 0px solid #dfe1e5 !important;
padding: 0px 0px !important;
margin-bottom: 0px !important;
}
.gsc-input {
border: 0px solid #dfe1e5 !important;
padding: 0px 0px !important;
margin-bottom: 0px !important;
}
.gsib_b {
display:none !important;
}
.gsib_a {
padding: 0px 0px 0px 0px !important;
}
/* External links are green */
.mw-body-content a.external {color: #008000}
.mw-body-content a.external:visited {color: #008000}
/* Redlinks are near black */
<!--
.mw-body-content a.new {color: #303030}
.mw-body-content a.new:visited {color: #303030}
-->
.mw-selflink {font-weight: bold}
/* Collapsible elements. Toggle-link moved to left.
/* Margin around it adjusted. see https://www.mediawiki.org/wiki/Manual:Collapsible_elements */
.mw-collapsible span.mw-collapsible-toggle {
float:left;
margin-left:0;
margin-right:1em;
}
/* JRB Hide icons for links and files */
div#content a.external {
background:none !important;
padding: 0px !important;
}
.galleryline {position: relative; display: inline-block; border-bottom: 1px;}
.documentline {position: relative; display: inline-block; border-bottom: 1px;}
/*.page {position: relative; display: inline-block;}*/
.galleryline .gallerycaption{
visibility: hidden;
width: 120px;
background-color: black;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
/* Position the tooltip */
position: absolute; z-index: 1; top: 100%; left: 50%; margin-left: -60px;}
.documentline .documentcaption{
visibility: hidden;
width: 120px;
background-color: black;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
/* Position the tooltip */
position: absolute; z-index: 1; top: 100%; left: 50%; margin-left: -60px;}
.galleryline:hover .gallerycaption {visibility: visible;}
.documentline:hover .documentcaption {visibility: visible;}
.mw-editsection { display: none; }
// Hide sidebar (see https://www.mediawiki.org/wiki/Manual:Interface/Sidebar#Remove_the_Sidebar_and_main_logo_at_MediaWiki:Sidebar)
#column-content { margin: 0 0 1em 0; }
#content { margin: 0 0 0 0; }
#p-cactions { left: .1em; }
//#p-logo, .generated-sidebar, #p-lang, #p-tb { display:none; }
.generated-sidebar, #p-lang, #p-tb { display:none; }
// Remove tabs etc (see https://www.mediawiki.org/wiki/Manual:Remove_Tabs)
#ca-history { display: none !important;}
#ca-viewsource { display: none !important;}
#ca-nstab-main { display: none !important; }
#ca-talk { display:none!important; }
#ca-history { display: none !important;}
#ca-view { display: none !important; }
//#actions-button { display: none !important; }
#tagline { display: none !important; }
#siteSub { display: none !important; }
#footer { display: none !important; }
// Fix a problem introduced by foreground skin that puts radio buttons by each tab
#tabs-input { display: none !important; }
#tabs-input-1-0 { display: none !important; }
#tabs-input-1-1 { display: none !important; }
#tabs-input-1-2 { display: none !important; }
#tabs-input-1-3 { display: none !important; }
#tabs-input-1-4 { display: none !important; }
#tabs-input-1-5 { display: none !important; }
#tabs-input-1-6 { display: none !important; }
#tabs-input-1-7 { display: none !important; }
#tabs-input-1-8 { display: none !important; }
#tabs-input-1-9 { display: none !important; }
#tabs-input-1-10 { display: none !important; }