Jump to: content

MediaWiki:Common.css: Difference between revisions

From The-West Wiki
Jump to:navigation Jump to:search
No edit summary
No edit summary
Line 2: Line 2:


@media screen and (min-width: 1340px) { #mw-related-navigation .sidebar-chunk { margin-top: 185px; } #mw-site-navigation { margin-top: 185px; } }
@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://wiki.the-west.net/images/c/c0/Valentine.jpg") center center!important;
    background-size: cover!important;
}
.easter {
    background: url("https://wiki.the-west.net/images/0/01/Easter.jpg") center center!important;
    background-size: cover!important;
}
.independence {
    background: url("https://wiki.the-west.net/images/1/18/Independence.jpg") center center!important;
    background-size: cover!important;
}
.oktoberfest {
    background: url("https://wiki.the-west.net/images/7/73/Octoberfest.jpg") center center!important;
    background-size: cover!important;
}
.dod {
    background: url("https://wiki.the-west.net/images/c/cc/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://wiki.the-west.net/images/5/56/726px-Event_box.png");
}
.container_event > .background.wood {
    background: url("https://wiki.the-west.net/images/1/1f/Wood.jpg") center center;
}
.container_event .background {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 6px;
    bottom: 8px;
    background: url("https://wiki.the-west.net/images/b/b5/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://wiki.the-west.net/images/2/29/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%;
}

Revision as of 23:50, 27 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://wiki.the-west.net/images/c/c0/Valentine.jpg") center center!important;
    background-size: cover!important;
}

.easter {
    background: url("https://wiki.the-west.net/images/0/01/Easter.jpg") center center!important;
    background-size: cover!important;
}

.independence {
    background: url("https://wiki.the-west.net/images/1/18/Independence.jpg") center center!important;
    background-size: cover!important;
}

.oktoberfest {
    background: url("https://wiki.the-west.net/images/7/73/Octoberfest.jpg") center center!important;
    background-size: cover!important;
}

.dod {
    background: url("https://wiki.the-west.net/images/c/cc/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://wiki.the-west.net/images/5/56/726px-Event_box.png");
}

.container_event > .background.wood {
    background: url("https://wiki.the-west.net/images/1/1f/Wood.jpg") center center;
}
.container_event .background {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 6px;
    bottom: 8px;
    background: url("https://wiki.the-west.net/images/b/b5/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://wiki.the-west.net/images/2/29/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%;
}