0life-web/css/star.css
2024-02-29 09:18:34 +01:00

80 lines
1.3 KiB
CSS

/* SEC nav to color 1 */
#sec-1 {
background-color: rgb(var(--primary-rgb));
border-color: rgb(var(--secondary-rgb));
border-bottom: 0px;
}
/* NAV STAR */
.nav-star {
position: fixed;
left: auto;
right: 0px;
height: 100%;
z-index: 7;
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: flex-end;
}
.nav-star > .nav-gap {
flex-grow: 1;
background-color: none;
}
.nav-star > .nav-price {
background-color: rgb(var(--detail-rgb));
border-color: rgb(var(--detail-rgb));
border-top-left-radius: 15px;
border-bottom-left-radius: 15px;
border-width: 5px;
border-style:solid;
flex-grow: 2;
display: flex;
justify-content: center;
align-items: center;
color: black;
text-decoration: none;
min-width: 70%;
font-family: "Source Code Pro", monospace;
font-size: fill;
transition:
border-color 0.3s,
border-width 0.3s,
border-right-width 0.3s,
flex-grow 0.3s,
font-size 0.3s,
width 0.3s;
}
.nav-star > .nav-price:hover {
border-color: rgb(var(--secondary-rgb));
border-width: 10px;
border-right-width: 0px;
flex-grow: 5;
font-size: 140%;
width: 100%;
}
/* Div to draw star */
.star-field {
position: absolute;
width: 100%;
height: 100%;
}
.star-field > #stars {
position: relative;
z-index: 9;
width: 200px;
height: 200px;
}