75 lines
1.3 KiB
CSS
75 lines
1.3 KiB
CSS
|
body > nav::before,
|
||
|
body::after {
|
||
|
z-index: -1;
|
||
|
content: "";
|
||
|
position: absolute;
|
||
|
mask-image: url("/assets/img/theme/sundae_sit-lines.png");
|
||
|
mask-repeat: no-repeat;
|
||
|
margin: 0;
|
||
|
width: inherit;
|
||
|
height: inherit;
|
||
|
pointer-events: none;
|
||
|
}
|
||
|
|
||
|
body > nav::before {
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
mask-size: 150%;
|
||
|
-webkit-mask-position-x: -10px;
|
||
|
-webkit-mask-position-y: 90%;
|
||
|
}
|
||
|
|
||
|
body::after {
|
||
|
content: none;
|
||
|
mask-size: 100%;
|
||
|
width: 100%;
|
||
|
height: 100vw;
|
||
|
-webkit-mask-position-x: 0;
|
||
|
-webkit-mask-position-y: bottom;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
font-family: "Rubik", sans-serif;
|
||
|
&>nav {
|
||
|
gap: 0.8rem;
|
||
|
& details {
|
||
|
gap: 0.8rem;
|
||
|
border-radius: var(--round);
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
& details > summary {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
padding: 0 1.4rem 0 0;
|
||
|
height: var(--pad);
|
||
|
|
||
|
& > svg {
|
||
|
transform: rotate(0deg);
|
||
|
transition: transform var(--trans);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
& details[open] > summary {
|
||
|
margin-bottom: 0.4rem;
|
||
|
border-style: solid;
|
||
|
border-width: 2px;
|
||
|
border-radius: var(--round);
|
||
|
border-bottom-left-radius: 0;
|
||
|
border-bottom-right-radius: 0;
|
||
|
|
||
|
& svg {
|
||
|
transform: rotate(45deg);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
& a {
|
||
|
border-style: solid;
|
||
|
border-width: 2px;
|
||
|
margin: 0 var(--pad-l);
|
||
|
margin-bottom: var(--pad-sm);
|
||
|
border-radius: var(--round);
|
||
|
}
|
||
|
}
|
||
|
}
|