MediaWiki:Timeless.css: Difference between revisions

From Ephinea PSO Wiki
No edit summary
No edit summary
Line 243: Line 243:
body.darkMode table.navbox th {
body.darkMode table.navbox th {
   background-color:#465160
   background-color:#465160
  color:#eee
}
}

Revision as of 06:21, 17 November 2021

/* All CSS here will be loaded for users of the Timeless skin */

#p-logo-text a.long {
	line-height: 1.5;
}

/* One-sided navigation menu */
@media (min-width: 1340px) {
  #mw-content-block {
    display: block;
  }
  #mw-content,
  #content-bottom-stuff {
    margin-left: 14em;
  }
  #mw-content-wrapper {
    float: right;
    margin-left: -14em;
    width: 100%;
  }
  #mw-related-navigation {
    width: 14em;
    padding: 0 1em 0 0;
  }
  div.color-middle {
    margin-right: 0;
  }
  .mw-wiki-logo {
  	display: inline-block;
  }
}

/* Align top colour bar with page columns */
.ts-inner {
  padding: 0 0 0 1em;
}

/* Re-aligning bottom logos */
#footer { padding-right: 1em; }



body.darkMode #mw-page-header-links li.selected a,
body.darkMode #p-logo-text a,
body.darkMode #searchInput,
body.darkMode .mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend,
body.darkMode .mw-body .mw-search-profile-tabs,
body.darkMode .mw-body fieldset#mw-searchoptions,
body.darkMode .mw-changeslist-legend,
body.darkMode .mwe-popups .mwe-popups-extract,
body.darkMode .suggestions .suggestions-result,
body.darkMode .suggestions a.mw-searchSuggest-link,
body.darkMode .suggestions a.mw-searchSuggest-link:active,
body.darkMode .suggestions a.mw-searchSuggest-link:focus,
body.darkMode .suggestions a.mw-searchSuggest-link:hover,
body.darkMode .suggestions-special .special-query,
body.darkMode .wikitable,
body.darkMode {
    color: #eee
}

body.darkMode #pagehistory li {
    border: 1px solid #465160;
}

body.darkMode .diff-addedline .diffchange {
background: #4f6334;
}
body.darkMode .diff-deletedline .diffchange {
    background: #775353;
}

body.darkMode .diff-addedline {
    border-color: #606265;
}

body.darkMode #pagehistory li.selected {
    background-color: #2c343f;
    color: #eee;
    border: 1px dashed #465160;
}

body.darkMode .mw-plusminus-pos {
    color: #18b918;
}

body.darkMode .mw-plusminus-neg {
    color: #f94e4e;
}

body.darkMode .editOptions {
background-color: #232a35;
}
 
body.darkMode #mw-header-container {
    background-color: #323942;
    color: #eee
}

body.darkMode textarea,
body.darkMode .oo-ui-textInputWidget .oo-ui-inputWidget-input,
body.darkMode .mw-code,
body.darkMode mw-tagfilter-input mw-ui-input mw-ui-input-inline {
background-color: #323942;
    color: #eee;
}
 
body.darkMode #simpleSearch {
    border-color: #465160
}
 
body.darkMode #mw-content-container,
body.darkMode #simpleSearch {
    background-color: #232a35
}
 
body.darkMode .mw-parser-output a.external,a {
    color: #29d
}
 
body.darkMode .mw-parser-output a.external:visited,a:visited {
    color: #18c
}
 
body.darkMode .mw-parser-output a.external:active,
body.darkMode .mw-parser-output a.external:hover,
body.darkMode a:active,
body.darkMode a:hover {
    color: #5bf
}
 
body.darkMode #mw-content {
    background-color: #2c343f;
    border-color: #2c343f
}
 
body.darkMode .tocnumber {
    color: #ccc
}
 
body.darkMode .toctogglelabel {
    color: #28c
}
 
body.darkMode .mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend,
body.darkMode .mw-body .mw-search-profile-tabs,
body.darkMode .mw-body fieldset#mw-searchoptions,
body.darkMode .mw-changeslist-legend,
body.darkMode .mw-warning,
body.darkMode .suggestions,
body.darkMode .suggestions .suggestions-results,
body.darkMode .suggestions .suggestions-special,
body.darkMode .thumbinner,
body.darkMode .toc,
body.darkMode .wikitable,
body.darkMode ul#filetoc {
    background-color: #323942;
    border-color: #465160
}
 
body.darkMode .thumbborder,
body.darkMode .thumbinner .thumbimage,
body.darkMode .wikitable>*>tr>td,
body.darkMode .wikitable>*>tr>th,
body.darkMode .wikitable>tr>td,
body.darkMode .wikitable>tr>th {
    border-color: #465160
}
 
body.darkMode .wikitable>*>tr>th,
body.darkMode .wikitable>tr>th {
    background-color: #465160
}
 
body.darkMode .mwe-popups {
    background: #323942
}
 
body.darkMode .mwe-popups .mwe-popups-extract[dir=ltr]::after {
    background-image: linear-gradient(to right,rgba(255,255,255,0),#323942 50%)
}
 
body.darkMode td[style*="background-color:lightpink;"], 
body.darkMode td[style*="background-color:#FFE8E8;"] {
    background-color: #6a2731!important
}
 
body.darkMode td[style*="background-color:lightgreen;"], 
body.darkMode td[style*="background-color:#E8FFEB;"] {
    background-color: #285128!important
}
 
body.darkMode span[style*="color:green"] {
    color: #3ec83e!important
}
 
body.darkMode table[style*="background:#FFF7F7;"] {
    background-color: #465160!important
}
 
body.darkMode #mw-header-nav-hack {
    background: #323942;
    border-top-color: #465160
}
 
@media only screen and (min-width:1100px) {
    body.darkMode #mw-related-navigation .sidebar-chunk,
    body.darkMode #mw-site-navigation .sidebar-chunk {
        background-color: #323942;
        border-color: #323942;
        border-radius: .5rem;
        box-shadow: 0 1px 2px rgb(33 34 35/50%),0 1px 2px rgb(26 26 27/50%)
    }
}
 
body.darkMode #mw-related-navigation .sidebar-inner,
body.darkMode #mw-site-navigation .sidebar-inner,
body.darkMode #personal .dropdown {
    background: #323942;
    border-color: #465160
}
 
body.darkMode #menus-cover {
    background: #111
}

table.lighttable .highlight-over {
    background-color: #ccc;
}

table.lighttable .highlight-on {
    background-color: #cfc;
}
body.darkMode table.lighttable .highlight-over {
    background-color:#465160;
}
body.darkMode table.lighttable .highlight-on {
   background-color:#285128;     
}

#mw-scribunto-input {
	color: #0000FF;
}

body.darkMode table.navbox th {
   background-color:#465160
   color:#eee
}