MediaWiki:Common.css
From 18TRIP 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.
@import url("/load.php?mode=articles&only=styles&articles=MediaWiki:Infoboxes.css|MediaWiki:Links.css|MediaWiki:Discord.css");
/* CSS */
/*Center Tabber*/
.mw-parser-output .wds-tabs__tab:first-child {
margin-left: auto;
}
.mw-parser-output .wds-tabs__tab:last-child {
margin-right: auto;
}
/*Homepage*/
.homepage-img {
-webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
border-radius: 20px 20px 0px 0px;
}
.homepage-img img {
width: 100%;
height: auto;
}
.homepage-header {
position: relative;
top: -300%;
}
.homepage-header .homepage-title {
position: absolute;
bottom: 10%;
font-size: 300%;
font-weight: bolder;
line-height: 1.1;
color: #323232;
text-shadow: 0px 0px 30px #C8FF46, 0px 0px 20px #C8FF46, 0px 0px 10px #323232;
padding: 0% 4%;
}
.homepage-subhead {
font-size: 130%;
font-weight: bolder;
padding: 0% 4%;
}
/*Character Nav*/
.charanav {
margin: auto;
display: inline-block;
width: auto;
height: auto;
text-align: center;
font-size:85%;
}
.charanav .cn-img {
position: relative;
display: inline-block;
}
.charanav .cn-img:hover {
transform: scale(1.1);
transition: all 1s;
}
.cn-img .cn-img-top {
display: none;
position: absolute;
top: 0;
left: 0;
z-index: 99;
opacity: 0.5;
}
.cn-img:hover .cn-img-top {
display: inline;
}
/*Scrollbar*/
::-webkit-scrollbar {
width: 8px;
height: 8px;
overflow-y: scroll;
}
::-webkit-scrollbar-thumb {
background: #323232;
border-radius: 20px;
}
::-webkit-scrollbar-track {
background: #ffffff;
border-radius: 12px;
}
/*Search*/
.search-modal__content {
background-image: linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0.8)),url(https://static.wikia.nocookie.net/18trip/images/6/68/Main_Visual.png);
background-position: center 10%;
background-repeat: no-repeat;
background-size: cover;
}
.theme-fandomdesktop-light .search-modal__content {
background-image: linear-gradient(rgba(255,255,255,0.6),rgba(255,255,255,0.6)),url(https://static.wikia.nocookie.net/18trip/images/6/68/Main_Visual.png);
}