first steps, creating nav bar + inital work on layouts

This commit is contained in:
2026-01-14 19:03:23 -05:00
parent ee5c4f4638
commit 2d2f4c8b89
29 changed files with 6615 additions and 258 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 23 KiB

View File

@@ -1,8 +0,0 @@
#blog {
margin-top: 50px;
}
#blog a {
color: #ffffff;
margin-top: 50px;
}

View File

@@ -0,0 +1,15 @@
//Colors
$mainAccent: #ff0064;
$mainAccentLight: #ff3385;
$mainAccentDark: #e0005a;
$secondaryAccent: #57c9ef;
$secondaryAccentLight: #7cd5f3;
$secondaryAccentDark: #32bdec;
$mainBackground: #2a2d43;
$darkBackground: #0d1821;
$lightBackground: #394053;
$featureBackround: #073b4c;
$featureBackroundDark: #031d25;
$mainTextColor: #eee;
$lightTextColor: #fff;
$darkTextColor: #ccc;

View File

@@ -1,42 +0,0 @@
body {
background-color: #0f1116;
color: #ffffff;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 20px;
}
#hero {
margin: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#links {
width: 400px;
text-align: left;
font-size: x-large;
color: white;
display: flex;
flex-direction: column;
}
#links a {
color: white;
text-decoration: none;
margin-top: 20px;
margin: 10px 0px;
border: white 1px solid;
border-radius: 5px;
padding: 10px;
}
#links a:hover {
background-color: #1f1f1f;
cursor: pointer;
}
#header {
max-width: 1200px;
}

46
assets/styling/main.scss Normal file
View File

@@ -0,0 +1,46 @@
@import "mixins";
@import "colors";
:root {
background-color: $mainBackground;
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;
color: $mainTextColor;
}
body {
padding: 0;
margin: 0;
}
#main:has(#content) {
display: grid;
grid-template-columns: $navBarSize 1fr;
grid-template-areas: "Nav Content";
}
#content {
$contentPad: 10px;
grid-area: Content;
overflow-x: hidden;
overflow-y: auto;
position: fixed;
left: $navBarSize;
height: calc(100dvh - (2 * $contentPad));
width: calc(100dvw - $navBarSize - (2 * $contentPad));
padding: $contentPad;
}
a {
color: $secondaryAccent;
&:hover {
color: $secondaryAccentLight;
}
&:visited {
color: $secondaryAccentDark;
}
}

View File

@@ -0,0 +1,43 @@
$navBarSize: 64px;
@mixin mobile {
@media (max-width: 700px) {
@content;
}
}
@mixin max-screen($size) {
@media (max-width: #{$size}) {
@content;
}
}
@mixin max-container($size) {
@container (max-width: #{$size}) {
@content;
}
}
@mixin small-container {
@container (max-width: 500px) {
@content;
}
}
@mixin medium-container {
@container (max-width: 800px) {
@content;
}
}
@mixin large-container {
@container (max-width: 1000px) {
@content;
}
}
@mixin xlarge-container {
@container (max-width: 1200px) {
@content;
}
}

View File

@@ -1,16 +0,0 @@
#navbar {
display: flex;
flex-direction: row;
}
#navbar a {
color: #ffffff;
margin-right: 20px;
text-decoration: none;
transition: color 0.2s ease;
}
#navbar a:hover {
cursor: pointer;
color: #91a4d2;
}

View File

@@ -0,0 +1,61 @@
@import "mixins.scss";
@import "colors.scss";
nav {
display: grid;
grid-template-areas: "Branding" "Nav" "Widgets" "Utils";
grid-template-rows: auto 1fr auto auto;
background-color: $mainAccent;
height: 100dvh;
position: fixed;
width: $navBarSize;
box-shadow: 0 0 3px #000;
gap: 20px;
padding: 20px 0;
> * {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
.branding {
grid-area: Branding;
img {
width: $navBarSize;
object-fit: contain;
}
}
.mainNav {
grid-area: Nav;
}
.widgets {
grid-area: Widgets;
}
.utils {
grid-area: Utils;
}
.navItem {
height: $navBarSize;
width: $navBarSize;
display: flex;
justify-content: center;
align-items: center;
transition: 0.2s ease-out background;
&:active,
&[aria-current="page"] {
background-color: $mainAccentDark;
}
&:hover {
background-color: $mainAccentLight;
}
}
}

View File

@@ -0,0 +1,18 @@
@import "mixins.scss";
@import "colors.scss";
#content {
display: grid;
}
#player {
background-color: $darkBackground;
display: grid;
grid-template-areas: "Head ControlPanel" "ViewPort ControlPanel" "Timeline Timeline";
}
#viewport {
grid-area: ViewPort;
}
#timeline {
grid-area: Timeline;
}