ELOS-License-Builder/site/styles.scss

166 lines
2.4 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;
}
}
#modules {
display: grid;
grid-template-columns: 50% 50%;
gap: 50px;
margin: 0 -180px;
margin-bottom: 50px;
.module-button > div {
box-sizing: border-box;
display: grid;
grid-template-columns: 0fr 1fr;
grid-template-rows: 0fr 1fr;
gap: 20px;
height: 100%;
padding: 29px;
border: 3px solid var(--color-hi);
& > :last-child {
grid-area: 2/1/3/3;
}
h3 {
margin: 0;
align-self: center;
}
p {
margin: 0;
}
}
.module-button.active > div {
border: 12px double var(--color-hi);
padding: 20px;
}
}
#downloads {
display: grid;
grid-template-columns: auto auto auto;
width: 100%;
}
.cooler-checkbox {
height: 40px;
width: 40px;
border: 3px solid #1c87d8;
position: relative;
input {
display: none;
}
label.active &:after {
content: "";
position: absolute;
left: 12px;
top: 0px;
width: 11px;
height: 24px;
border: solid #1c87d8;
border-width: 0 6px 6px 0;
transform: rotate(39deg);
}
}