MediaWiki:Mobile.css

/*================================================				   Mobile.css

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

/* CSS placed here will be loaded for users of the mobile site */

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

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


 * root {

/* surface colours */ --background: #0C161E; --background_dark: #090E18; --surface: #131D25; --surface_dark: #131B22; --surface_light: #1a262f; --surface_light_variant: #232f39;

/* links */ --link: #4C99B9; --link_external: #4EA4C8; --link_visited: #287493; --link_external: #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); --divider_light: rgba(248, 248, 248, 0.19); }

/*================================================					 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'); }

/*================================================				     General

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

/* set up wiki logos */ transition: all var(--transition_speed); background-size: contain; background-origin: content-box; background-size: 150px; }
 * 1) p-logo a:hover, .em-hero-logo:hover { filter: drop-shadow(1px 1px 7px var(--link_visited)); }
 * 2) p-logo a {

/* create body background image/gradient */ 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); }   background: unset !important; }
 * 1) content, .mw-body {
 * 1) mw-page-base {

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

/*================================================				      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; height: fit-content !important; 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; min-height: 100%; object-fit: cover !important; object-position: center; } .em-hero-logo { filter: drop-shadow(1px 2px 5px black); width: clamp(200px, 30vw, 350px) !important; transition: all var(--transition_speed); } .em-hero-banner-content { display: inline-flex; flex-direction: column; 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 { color: var(--text_heading); text-shadow: 1px 2px 5px black; max-width: 70vw; font-size: 1rem; width: 100%; }
 * 1) em-hero-banner {
 * 1) em-hero-banner p {

/* content grid menu */ .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: 174px; height: 84px; clear: unset; float: unset; margin: 0; transition: all var(--transition_speed); border: solid 2px var(--divider); flex-grow: 1; }

.content_grid .thumb:hover .content_image { transform: scale(1.15); }

.content_grid .thumb:hover { border: solid 2px var(--divider_light); }

.content_grid .thumbinner { position: relative; height: 100% !important; width: 100% !important; padding: 0; margin: 0; border: unset; overflow: clip; }

.content_grid .thumbcaption { position: absolute; pointer-events: none; box-shadow: inset #000000a3 0px 0px 65px -12px; bottom: 0; left: 0; width: 100%; height: 100%; font-size: 1rem; }

.content_grid .thumbcaption span { position: absolute; bottom: 5px; left: 5px; }

.content_image { width: 100%; height: 100% !important; max-height: 100% !important; max-width: 100% !important; object-fit: cover; transition: all 0.3s; border: unset !important; } /*================================================					   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; }

/* style heading underlines */ h1, h2 { border-bottom: 1px solid var(--divider); }

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

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

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

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

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

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

/* standard links */ a:not(.new, a[href*="redlink"]), .mw-list-item { color: var(--link) !important; }           /* normal link */ a.external { color: var(--link_external) !important; }                       /* external link */ a:visited:not(.new, .oo-ui-buttonElement-button) { 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 */

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

/* All CSS here*/ body, #mw-mf-page-center { background-color: #2a2a2a; color: #c1c1c1; }

background-color: #2a2a2a !important; color: #c1c1c1; background-image: none; }
 * 1) mw-page-base, #mw-head-base {

.wikitable { background-color: #393939; color: #d1d1d1; }

.mw-search-profile-tabs, .toc, .mw-warning, .toccolours, .catlinks { background-color: #393939; color: #d1d1d1; border: solid 1px #555; }

background-color: #2a2a2a; color: #c1c1c1; }
 * 1) p-search {

background-color: #4C4C4C !important; color: #c1c1c1 !important; }
 * 1) searchInput {

.wikitable > tr > th, .wikitable > * > tr > th { background-color: #4C4C4C; color: #d1d1d1; }

.vector-menu-tabs { background-color: #2a2a2a; color: #c1c1c1; background-image: none; }

.vector-menu-tabs li, .vector-menu-tabs a { background-image: none; }

.vector-menu-tabs .selected { background-color: #333; color: #c1c1c1; background-image: linear-gradient(#e69710 0,#333333 10%); margin: 0; }

.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; }

.client-js .collapsible-block { }

.mw-ui-icon-mf-expand:before { background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Eexpand%3C/title%3E%3Cpath stroke=%22orange%22 fill=%22orange%22 d=%22M17.5 4.75l-7.5 7.5-7.5-7.5L1 6.25l9 9 9-9z%22/%3E%3C/svg%3E"); min-height: 1.5em; }

width: calc(100% - 75px); max-width: none; margin-right: 50px; }
 * 1) simpleSearch {

background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%3Csvg%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%20%20%3Cg%3E%0A%20%20%20%20%20%20%20%20%3Cg%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23676767%22%20d%3D%22M23%2021H1v-3h22v3z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%20%20%20%20%3Cg%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23676767%22%20d%3D%22M23%2014H1v-3h22v3z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%20%20%20%20%3Cg%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23676767%22%20d%3D%22M23%207H1V4h22v3z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A); left: -50px; right: 0; position: absolute; margin: 0 1em; background-repeat: no-repeat; float: left; display: block; min-height: 1.5em; content: ''; max-width: 32px; }
 * 1) simpleSearch:before {

.portal h3, .vector-menu-portal h3 { color: #fff; }

display: none; position: absolute; background-color: #333; z-index: 100; height: 100%; width: 100%; }
 * 1) mw-navigation #mw-panel {

.mw-ui-button { background-color: #4c4c4c; }

.mw-ui-button { background-color: #5c5c5c; }

.minerva-footer { background-color: var(--background_dark); }

.last-modified-bar { background-color: var(--background_dark); border-bottom: solid 1px var(--divider); }

.header-container.header-chrome { background-color: var(--background); }

.header .branding-box { opacity: 1; font-weight: bold; }

/*================================================				     Tables

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

table tbody, .wikitable tbody { border-color: var(--divider); border-width: 2px; }

.infobox { border: 2px solid var(--divider); border-spacing: 3px; background-color: var(--surface_dark); color: var(--text_content); margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; font-size: 88%; line-height: 1.5em; }

table.wikitable > * > tr > th { background: var(--surface_light) !important; border-color: var(--divider); border-width: 2px; }

table.wikitable > * > tr > td { background: var(--surface_dark); border-color: var(--divider); border-width: 2px; }

table.wikitable { background: var(--surface_dark); border-color: var(--divider); border-width: 2px; }

div.infobox, table.infobox { float:right; margin:0 0 1em 0.5em; width:33%; }

table.notice-default { background-color: var(--surface_dark) !important; border: 2px solid var(--divider_light) !important; }

/*================================================				 Unsorted Stuff

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

.thumbcaption { color: var(--text_content) !important; }

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 colours */ .mw-highlight pre { background-color: #272822; } .mw-highlight .hll { background-color: #272822; } .mw-highlight .c { color: #75715e } /* Comment */ .mw-highlight .err { color: #960050; background-color: #1e0010 } /* Error */ .mw-highlight .k { color: #66d9ef } /* Keyword */ .mw-highlight .l { color: #ae81ff } /* Literal */ .mw-highlight .n { color: #f8f8f2 } /* Name */ .mw-highlight .o { color: #f92672 } /* Operator */ .mw-highlight .p { color: #f8f8f2 } /* Punctuation */ .mw-highlight .cm { color: #75715e } /* Comment.Multiline */ .mw-highlight .cp { color: #75715e } /* Comment.Preproc */ .mw-highlight .c1 { color: #75715e } /* Comment.Single */ .mw-highlight .cs { color: #75715e } /* Comment.Special */ .mw-highlight .ge { font-style: italic } /* Generic.Emph */ .mw-highlight .gs { font-weight: bold } /* Generic.Strong */ .mw-highlight .kc { color: #66d9ef } /* Keyword.Constant */ .mw-highlight .kd { color: #66d9ef } /* Keyword.Declaration */ .mw-highlight .kn { color: #f92672 } /* Keyword.Namespace */ .mw-highlight .kp { color: #66d9ef } /* Keyword.Pseudo */ .mw-highlight .kr { color: #66d9ef } /* Keyword.Reserved */ .mw-highlight .kt { color: #66d9ef } /* Keyword.Type */ .mw-highlight .ld { color: #e6db74 } /* Literal.Date */ .mw-highlight .m { color: #ae81ff } /* Literal.Number */ .mw-highlight .s { color: #e6db74 } /* Literal.String */ .mw-highlight .na { color: #a6e22e } /* Name.Attribute */ .mw-highlight .nb { color: #f8f8f2 } /* Name.Builtin */ .mw-highlight .nc { color: #a6e22e } /* Name.Class */ .mw-highlight .no { color: #66d9ef } /* Name.Constant */ .mw-highlight .nd { color: #a6e22e } /* Name.Decorator */ .mw-highlight .ni { color: #f8f8f2 } /* Name.Entity */ .mw-highlight .ne { color: #a6e22e } /* Name.Exception */ .mw-highlight .nf { color: #a6e22e } /* Name.Function */ .mw-highlight .nl { color: #f8f8f2 } /* Name.Label */ .mw-highlight .nn { color: #f8f8f2 } /* Name.Namespace */ .mw-highlight .nx { color: #a6e22e } /* Name.Other */ .mw-highlight .py { color: #f8f8f2 } /* Name.Property */ .mw-highlight .nt { color: #f92672 } /* Name.Tag */ .mw-highlight .nv { color: #f8f8f2 } /* Name.Variable */ .mw-highlight .ow { color: #f92672 } /* Operator.Word */ .mw-highlight .w { color: #f8f8f2 } /* Text.Whitespace */ .mw-highlight .mf { color: #ae81ff } /* Literal.Number.Float */ .mw-highlight .mh { color: #ae81ff } /* Literal.Number.Hex */ .mw-highlight .mi { color: #ae81ff } /* Literal.Number.Integer */ .mw-highlight .mo { color: #ae81ff } /* Literal.Number.Oct */ .mw-highlight .sb { color: #e6db74 } /* Literal.String.Backtick */ .mw-highlight .sc { color: #e6db74 } /* Literal.String.Char */ .mw-highlight .sd { color: #e6db74 } /* Literal.String.Doc */ .mw-highlight .s2 { color: #e6db74 } /* Literal.String.Double */ .mw-highlight .se { color: #ae81ff } /* Literal.String.Escape */ .mw-highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */ .mw-highlight .si { color: #e6db74 } /* Literal.String.Interpol */ .mw-highlight .sx { color: #e6db74 } /* Literal.String.Other */ .mw-highlight .sr { color: #e6db74 } /* Literal.String.Regex */ .mw-highlight .s1 { color: #e6db74 } /* Literal.String.Single */ .mw-highlight .ss { color: #e6db74 } /* Literal.String.Symbol */ .mw-highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */ .mw-highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */ .mw-highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */ .mw-highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */ .mw-highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */ .mw-highlight .gh { } /* Generic Heading & Diff Header */ .mw-highlight .gu { color: #75715e; } /* Generic.Subheading & Diff Unified/Comment? */ .mw-highlight .gd { color: #f92672; } /* Generic.Deleted & Diff Deleted */ .mw-highlight .gi { color: #a6e22e; } /* Generic.Inserted & Diff Inserted */ .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; }

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