This repository has been archived on 2021-06-21. You can view files and clone it, but cannot push or open issues or pull requests.
public_html/index.css

91 lines
1.7 KiB
CSS

@import url("/~job/light.css");
@import url("/~job/dark.css");
h1, header, footer, .txtcenter, .multipleimgcenter { text-align:center; }
#top, #bottom{border:none;}
.singleimgcenter {
display:block;
margin-left:auto;
margin-right:auto;
}
header {
position: relative;
overflow: hidden;
padding-top: 4px;
padding-bottom: 80px;
}
#top {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 115%;
}
#bottom {
width:230px;
height:270px;
}
#navfix {
font-size:8px;
}
input[type='checkbox']{display: none;}
.wrap-collapsible{margin: 1.2rem 0;}
.lbl-toggle {
display: block;
font-weight: bold;
font-size: 1.2rem;
padding: 0.5rem;
color: #DDD;
background: #0069ff;
cursor: pointer;
border-radius: 5px;
transition: all 0.25s ease-out;
}
.lbl-toggle:hover{color:#FFF;}
.lbl-toggle::before {
content: ' ';
display: inline-block;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-left: 5px solid;
vertical-align: middle;
margin-right: .7rem;
transform: translateY(-2px);
transition: transform .2s ease-out;
}
.toggle:checked+.lbl-toggle::before{transform: rotate(90deg) translateX(-3px);}
.collapsible-content {
max-height: 0px;
overflow: hidden;
transition: max-height .25s ease-in-out;
}
.toggle:checked + .lbl-toggle + .collapsible-content{max-height: 350px;}
.toggle:checked+.lbl-toggle {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.collapsible-content .content-inner {
background: rgba(0, 105, 255, .2);
border-bottom: 1px solid rgba(0, 105, 255, .45);
border-bottom-left-radius: 7px;
border-bottom-right-radius: 7px;
padding: .5rem 1rem;
}
.collapsible-content{margin-bottom:0;}