Personal tools

MediaWiki:Cavendish.css

From Eth0Wiki

Revision as of 19:27, 11 February 2025 by Steph0x00 (talk | contribs) (Add Terminus font)
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
#header {
    background: url(/images/b/b8/Eth0Logo.png) no-repeat top left;
    min-height: 110px;
    margin-bottom: 0
}

#p-cactions li {
    border-bottom: 0;
    background-color: #fff;
    border-color: var(--eth0-color);
    margin: 0 6px 0 0;
    padding: 0;
    border-left-width: 2px;
    border-right-width: 2px;
    border-style: solid
}

#p-cactions li a {
    color: var(--eth0-color);
    padding: 2px 8px 4px
}

#p-cactions li:hover,
#p-cactions li:hover a {
    color: #fff
}

#p-cactions li.selected,
#p-cactions li.selected:hover,
#p-cactions li:hover {
    border-color: var(--eth0-color);
    background-color: var(--eth0-color);
}

#p-cactions li.selected a {
    background-color: var(--eth0-color);
    color: #fff
}

#nav {
    background: #fff;
    box-shadow: none;
    padding: 0
}

hr {
    border-top: 1px solid #71a709
}

:link,
a {
    color: #71a709
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--eth0-color);
    border-bottom: 1px solid var(--eth0-color);
}

#nav div h3,
#nav div h5 {
    color: var(--eth0-color);
    border-color: var(--eth0-color);
}

#header>#contentTop,
#header>h6:first-of-type {
    display: none
}

#header {
    padding: 0 0 18px
}

#p-personal {
    z-index: 10;
    position: relative
}

#content,
#side #nav .portlet {
    border-radius: 1em;
    border: 2px solid var(--eth0-color);
    display: block;
}

#side #nav .portlet {
	margin-bottom: 1em;
}

#content {
    padding: 1em
}

#nav li {
    border-bottom: 2px solid var(--eth0-color);
}

table.rimage {
    border: 0!important;
    border-top: none;
    border-right: none;
    background-color: #fff!important
}

#nav li:hover {
    border-top: 1px solid var(--eth0-color);
    border-bottom: 1px solid var(--eth0-color);
}

#header #p-search {
    top: 4em;
    padding: 15px 10px 0 0
}

#nav div a {
    background: 0 0
}

/* --- 2025 styles --- */
@font-face {
    font-family: 'Terminus';
    src: url('https://static.steph.tools/wiki.eth0.nl/TerminusTTF-4.49.3.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Terminus';
    src: url('https://static.steph.tools/wiki.eth0.nl/TerminusTTF-Bold-4.49.3.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Terminus';
    src: url('https://static.steph.tools/wiki.eth0.nl/TerminusTTF-Italic-4.49.3.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Terminus';
    src: url('https://static.steph.tools/wiki.eth0.nl/TerminusTTF-Bold-Italic-4.49.3.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}
.page-Eth0_2025_Autumn.skin-cavendish.action-view {
    background-image: url('/images/f/f8/Eth0-2025-bg.jpg') !important;
    background-repeat: repeat !important;
    background-size: 1080px !important;
}
.page-Eth0_2025_Autumn.skin-cavendish.action-view #p-personal .top-nav-element {
    display: inline-block;
}
.page-Eth0_2025_Autumn.skin-cavendish.action-view,
.page-Eth0_2025_Autumn.skin-cavendish.action-view #column-content,
.page-Eth0_2025_Autumn.skin-cavendish.action-view #nav,
.page-Eth0_2025_Autumn.skin-cavendish.action-view #p-cactions li,
.page-Eth0_2025_Autumn.skin-cavendish.action-view #side,
.page-Eth0_2025_Autumn.skin-cavendish.action-view #toc,
.page-Eth0_2025_Autumn.skin-cavendish.action-view .mw-warning,
.page-Eth0_2025_Autumn.skin-cavendish.action-view .toc {
    background: #000;
    color: #fff;
}

.page-Eth0_2025_Autumn.skin-cavendish.action-view #nav div a,
.page-Eth0_2025_Autumn.skin-cavendish.action-view #nav div span.social {
    border-bottom-color: transparent;
    border-top-color: rgba(255,255,255,0.2);
    border-right-color: transparent;
}
.page-Eth0_2025_Autumn.skin-cavendish.action-view .top-nav-element > * {
    background: none !important;
}

.page-Eth0_2025_Autumn.skin-cavendish.action-view h1,
.page-Eth0_2025_Autumn.skin-cavendish.action-view h2,
.page-Eth0_2025_Autumn.skin-cavendish.action-view h3,
.page-Eth0_2025_Autumn.skin-cavendish.action-view h4,
.page-Eth0_2025_Autumn.skin-cavendish.action-view h5,
.page-Eth0_2025_Autumn.skin-cavendish.action-view h6 {
    font-family: 'Terminus', monospace, sans-serif;
    font-weight: 800;
}
.page-Eth0_2025_Autumn.skin-cavendish.action-view #header {
    background-image: url("/images/0/0d/Eth0-2025-logo.png");
    background-size: 128px;
}
.page-Eth0_2025_Autumn.skin-cavendish.action-view #header:before {
    content: "";
    display: block;
    width: 465px;
    height: 100px;
    background: url("/images/a/a6/Eth0-2025-resurrections.png") no-repeat;
    background-size: contain;
    position: absolute;
    top: 26px;
    left: 130px;
}
.page-Eth0_2025_Autumn.skin-cavendish.action-view .top-nav-element {
    margin: 0 2px 0 0;
    padding: 0 6px 0 0;
    overflow: visible;
    display: inline-block;
    white-space: nowrap;
    font-size: 7.5pt;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-top: 0;
    border-color: var(--eth0-color);
    margin: 0 6px 0 0;
    padding: 0;
    border-left-width: 2px;
    border-right-width: 2px;
    border-style: solid;
    background: #000;
}
.page-Eth0_2025_Autumn.skin-cavendish.action-view .top-nav-element:hover {
    border-color: var(--eth0-color);
    background-color: var(--eth0-color);
}
.page-Eth0_2025_Autumn.skin-cavendish.action-view .top-nav-element:hover a {
    color: #fff;
}
.page-Eth0_2025_Autumn.skin-cavendish.action-view .top-nav-element a {
    color: var(--eth0-color);
}

.page-Eth0_2025_Autumn.skin-cavendish.action-view #toc,
.page-Eth0_2025_Autumn.skin-cavendish.action-view .mw-warning,
.page-Eth0_2025_Autumn.skin-cavendish.action-view .toc {
    border-color: var(--eth0-color);
}
.page-Eth0_2025_Autumn.skin-cavendish.action-view #bodyContent a.external,
.page-Eth0_2025_Autumn.skin-cavendish.action-view .toctogglelabel,
.page-Eth0_2025_Autumn.skin-cavendish.action-view:visited {
    color: var(--eth0-color);
    opacity: 0.95;
}

.page-Eth0_2025_Autumn.skin-cavendish.action-view #p-personal a.new,
.page-Eth0_2025_Autumn.skin-cavendish.action-view a.new {
    color: #ff6767;
}
.page-Eth0_2025_Autumn.skin-cavendish.action-view #nav div a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.page-Eth0_2025_Autumn.skin-cavendish.action-view #catlinks,
.page-Eth0_2025_Autumn.skin-cavendish.action-view .catlinks {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.7);
    box-shadow: none;
}
.page-Eth0_2025_Autumn.skin-cavendish.action-view tr[style="background:#a6c282; text-align:center;"] {
    color: var(--eth0-color) !important;
    background: #000 !important;
}
.page-Eth0_2025_Autumn.skin-cavendish.action-view th > i {
    font-family: 'Terminus', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 1rem;
}

.page-Eth0_2025_Autumn.skin-cavendish.action-view #footer {
    color: rgba(255,255,255,0.8);
}