MediaWiki:Common.css: Difference between revisions
From The-West Wiki
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
/* Homepage event box */ | /* Homepage event box */ | ||
.valentine { | .valentine { | ||
background: url("https:// | background: url("https://the-west.wiki/images/assets/Valentine.jpg") center center!important; | ||
background-size: cover!important; | background-size: cover!important; | ||
} | } | ||
.easter { | .easter { | ||
background: url("https:// | background: url("https://the-west.wiki/images/assets/Easter.jpg") center center!important; | ||
background-size: cover!important; | background-size: cover!important; | ||
} | } | ||
.independence { | .independence { | ||
background: url("https:// | background: url("https://the-west.wiki/images/assets/Independence.jpg") center center!important; | ||
background-size: cover!important; | background-size: cover!important; | ||
} | } | ||
.oktoberfest { | .oktoberfest { | ||
background: url("https:// | background: url("https://the-west.wiki/images/assets/Octoberfest.jpg") center center!important; | ||
background-size: cover!important; | background-size: cover!important; | ||
} | } | ||
.dod { | .dod { | ||
background: url("https:// | background: url("https://the-west.wiki/images/assets/Dotd.jpg") center center!important; | ||
background-size: cover!important; | background-size: cover!important; | ||
} | } | ||
Line 59: | Line 59: | ||
.frame { | .frame { | ||
position: absolute; | position: absolute; | ||
background-image: url("https:// | background-image: url("https://the-west.wiki/images/assets/726px-Event_box.png"); | ||
} | } | ||
.container_event > .background.wood { | .container_event > .background.wood { | ||
background: url("https:// | background: url("https://the-west.wiki/images/assets/Wood.jpg") center center; | ||
} | } | ||
.container_event .background { | .container_event .background { | ||
Line 71: | Line 71: | ||
top: 6px; | top: 6px; | ||
bottom: 8px; | bottom: 8px; | ||
background: url("https:// | background: url("https://the-west.wiki/images/assets/Default.jpg") center center; | ||
background-repeat: repeat; | background-repeat: repeat; | ||
} | } | ||
Line 158: | Line 158: | ||
bottom: 0; | bottom: 0; | ||
height: 50px; | height: 50px; | ||
background-image: url("https:// | background-image: url("https://the-west.wiki/images/assets/Window2_title.png"); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
} | } |
Revision as of 11:25, 28 October 2023
/* CSS placed here will be applied to all skins */
@media screen and (min-width: 1340px) { #mw-related-navigation .sidebar-chunk { margin-top: 185px; } #mw-site-navigation { margin-top: 185px; } }
/* 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%;
}