aex/style/main.scss

112 lines
1.8 KiB
SCSS
Raw Normal View History

2025-09-13 13:05:48 +00:00
@use 'sass:list';
2025-09-11 07:27:57 +00:00
@use 'reset';
2025-09-20 08:06:39 +00:00
@use 'mixins';
2025-09-12 05:07:54 +00:00
@use 'header';
@use 'sidebar';
2025-09-20 08:06:39 +00:00
@use 'nav';
@use 'inventory';
2025-09-13 13:05:48 +00:00
@use 'vars';
2025-09-11 07:27:57 +00:00
2025-09-20 08:06:55 +00:00
2025-09-12 04:44:54 +00:00
html {
background: black;
}
2025-09-11 05:43:59 +00:00
body {
2025-09-11 07:27:57 +00:00
font-size: 1.22em;
display: flex;
justify-content: center;
align-items: center;
2025-09-12 04:36:10 +00:00
background: black;
color: white;
2025-09-12 04:44:54 +00:00
background: radial-gradient(ellipse at 00% 100%, rgba(48, 25, 25, 0.3) 0%, rgba(52, 8, 8, 0.4) 35%, rgba(0, 0, 0, 0.4) 100%);
2025-09-12 04:36:10 +00:00
2025-09-13 08:53:21 +00:00
@include mixins.heading;
2025-09-11 07:27:57 +00:00
}
h1, h2, h3, h4, h5, h6 {
@include mixins.heading;
}
.wrapper {
width: 90vw;
height: 90vh;
2025-09-11 07:27:57 +00:00
display: grid;
2025-09-13 13:28:33 +00:00
grid-template-rows: 120px 1fr;
2025-09-12 04:36:10 +00:00
grid-template-columns: 2fr 6fr;
2025-09-13 13:05:48 +00:00
grid-gap: 20px;
}
header, aside, main {
2025-09-12 04:36:10 +00:00
background: rgba(12, 12, 12, 1);
position: relative;
2025-09-13 13:05:48 +00:00
$shadow: ();
@for $i from 1 through 6 {
$shadow: list.append($shadow, drop-shadow(-#{$i}px #{$i}px 0 hsl(0deg, 0%, 10%)));
}
filter: list.join($shadow, drop-shadow(-0px 6px 20px hsl(0deg, 0%, 3%)));
}
2025-09-13 13:05:48 +00:00
aside {
z-index: 10;
}
main {
2025-09-13 13:05:48 +00:00
z-index: 8;
grid-row: 2/3;
grid-column: 2/3;
2025-09-20 08:06:39 +00:00
display: flex;
flex-direction: column;
2025-09-11 07:27:57 +00:00
}
input {
padding: 3px;
}
.item-search-card {
display: flex;
flex-direction: row;
}
input.header-input {
text-decoration: underline 1px rgba(255, 255, 255, 0.33);
border: none;
2025-09-12 04:36:10 +00:00
color: white;
&-1, &-2 {
font-weight: 800;
}
&-3, &-4 {
font-weight: 500;
}
&-5, &-6 {
font-weight: 200;
}
&-1 {
font-size: 2em;
}
&-2 {
font-size: 1.5em;
}
&-3 {
font-size: 1.25em;
}
&-4 {
font-size: 1em;
}
&-5 {
font-size: 0.9em;
}
&-6 {
font-size: 0.75em;
}
@include mixins.heading;
}
img {
overflow: hidden;
}