.header{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
background:#1c1c1c;
padding:20px 0;
}
#sections-body{
display: grid;
grid-template-columns: 1fr 1fr;
gap: 35px;
}
.section-header{
border-bottom: 1px solid;
display: inline-block;
width: 84%;
text-align: center;
font-size: 21px;
}
.section{
text-align: center;
}
.section .hlist{
padding: 1em 0 !important;
}
.chapter-list{
display: grid;
grid-template-columns: 1fr 1fr;
}
.chapter-list ul{
list-style-type: none;
list-style-image: none;
font-style: italic;
}
.infobox{
font-size:100%;
border-spacing:10px 0;
}
#section-umineko{
background-color: #271832;
}
#section-umineko .section-header{
border-color: #9D5E9D;
}
#section-higurashi{
background-color: #182B32;
}
#section-higurashi .section-header{
border-color: #5694B1;
}
#section-ciconia{
background-color: #183218;
}
#section-ciconia .section-header{
border-color: #60B057;
}
#section-other{
background-color: #323218;
}
#section-other .section-header{
border-color: #ACB057;
}
.card-carousel{
position: absolute;
top: 0;
left: 0;
width: 100%;
display:flex;
justify-content:space-around;
}
div.card{
position: relative;
width: 308px;
height: 420px;
overflow: hidden;
}
.card-title,
.card-panel .tabber__tab::before{
color: white !important;
text-transform: uppercase;
font-family: "Roboto", arial, sans-serif;
font-weight: 700;
font-size: 42px;
position: absolute;
top: 10px;
left: 10px;
filter: drop-shadow(rgba(0, 0, 0, 0.6) 0px 0px 0.2rem);
z-index: 5;
}
.card-title::after{
content:'';
position: absolute;
width: 100%;
transform: scaleX(0);
height: 2px;
bottom: 7px;
left: 0;
background-color:white;
filter: drop-shadow(rgba(0, 0, 0, 0.6) 0px 0px 0.2rem);
transform-origin: bottom left;
transition: transform 0.2s ease-out;
}
.card:hover .card-title::after{
transform: scaleX(1);
}
.card-panel{
position: relative;
}
.card-panel .tabber{
position: relative;
top: 0;
left: 0;
width:100%
}
.card-panel .tabber__header{
box-shadow: none;
margin-bottom:10px;
}
.card-panel .tabber__tabs{
justify-content: space-around;
gap: 10px;
}
.card-panel .tabber__tab{
flex: 1 1 0%;
position: relative;
height: 420px;
padding: 0;
visibility: hidden;
transition: flex-basis 0.35s cubic-bezier(.41,.25,.3,1);
}
.card-panel .tabber__tab:hover::after,
.card-panel .tabber__tab[aria-selected="true"]::after{
filter:brightness(1);
}
.card-panel .tabber__tab[aria-selected="false"]:hover{
flex-basis: 2%;
}
.card-panel .tabber__tab[aria-selected="true"]{
flex-basis: 17%;
}
.card-panel .tabber__indicator{
display: none;
}
.card-panel .tabber__tab::before{
visibility:visible;
}
.card-panel .tabber__tab::after{
content:'';
position:absolute;
width:100%;
height:100%;
visibility:visible;
filter:brightness(0.7);
transition: filter 0.35s ease;;
}
.card-panel .tabber__panel{
transition: opacity 0.7s ease-in-out;
}
.card-panel .tabber__panel[aria-hidden="false"]{
opacity:1;
}
.card-panel .tabber__panel[aria-hidden="true"]{
opacity:0;
}
/* Style Tab Content */
.franchise-section{
display:flex;
justify-content:space-evenly;
gap: 10px;
}
.franchise-subsection-header{
text-align: center;
text-transform: uppercase;
text-decoration: underline;
font-family: "Roboto", arial, sans-serif;
font-size:28px;
font-weight:700;
padding:5px 0;
}
.franchise-subsection{
text-align:center;
background:#1c1c1c;
flex-grow:1;
padding:1em;
}
.franchise-subsection-content{
padding: 0 1em 1em 1em;
}
.franchise-subsection li{
list-style:none;
}
.franchise-subsection td{
vertical-align:top;
}
/* Style Cards */
#tab-Higurashi-0::before{
content:"Higurashi";
}
#tab-Higurashi-0::after{
background-image:url("https://static.miraheze.org/whentheycrywiki/thumb/d/d4/Main_page_tab_higurashi.jpg/800px-Main_page_tab_higurashi.jpg");
background-position:56% bottom;
}
#tab-Umineko-0::before{
content:"Umineko";
}
#tab-Umineko-0::after{
background-image:url("https://static.miraheze.org/whentheycrywiki/thumb/4/4c/Main_page_tab_umineko.jpg/800px-Main_page_tab_umineko.jpg");
background-position:70% center;
}
#tab-Ciconia-0::before{
content:"Ciconia";
}
#tab-Ciconia-0::after{
background-image:url("https://static.miraheze.org/whentheycrywiki/9/92/Main_page_tab_ciconia.jpg");
background-position:center center;
}
/* Style Other Cards */
.other-header-panel .card-title{
left:0;
}
.other-panel{
position:relative;
width:100%;
height:100px;
overflow:hidden;
}
.other-panel img{
filter:brightness(0.5);
transition:filter 0.35s ease;
}
.other-panel:hover img{
filter:brightness(1);
}
.other-panel:hover .card-title{
transform:translateX(30px);
}
.other-panel .card-title{
top:20px;
left:20px;
transition:transform 0.35s ease;
}