107 lines
1.9 KiB
CSS
107 lines
1.9 KiB
CSS
/*var*/
|
|
|
|
|
|
#root {
|
|
/* max-width: 1280px; */
|
|
/* margin: 0 auto; */
|
|
/* padding: 2rem; */
|
|
/* text-align: center; */
|
|
--navbar-height: 3.5rem;
|
|
}
|
|
|
|
.logo {
|
|
height: 6em;
|
|
padding: 1.5em;
|
|
will-change: filter;
|
|
transition: filter 300ms;
|
|
}
|
|
.logo:hover {
|
|
filter: drop-shadow(0 0 2em #646cffaa);
|
|
}
|
|
.logo.react:hover {
|
|
filter: drop-shadow(0 0 2em #61dafbaa);
|
|
}
|
|
|
|
@keyframes logo-spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
a:nth-of-type(2) .logo {
|
|
animation: logo-spin infinite 20s linear;
|
|
}
|
|
}
|
|
|
|
.card {
|
|
padding: 2em;
|
|
}
|
|
|
|
.read-the-docs {
|
|
color: #888;
|
|
}
|
|
|
|
/* .menu{
|
|
position: sticky;
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
max-height: 100vh;
|
|
overflow-y: auto;
|
|
border-right: thick double red;
|
|
box-shadow: .5rem, 0, 0, DarkSlateGray;
|
|
height: 100%;
|
|
position: sticky important!;
|
|
} */
|
|
|
|
.fixed-navbar{
|
|
position: sticky;
|
|
height: var(--navbar-height);
|
|
z-index: 1200;
|
|
}
|
|
|
|
.fixed-sidebar{
|
|
position: sticky;
|
|
top: var(--navbar-height);
|
|
/* left: 0; */
|
|
/* width: 300px; */
|
|
height: 100%;
|
|
/* background: #042331; */
|
|
|
|
/* overflow-x: hidden; */
|
|
/* overflow-y: scroll; */
|
|
/* border-right: thick double red; */
|
|
/* box-shadow: .5rem, 0, 0, DarkSlateGray; */
|
|
}
|
|
|
|
.content {
|
|
/* position: sticky; */
|
|
/* padding-top: var(--navbar-height); */
|
|
/* height: calc(100% - var(--navbar-height)); */
|
|
height: calc(100vh - var(--navbar-height));
|
|
/* min-height: calc(100% - var(--navbar-height)); */
|
|
min-height: calc(100vh - var(--navbar-height));
|
|
display:inline-block;
|
|
}
|
|
|
|
.progress-container:before {
|
|
content: attr(data-text);
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
line-height:1rem;
|
|
}
|
|
|
|
.progress-container {
|
|
text-align: center;
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
.rateStar {
|
|
/* background-image: url(./assets/thumbs_up_0i8ids3f6gah.svg); */
|
|
} |