72 lines
1.2 KiB
CSS
72 lines
1.2 KiB
CSS
/* 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;
|
|
}
|