58 lines
1.3 KiB
CSS
Executable File
58 lines
1.3 KiB
CSS
Executable File
body {
|
|
overflow: hidden;
|
|
}
|
|
sidebar {
|
|
background-color: linear-gradient(19deg,rgba(87, 199, 133, 1) 0%, rgba(237, 221, 83, 1) 100%);;
|
|
height: 100%;
|
|
width: 50px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
.sidebar-item {
|
|
margin: 6px;
|
|
padding: 6px;
|
|
height: 26px;
|
|
width: 26px;
|
|
transition-duration: 0.5s;
|
|
transition-timing-function: ease-in-out;
|
|
}
|
|
|
|
iframe {
|
|
width: calc(100% - 50px - 10px);
|
|
height: calc(100vh - 20px);
|
|
margin: 10px;
|
|
margin-right: 0px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.sidebar-divider {
|
|
height: 2px;
|
|
border-radius: 20px;
|
|
width: 80%;
|
|
background-color: #ffffff22;
|
|
/* auto is being stupid
|
|
100vh minus height of 1 object 7 times minus the margin and padding of 7 objects (multiplied twice bc margin and padding on top and bottom) */
|
|
margin-bottom: calc(100vh - 26px * 7 - ((6px + 6px) * 2) * 7);
|
|
}
|
|
|
|
.sidebar-item-descriptor {
|
|
position: fixed;
|
|
right: 25px;
|
|
opacity: 0;
|
|
transform: translateY(-32px);
|
|
text-align: left;
|
|
background-color: black;
|
|
border-radius: 10px;
|
|
padding: 8px;
|
|
color: white;
|
|
font-size: 12px;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
transition: opacity 0.5s 0.2s, right 0.5s 0.2s;
|
|
font-family: "Mulish", serif;
|
|
}
|
|
.sidebar-item:hover .sidebar-item-descriptor {
|
|
opacity: 1;
|
|
right: 55px;
|
|
} |