Difference between revisions of "MediaWiki:Common.css"

From Tradelands Wiki
Jump to navigation Jump to search
Line 1: Line 1:
#mw-searchoptions table {
 
    margin-right: 0;
 
}
 
 
#mw-searchoptions table:nth-child(odd) {
 
    border-right: 1px solid #172136;
 
    margin-right: 2em;
 
}
 
 
#mw-searchoptions table tr td:first-of-type {
 
    font-weight: bold;
 
}
 
 
#mw-searchoptions table td {
 
    width: 18vw;
 
    padding: 0;
 
}
 
 
#mw-searchoptions h4 {
 
    font-family: 'IBM Plex Sans', 'Helvetica Neue', 'Arial', sans-serif;
 
}
 
 
.searchresult {
 
    line-height: 1.5;
 
}
 
 
.searchalttitle,
 
#mw-search-interwiki li {
 
    font-size: 90%;
 
}
 
 
.mw-search-result-data {
 
    color: inherit;
 
    opacity: 0.6;
 
}
 
 
 
 
 
 
 
 
 
body {
 
body {
 
     background: url(/resources/assets/tl-wiki-head.png) #f6f6f6 top left no-repeat; /* Top left bg image */
 
     background: url(/resources/assets/tl-wiki-head.png) #f6f6f6 top left no-repeat; /* Top left bg image */

Revision as of 20:36, 16 February 2021

body {
    background: url(/resources/assets/tl-wiki-head.png) #f6f6f6 top left no-repeat; /* Top left bg image */
    font-family: 'IBM Plex Sans','Helvetica Neue','Arial',sans-serif;
}


#simpleSearch input {
    background-color: transparent;
    color: #000;
    margin: 0;
    padding: 0;
    border: 0;
}

#p-search {
margin-right: 0;
}

.vectorTabs ul li {
    background: #eeeeee!important;
}

body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }

.mw-body {
    border-color: transparent;
    box-shadow: 0 0 7px rgba(0,0,0,0.15);
    background-color: #f9f9f9;
}

.vector-menu-tabs a {
background-image: none;
}
#mw-page-base {
background:none;
}

.mainpage-header {
    display: flex;
    margin: 2.6em 1.75em 1.5em;
}

.mainpage-header .header-stats ul {
    list-style: none;
}

.mainpage-header .header-intro h1 {
    font-size: 2.5em;
}

.mainpage-header .header-stats {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -1em;
}

.homepagecont {
    max-width: 75em;
    margin: 0 auto;
}

.mainpage-header .header-intro {
    flex: 2;
}

.shipwrightsays {
    background: #eee;
    border: 1px solid #aaa;
    margin: 0 0 1em 1em;
    padding: 1em;
    max-width: 800px;
    overflow: hidden;
}

.shipwrightsays img {
float: left;
}


.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 250px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: left;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}

.card {
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.1);
    transition: 0.3s;
    border: 1px solid #e4eaee;
}



.vectorTabs {
    background-color: #f9f9f9;
    background-image: none !important;
}

.vectorTabs li.selected {
    background: #f9f9f9 !important;
}

.vectorTabs ul li {
    background: #f6f6f6;
    background-image: none !important;
}

.vectorTabs span {
    background-image: none !important;
}


#simpleSearch {
    border: none;
    background: #ffffff;
    height: 2.1em;
    margin-top: 0;
    box-shadow: inset 0 -7px 7px -7px rgba(0,0,0,0.15);
}

#simpleSearch #searchInput {
    padding: 1em 0 0 .75em;
}

div.vectorTabs ul li:not(.selected), div#mw-head div.vectorMenu h3 {
    box-shadow: inset 0 -7px 7px -7px rgba(0,0,0,0.15);
}

div.vectorTabs ul li:not(.selected), div#mw-head div.vectorMenu h3 {
    box-shadow: inset 0 -7px 7px -7px rgba(0,0,0,0.15);
}

div.vectorTabs, div.vectorTabs ul, div#mw-head div.vectorMenu h3 {
    background: #f6f6f6;
}

a {
    text-decoration: none;
    color: #0645ad !important;
    background: none;
}

a:visited {
    color: #0b0080;
}