66 lines
982 B
SCSS
66 lines
982 B
SCSS
@import "mixins";
|
|
@import "colors";
|
|
@import "inputs";
|
|
|
|
:root {
|
|
background-color: $mainBGColor;
|
|
color: $mainTextColor;
|
|
box-sizing: border-box;
|
|
font-family: "Noto Sans", sans-serif;
|
|
font-optical-sizing: auto;
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-variation-settings: "wdth" 100;
|
|
}
|
|
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
#main {
|
|
display: grid;
|
|
grid-template-columns: $navBarSize 1fr;
|
|
grid-template-areas: "Nav Content";
|
|
}
|
|
|
|
#content {
|
|
grid-area: Content;
|
|
margin-left: $navBarSize;
|
|
}
|
|
|
|
.mediaGrid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 5px;
|
|
|
|
.mediaItem {
|
|
width: 200px;
|
|
background-color: $featureColor;
|
|
|
|
img {
|
|
aspect-ratio: 1;
|
|
object-fit: cover;
|
|
object-position: center;
|
|
width: 100%;
|
|
background-color: $invertTextColor;
|
|
border: 0;
|
|
outline: none;
|
|
}
|
|
|
|
.info {
|
|
padding: 2px 5px;
|
|
|
|
.name {
|
|
text-align: center;
|
|
width: 100%;
|
|
display: block;
|
|
}
|
|
.details {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
}
|
|
}
|