ELOS-License-Builder/site/styles.scss

98 lines
1.5 KiB
SCSS

body {
--color-bg: #170423;
--color-hi: #ce027c;
background-color: var(--color-bg);
color: white;
font-family: Lack, sansserif;
font-size: 1.5em;
line-height: 1.4em;
max-width: 700px;
margin: 0 auto;
margin-bottom: 60px;
}
header {
font-family: Resistance, sansserif;
font-variant-alternates: styleset(normal-is);
font-size: 3.2rem;
padding: 0px 49px;
p {
display: flex;
white-space: nowrap;
line-height: 1em;
margin: 20px 0;
.hr {
width: 100%;
height: 0.5em;
border-bottom: 1px solid white;
margin: 0 50px;
&:first-child {
margin-left: 0;
}
&:last-child {
margin-right: 0;
margin-left: 40px;
}
}
}
}
.emphasis-paragraph {
font-family: Resistance;
font-size: 3.5rem;
line-height: initial;
text-align: center;
margin-left: -50px;
margin-right: -50px;
}
#should-hide-intro:checked + #intro {
display: none;
}
#should-hide-intro:not(:checked) ~ #elm-area {
display: none;
}
.cool-button {
--bevel: var(--color-hi);
--bevel-size: 20px;
color: var(--color-bg);
width: fit-content;
font-family: Resistance;
font-size: 2.5rem;
margin-left: auto;
margin-right: auto;
cursor: pointer;
& > div:nth-child(2) {
padding: 5px 30px;
}
}
.bevel {
border: var(--bevel-size) solid var(--bevel);
&.tl, &.tr {
border-top: 0;
& ~ :not(.bevel) {
background-color: var(--bevel);
}
}
&.bl, &.br {
border-bottom: 0;
}
&.tr, &.br {
border-right-color: transparent;
}
&.tl, &.bl {
border-left-color: transparent;
}
}