MediaWiki:Common.css

/*================================================				   Common.css

=
===================================*/

/* Note: CSS placed here will be applied to all skins. */

/*================================================					 Colours

=
===================================*/


 * root {

/* surface colours */ --background: #0C161E; --background_dark: #090E18; --surface: #131D25; --surface_dark: #19262C; --surface_light: #1a262f; --surface_light_variant: #293b4a;

/* links */ --link: #4C99B9; --link_visited: #287493; --link_selected: #6BCED4; --link_hovered: var(--link_selected); --link_hover: var(--link_selected); --redlink: #ee5454; --redlink_visited: #d04848;

/* text */ --text_low_emphasis: #a4a4a4; --text_content: #d0d0d0; --text_heading: #e1e1e1;

/* component colours */ --tab_selected: #e1e1e1; --divider: rgba(164, 163, 163, 0.11) }

/*================================================					 Fonts

=
===================================*/

/* Free alternative to Starfield's menu font (NB Architekt Std Bold) */ @font-face { font-family: 'Barlow'; src: url('/w/extensions/fonts/Barlow-Medium.ttf') format('truetype'); }

@font-face { font-family: 'Barlow-Semibold'; src: url('/w/extensions/fonts/Barlow-SemiBold.ttf') format('truetype'); }

/*================================================					   Text

=
===================================*/

/* set barlow fonts on headings */ h1, h2, h3, h4, h5, h6 { font-family: "Barlow" !important; color: var(--text_heading) !important; }
 * 1) firstHeading, h1 { font-family: "Barlow-Semibold" !important; }

/* sidebar headings */ div#mw-panel div.portal h3 { text-transform: capitalize !important; font-size: medium; }

/* bullet points */ ul { list-style-type: square; list-style-image: unset !important; } li::marker { color: var(--text_low_emphasis) !important; } span.tocnumber { color: var(--text_low_emphasis) !important; }

/* set body to text content colour */ body, .mw-body-content { color: var(--text_content); }

/* set toc toggle to link colour */ .toctogglelabel { color: var(--link); } .toctogglelabel:hover { color: var(--link_hover); }

/*================================================					Surfaces

=
===================================*/

body { height: fit-content; /* ensure gradient fits whole page content */ background: url(//images.starfieldwiki.net/backgrounds/lines_transparent_075.png) no-repeat, linear-gradient(var(--background), var(--background_dark)); background-attachment: fixed; font-family: "Barlow"; font-size: 1.1em !important; /* slightly increase font size to compensate for font's smaller characters */ background-repeat: no-repeat; background-attachment: fixed; background-position: center center !important; background-size: cover; }

background: var(--surface); border: 2px solid var(--divider); }
 * 1) content, .mw-body {

background: unset !important; }
 * 1) mw-page-base {

.em-section, .em-card { background: var(--surface_light); border: solid 2px var(--divider); padding: 8px; }

/*================================================				     Sidebar

=
===================================*/


 * 1) mw-navigation #mw-panel div.portal { border-top: unset; } /* remove sidebar section borders */

/*================================================				      Links

=
===================================*/

h1, h2 { border-bottom: 1px solid var(--divider); }

/* standard links */ a:link:not(.new, a[href*="redlink"]) { color: var(--link) !important; }           /* normal link */ a:visited:not(.new) { color: var(--link_visited) !important; } /* visited link */ a:hover:not(.new) { color: var(--link_hovered) !important; }  /* hovered link */

/* redlinks */ a.new, a[href*="redlink"] { color: var(--redlink) !important; }                         /* normal redlink */ a.new:visited, a[href*="redlink"]:visited { color: var(--redlink_visited) !important; } /* visited redlink */

/*   content: "Something doesn't look right? Tell TJ!"; color: magenta; text-shadow: black 1px 0 10px; }
 * 1) p-personal:after {

/* standard link colors / .mw-body-content a:link { color: #0000FF; } / normal unvisited links / .mw-body-content a:link:visited { color: #0B0080; } / 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: #FF0000} .mw-body-content a:visited {color: #00FF00} .mw-body-content a:hover {color: #FF00FF} .mw-body-content a:active {color: #0000FF}

.coloredlinks a { color:inherit; }

/*================================================				      Home

=
===================================*/

/* make title heading on homepage ALL CAPS */ .rootpage-Home .mw-headline:not(.news-div span), .rootpage-Home #firstHeading { text-transform: capitalize !important; }

/* disable underlines on headers on home */ .rootpage-Home h2 { border-bottom: unset; margin-bottom: 0.5em !important; }

/* banner */ overflow: hidden; max-height: 300px; min-height: 150px; border: solid 2px var(--divider); position: relative; display: flex; }   width: inherit !important; height: inherit !important; margin: 0; line-height: 0; } .em-hero-banner-background { position: absolute; height: 100%; width: 100%; } .em-hero-background-img { height: 100% !important; width: 100% !important; object-fit: cover !important; object-position: center; } .em-hero-logo { filter: drop-shadow(1px 2px 5px black); width: clamp(100px, 30vw, 350px) !important; } .em-hero-banner-content { display: inline-flex; flex-direction: row; place-items: center !important; position: relative; backdrop-filter: blur(3px) brightness(0.7); flex-grow: 1; text-align: center; justify-content: space-around; } .em-hero-banner-content p { line-height: 1.6 !important; margin: 0.5em 0 !important; } .em-hero-banner-content-text { max-width: 25vw; /* constrain text width for readability */ min-width: 300px; color: var(--text_heading); text-shadow: 1px 2px 5px black; }
 * 1) em-hero-banner {
 * 1) em-hero-banner p {

/* content grid */ .content_grid { display: flex; color: var(--text_heading); font-size: 1.2rem; text-shadow: 1px 2px 5px black; font-family: "Barlow-Semibold"; gap: 16px; flex-wrap: wrap; justify-content: center; padding: 8px; }

.content_grid .thumb { width: fit-content; height: fit-content; clear: unset; float: unset; margin: 0; }

.content_grid .thumbinner { position: relative; width: fit-content !important; height: fit-content !important; }

.content_grid .thumbcaption { position: absolute; bottom: 5px; left: 5px; pointer-events: none; }

.content_image { width: 160px; height: 70px; object-fit: cover; }

/*================================================				      Tabs

=
===================================*/

/* tabs */ li[id^="ca"] { text-transform: capitalize; background-image: unset !important; background-color: unset !important; font-family: "Barlow-Semibold"; font-size: 1.25em; height: fit-content !important; width: fit-content !important; padding: 5px !important; padding-left: 8px !important; padding-right: 8px !important; }

/* selected tabs */ li[id^="ca"].selected { background: var(--tab_selected) !important; color: black; }

li[id^="ca"] a { height: auto !important; margin: 0; padding: 0 !important; }

li[id^="ca"] span { display: block; }

.darkvectorTabs { position: relative; background-color: unset !important; height: fit-content !important; bottom: 1px; } .darkvectorTabs ul { background-color: unset !important; display: flex; gap: 16px; background-image: unset !important; }

/* hide tab text on watch/unwatch tab */
 * 1) ca-unwatch a, #ca-watch a { color: #0000 !important; }
 * 2) ca-unwatch a:hover, #ca-watch a:hover { color: #0000 !important; }

/* hide "read" tab */
 * 1) ca-view { display: none !important; }
 * 2) ca-viewsource { display: none !important; }


 * 1) pt-anontalk { display: none!important; }
 * 2) pt-anoncontris { display: none!important; }

margin-left: 10.5em; }
 * 1) left-navigation {

.infobox { border: 1px solid #666; border-spacing: 3px; background-color: #2a2a2a; color: white; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; font-size: 88%; line-height: 1.5em; }

div.news { margin-left: 2%; }

div.news:after { content: "."; visibility: hidden; display: block; height: 0; clear: both; }

position: relative; left: -8px; }
 * 1) sfwiki_D_2 {

margin-left: auto; margin-right: auto; }
 * 1) uespTopBannerAd {

text-align: center; left-margin: auto; margin-left: auto; margin-right: auto; }
 * 1) uespTopBannerMobileAd {

.uespMainPage { width: 100%; min-height: 200px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; min-width: 400px; }

background-color: #FCFFF0; border: 1px solid #ccaaaa; padding: 1em; margin-bottom: 5px; padding-bottom: 20px; }
 * 1) uespMainLogo {

-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin-bottom: 5px; padding: .5em 1em; /* border: 1px solid #dddddd; background-color: #2a2a2a; */ }
 * 1) em-content-main {

-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin-bottom: 5px; padding: .5em 1em; /* border: 1px solid #dddddd; background-color: #2a2a2a; */ }
 * 1) em-content-other {

background-image: url(//images.starfieldwiki.net/icons/discordiconsmall.png); background-position: top left; background-repeat: no-repeat; padding-left: 20px !important; }
 * 1) n-Discord {

background-image: url(//images.starfieldwiki.net/icons/facebookiconsmall.png); background-position: top left; background-repeat: no-repeat; padding-left: 20px !important; }
 * 1) n-Facebook {

background-image: url(//images.starfieldwiki.net/icons/twittericonsmall.png); background-position: top left; background-repeat: no-repeat; padding-left: 20px !important; }
 * 1) n-Twitter {

background-image: url(//images.starfieldwiki.net/icons/sfguidesiconsmall.png); background-position: top left; background-repeat: no-repeat; padding-left: 20px !important; }
 * 1) n-Starfield-Guides {

@media screen and (min-width: 950px) { .uespMainPage { height: auto; overflow: hidden; } #em-content-main { width: 75%; display: table-cell; } #em-content-other { display: table-cell; } }

@media screen and (min-width: 950px) { #uespMainLogo { padding-bottom: 1em; } }

height: 32px; }
 * 1) wikiEditor-ui-toolbar {

div.thumbinner { background-color: var(--surface_light_variant) !important; border-color: var(--divider) !important; border-width: 2px !important; }

.thumbimage { background-color: var(--divider) !important; border: 2px solid var(--divider); }

.catlinks { border-color: var(--divider) !important; border-width: 2px !important; background-color: var(--surface_dark); }

background-color: var(--surface_light); border-color: var(--divider); border: solid 2px var(--divider); }
 * toc, div.toc, ul#filetoc, li.gallerybox div.thumb {

/*================================================					Code Editor

=
===================================*/

/* code editor window */ .mw-highlight > pre:nth-child(1) { background-color: #1F1F1F !important; box-shadow: unset; border: solid var(--divider); color: #CCCCCC !important; }

/* code colours */ .linenos { color: #72777d !important; } .linenos:hover { color: #bbb !important; } .hil, .mw-highlight { background: #264f78 !important; } .c { color: #6A9955 !important; } /* code commments */ .nt { color: #D7BA7D !important; } .cp { color: #569CD6 !important; } .mh { color: #CE9178 !important; } .nv { color: #9CDCFE !important; } .k, .kp { color: #9CDCFE !important; } .mi, .kt, .mf { color: #B5CEA8 !important; } .nn, .nc, .nd { color: #D7BA7D !important; } .s1, .s2, .sx { color: #CE9178 !important; } .nf, .nb { color: #DCDCAA !important; } .kc { color: #CE9178 !important; } .p, .o { color: #CCCCCC !important; }

/*================================================					Debug Menu

=
===================================*/

.mw-debug { border-top: 2px solid var(--divider); }   background: var(--background_dark); } .mw-debug-pane { color: black; } .mw-debug-bits { border-color: var(--divider); } .mw-debug-panelink { background-color: var(--surface); border-right: 2px solid var(--divider); } .mw-debug-panelink.current { background-color: var(--surface_dark); } .mw-debug-panelink:first-child { border-left: 2px solid var(--divider); } .mw-debug-panelink:hover { background-color: var(--surface_light); }
 * 1) mw-debug-toolbar {