MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
@import url('https://fonts.googleapis.com/css2?family=Texturina:opsz,[email protected],700&display=swap');
/* ### BEGIN THEME SETTINGS ### */
:root {
--body-background-color: #193365;
--body-background-image: url("https://shipoffools.wiki.gg/images/8/80/Site-background.jpg");
--body-link-color: #0adfb5;
--body-visited-link-color: #19c5a3;
--body-red-link-color: #dd3333;
--body-text-color: rgba(245, 245, 245, 0.996);
--content-background-color: transparent;
--content-border-color: transparent;
--content-link-color: #6495a7;
--content-visited-link-color: #6495a7;
--content-red-link-color: rgb(221, 51, 51);
--content-text-color: #554e4a;
}
body {
background-color: var(--body-background-color);
background-image: var(--body-background-image);
background-attachment: fixed;
background-repeat: no-repeat;
background-size: cover;
color: var(--body-text-color);
}
a {
color: var(--body-link-color);
}
a:visited {
color: var(--body-visited-link-color);
}
.vector-menu-tabs .new a, .vector-menu-tabs .new a:visited {
color: var(--body-red-link-color);
}
.mw-footer li { color: var(--body-text-color); }
div#content {
background-color: var(--content-background-color);
color: var(--content-text-color);
border-image-slice: 20 205 6 205 fill;
border-image-width: 20px 350px 10px 350px;
border-image-outset: 0;
border-image-repeat: round;
border-image-source: url(https://shipoffools.wiki.gg/images/9/9f/Sof_content_border.png);
border-style: solid;
}
div#content a { color: var(--content-link-color); }
div#content a:visited { color: var(--content-visited-link-color); }
div#content a.new, div#content a.new:visited {
color: var(--content-red-link-color);
}
h1, h2, h3, h4, h5, h6 { color: var(--content-text-color); }
#mw-page-base,
.mw-search-profile-tabs, #mw-searchoptions,
.mw-changeslist-legend, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
background: none;
}
.oo-ui-window-content { color: #000; }
table {
display: table;
white-space: initial;
}
/* ### END THEME SETTINGS ### */
ul {
list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>');
}
.mw-plusminus-pos { color:#0adfb5; }
.vector-menu-tabs-legacy ul { margin-top: 1em; }
.vector-menu-tabs-legacy li,
.vector-menu-tabs-legacy .selected,
.vector-menu-tabs, .vector-menu-tabs a,
#mw-head .vector-menu-dropdown .vector-menu-heading { background: none; }
.vector-menu-tabs-legacy li:not(.mw-watchlink) {
margin-right: 5px;
height: 25px;
min-width: 100px;
position:relative;
}
.vector-menu-tabs-legacy li:hover,
#mw-head .vector-menu-dropdown:hover .vector-menu-heading, .vector-menu-checkbox:checked ~ .vector-menu-heading,
.vector-menu-tabs-legacy .selected { filter: brightness(1.5); }
.vector-menu-tabs-legacy .selected:before,
.vector-menu-tabs-legacy li:not(.mw-watchlink):before,
#mw-head .vector-menu-dropdown .vector-menu-heading:before {
display: block;
content: '';
position: absolute;
background-color: transparent;
background-image: url(https://shipoffools.wiki.gg/images/0/04/Sof_tab_bg.png);
background-position: center;
background-repeat: no-repeat;
background-size: 100% 25px;
width: 100%;
height: 25px;
filter: drop-shadow(2px 2px 2px black);
margin-top: 0.6em;
}
.vector-menu-tabs-legacy li a, .vector-menu-tabs-legacy li a:visited,
.vector-menu-tabs-legacy .selected a, .vector-menu-tabs-legacy .selected a:visited {
color: #2e1927;
}
.vector-menu-tabs-legacy li a {
float: unset;
text-align: center;
padding-top: 0.75em;
padding-left: 6px;
font-family: 'Texturina', serif;
font-weight: 700;
font-size: 15px;
text-decoration: none;
}
#left-navigation { margin-left: 11em; }
@media screen and (min-width: 982px) {
#left-navigation { margin-left: 12em; }
}
.vector-menu-tabs .mw-watchlink.icon { filter: drop-shadow(0 0 5px black); }
.vector-menu-tabs .mw-watchlink.icon a {
filter: sepia(1) drop-shadow(0px 2px 4px black);
top: -5px;
}
#mw-head .vector-menu-dropdown .vector-menu-heading {
padding: 5px 0;
margin-top: 1em;
min-width: 100px;
height: 25px;
padding-right:1.23076923em;
}
.vector-menu-dropdown .vector-menu-heading .vector-menu-heading-label {
margin-left: 25px;
color: #2e1927;
font-size: 16px;
position: relative;
font-family: 'Texturina', serif;
top: 8px;
}
#mw-head .vector-menu-checkbox:checked ~ .vector-menu-heading:before,
#mw-head .vector-menu-dropdown:hover .vector-menu-heading:before { background-image: url(https://shipoffools.wiki.gg/images/7/71/Sof_panel_header.png); }
.vector-menu-dropdown .vector-menu-heading:after { margin-top: 12px; }
.vector-menu-dropdown .vector-menu-content {
background: none;
border-color: #2e1927;
box-shadow: 5px 5px 10px 0px #0000009e;
}
.vector-menu-dropdown .vector-menu-content-list {
background-image: url(https://shipoffools.wiki.gg/images/4/4d/Sof_panel_bg.png);
background-size: cover;
background-repeat: no-repeat;
margin-top: 5px;
}
.vector-menu-portal {
background-image: url(https://shipoffools.wiki.gg/images/4/4d/Sof_panel_bg.png);
background-size: cover;
background-repeat: no-repeat;
margin-bottom: 15px;
}
.vector-menu-portal .vector-menu-heading {
background-image: url(https://shipoffools.wiki.gg/images/7/71/Sof_panel_header.png);
background-position: center top;
background-repeat: no-repeat;
background-size: contain;
width: calc(100% + 15px);
margin: 0;
margin-left: -7.5px;
margin-top: -5px;
text-align: center;
height: 35px;
font-family: 'Texturina', serif;
font-size: .9em;
padding: 0;
}
#p-logo + .mw-portlet .vector-menu-heading { display: block; }
.vector-menu-dropdown .mw-list-item a,
.vector-menu-portal .vector-menu-content li a { color: #2e1927; }
.vector-menu-dropdown .mw-list-item a:visited,
.vector-menu-portal .vector-menu-content li a:visited { color: #70686e; }
.items {
display: flex;
flex-wrap: wrap;
gap: 5px;
justify-content: space-around;
border: 1px solid #000;
border-radius: 5px;
width: fit-content;
}
.item {
margin: 10px;
width: 250px;
white-space: nowrap;
}
.flex-row {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.flex-colum {
display: flex;
flex-direction: column;
justify-content: space-around;
}