193 lines
3.3 KiB
CSS
Executable File
193 lines
3.3 KiB
CSS
Executable File
/*::-webkit-scrollbar {
|
|
width: 0px; /* Remove scrollbar space
|
|
background: transparent; /* Optional: just make scrollbar invisible
|
|
}*/
|
|
html{
|
|
font-size: 25px;
|
|
padding: 0px;
|
|
margin: 0px;
|
|
margin-left: 0px;
|
|
}
|
|
|
|
.side-bar-button{
|
|
|
|
user-select: none;
|
|
width: 50px;
|
|
|
|
}
|
|
.float-button{
|
|
position: fixed;
|
|
left: 20px;
|
|
top: 40%;
|
|
background-color: rgba(255,255,255,0.1);
|
|
}
|
|
.side-bar-button:hover{
|
|
background-color: rgb(200,200,200,0.5);
|
|
}
|
|
|
|
.main-wrap > .side-bar-button{
|
|
position: absolute;
|
|
left: 10px;
|
|
top: 550px;
|
|
}
|
|
.side-bar-button > svg{
|
|
width: inherit;
|
|
height: inherit;
|
|
}
|
|
|
|
#side_bar{
|
|
z-index: 3;
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
grid-auto-rows: min-content;
|
|
position: fixed;
|
|
width: 18%;
|
|
height: 100vh;
|
|
min-width: 280px;
|
|
opacity: 0;
|
|
top: 0px;
|
|
padding: 10px;
|
|
padding-right: 20px;
|
|
border-right: 2px solid black;
|
|
background-color: white;
|
|
overflow: scroll;
|
|
margin-bottom: 200px;
|
|
}
|
|
|
|
|
|
#side_bar > div{
|
|
padding: 10px;
|
|
position: relative;
|
|
text-align: center;
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
grid-auto-rows: min-content;
|
|
}
|
|
#side_bar > div:nth-child(1){
|
|
text-align: left;
|
|
}
|
|
#side_bar > div > div{
|
|
height: 30px;
|
|
}
|
|
#side_bar a{
|
|
font-size: 20px;
|
|
text-decoration: none;
|
|
color: black;
|
|
}
|
|
#side_bar > div > div:hover{
|
|
background-color: rgb(230,230,230);
|
|
}
|
|
|
|
.main-wrap{
|
|
margin: auto;
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
width: 95%;
|
|
justify-items: center;
|
|
justify-content: center;
|
|
}
|
|
.footer{
|
|
position: relative;
|
|
background-color: black;
|
|
color: white;
|
|
padding: 20px;
|
|
width: 100%;
|
|
}
|
|
.body{
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
width: 95vw;
|
|
padding: 0px;
|
|
min-height: 100vh;
|
|
justify-items: center;
|
|
margin-bottom: 100px;
|
|
}
|
|
|
|
#image_box{
|
|
position: relative;
|
|
overflow: hidden;
|
|
height: 500px;
|
|
width: 90%;
|
|
padding: 10px;
|
|
}
|
|
#image_box_container{
|
|
position: relative;
|
|
overflow-x: hidden;
|
|
white-space: nowrap;
|
|
height: 90%;
|
|
width: 100%;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
}
|
|
#image_box_container > div{
|
|
overflow: hidden;
|
|
display: inline-block;
|
|
width: 98%;
|
|
height: 98%;
|
|
margin-right: 10px;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
}
|
|
#image_box_container > div > div{
|
|
height: 98%;
|
|
width: 95%;
|
|
display: flex;
|
|
margin: auto auto;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
#image_box_container img{
|
|
width: auto;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
text-align: center;
|
|
}
|
|
.image-box-fader{
|
|
pointer-events: none;
|
|
position: absolute;
|
|
left: 0px;
|
|
top: 0px;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
to right,
|
|
white,
|
|
5%,
|
|
rgba(137,255,241,0) 50%,
|
|
95%,
|
|
white 100%
|
|
);
|
|
}
|
|
|
|
#image_box_arrow_left, #image_box_arrow_right{
|
|
z-index: 2;
|
|
position: absolute;
|
|
top: 50%;
|
|
}
|
|
#image_box_arrow_left{
|
|
left: 10px;
|
|
}
|
|
#image_box_arrow_right{
|
|
right: 10px;
|
|
}
|
|
|
|
.title-bar-wrap > div{
|
|
background-image: url("./img/index_banner.png");
|
|
/* Set a specific height */
|
|
padding: 150px 0;
|
|
min-height: 10px;
|
|
width: 100vw;
|
|
left: 0px;
|
|
font-size: 80px;
|
|
color: white;
|
|
text-shadow: 2px 2px 2px black;
|
|
|
|
|
|
/* Create the parallax scrolling effect */
|
|
background-attachment: fixed;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
text-align: center;
|
|
|
|
} |