MediaWiki:Common.css
From The-West Wiki
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.
/* CSS placed here will be applied to all skins */
@media screen and (min-width: 1340px) { #mw-site-navigation { margin-top: 125px; } }
/* Homepage event box */
.valentine {
background: url("https://the-west.wiki/images/assets/Valentine.jpg") center center!important;
background-size: cover!important;
}
.easter {
background: url("https://the-west.wiki/images/assets/Easter.jpg") center center!important;
background-size: cover!important;
}
.independence {
background: url("https://the-west.wiki/images/assets/Independence.jpg") center center!important;
background-size: cover!important;
}
.oktoberfest {
background: url("https://the-west.wiki/images/assets/Octoberfest.jpg") center center!important;
background-size: cover!important;
}
.dod {
background: url("https://the-west.wiki/images/assets/Dotd.jpg") center center!important;
background-size: cover!important;
}
.container_event .bg_tl {
left: 0;
right: 50%;
top: 0;
bottom: 50%;
background-position: top left;
}
.container_event .bg_tr {
width: 50%;
right: 0;
top: 0;
bottom: 50%;
background-position: top right;
}
.container_event .bg_bl {
left: 0;
right: 50%;
height: 50%;
bottom: 0;
background-position: bottom left;
}
.container_event .bg_br {
width: 50%;
height: 50%;
right: 0;
bottom: 0;
background-position: bottom right;
}
.frame {
position: absolute;
background-image: url("https://the-west.wiki/images/assets/726px-Event_box.png");
}
.container_event > .background.wood {
background: url("https://the-west.wiki/images/assets/Wood.jpg") center center;
}
.container_event .background {
position: absolute;
left: 0px;
right: 0px;
top: 6px;
bottom: 8px;
background: url("https://the-west.wiki/images/assets/Default.jpg") center center;
background-repeat: repeat;
}
.event {
display: block;
text-decoration: none;
margin-bottom: -35px;
}
.light, a.light {
color: #ffe7b1;
}
.event .event-status, .event .event-date {
font-size: 14px;
font-weight: bold;
text-decoration: none;
}
.event .event-name {
font-weight: bold;
text-decoration: underline;
font-family: Georgia, 'Times New Roman', serif;
font-size: 26px;
text-shadow: 1px 1px 0 #ffcc66, 1px 1px 2px #000000;
}
.event .event-name a {
font-weight: bold;
text-decoration: underline;
font-family: Georgia, 'Times New Roman', serif;
font-size: 26px;
text-shadow: 1px 1px 0 #ffcc66, 1px 1px 2px #000000;
}
.event .event-date {
background: #00000085;
padding: 2px;
display: inline-block;
margin: 3px;
border-radius: 1px;
}
.container_event {
position: relative;
height: 100%;
width: 100%;
}
.container_event > .content {
position: relative;
padding: 15px;
}
.event .content > div {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding: 4px;
box-sizing: border-box;
text-align: center;
}
.event-date a {
font-weight: bold;
text-decoration: underline;
font-family: Georgia, 'Times New Roman', serif;
font-size: 14px;
color: #ffe7b1!important;
}
.container-title {
width: calc(100% + 16px);
height: 46px;
position: relative;
padding-top: 15px;
margin-bottom: -15px;
margin-left: -8px;
}
.container-title .right {
position: absolute;
left: 50%;
right: 0;
background-position: right bottom;
}
.container-title .left {
position: absolute;
left: 0;
right: 50%;
background-position: left bottom;
}
.container-title .left, .container-title .right {
bottom: 0;
height: 50px;
background-image: url("https://the-west.wiki/images/assets/Window2_title.png");
background-repeat: no-repeat;
}
.container-title .title {
color: rgb(255, 231, 177);
display: block;
font-family: 'Times New Roman';
font-size: 27px;
font-style: normal;
font-variant: normal;
font-weight: bold;
height: 32px;
line-height: normal;
margin: 0;
padding-top: 6px;
position: relative;
text-align: center;
width: 100%;
}
/* Some Old CSS From the original Wiki */
#wiki_logo {
position: relative;
width: 112px;
height: 110px !important;
background: url("https://the-west.wiki/images/assets/VersionLogo.png") !important;
margin-bottom: 10px;
}