(Wood background texture) |
(Fix for background wood siderail) |
||
Line 34: | Line 34: | ||
content: ""; |
content: ""; |
||
background: url(https://static.wikia.nocookie.net/atlas_gamepedia_en/images/2/2c/Wood_texture.jpg/revision/latest) repeat top left border-box; /* [[File:Wood texture.jpg]] */ |
background: url(https://static.wikia.nocookie.net/atlas_gamepedia_en/images/2/2c/Wood_texture.jpg/revision/latest) repeat top left border-box; /* [[File:Wood texture.jpg]] */ |
||
− | background-size: |
+ | background-size: 100% auto; |
opacity: 0.9; |
opacity: 0.9; |
||
z-index: 0; |
z-index: 0; |
||
+ | } |
||
+ | |||
+ | .page__right-rail { |
||
+ | z-index: 1; |
||
} |
} |
||
/********************** |
/********************** |
Latest revision as of 22:36, 7 July 2021
/***********************
* Full-page background *
************************/
.main-container {
background-image: var(--theme-body-background-image);
background-size: cover;
background-position: top center;
background-repeat: no-repeat;
background-attachment: fixed;
}
.page__main {
background-color: rgba(var(--theme-page-background-color--rgb), 0.96);
}
/***************************
* End full-page background *
****************************/
/******************
* Background wood *
*******************/
.theme-fandomdesktop-light .page {
position: relative;
border: 2px solid #7f7f7f;
z-index: 1;
}
.theme-fandomdesktop-light .page::before {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
content: "";
background: url(https://static.wikia.nocookie.net/atlas_gamepedia_en/images/2/2c/Wood_texture.jpg/revision/latest) repeat top left border-box; /* [[File:Wood texture.jpg]] */
background-size: 100% auto;
opacity: 0.9;
z-index: 0;
}
.page__right-rail {
z-index: 1;
}
/**********************
* End background wood *
***********************/
/**************************************
* Add and align header nav background *
***************************************/
.page {
margin-top:0;
}
.fandom-community-header {
background-color:var(--theme-sticky-nav-background-color);
padding:0 5px;
}
.fandom-community-header__top-container {
padding-top:20px;
}
.fandom-community-header__image {
margin-bottom:10px;
}
.fandom-community-header,
.fandom-community-header a,
.fandom-community-header .wds-icon {
color:var(--theme-sticky-nav-text-color);
}
.wiki-tools .wds-button.wds-is-secondary {
--wds-secondary-button-label-color: var(--theme-sticky-nav-text-color);
--wds-secondary-button-label-color--hover: var(--theme-sticky-nav-text-color--hover);
}
/****************************
* end header nav background *
*****************************/