scss styling and remove astro elements

This commit is contained in:
2025-02-22 15:37:39 -05:00
parent b8a34add56
commit 8dee9cdeff
7 changed files with 35 additions and 40 deletions

View File

@ -0,0 +1,27 @@
@use "../variables.scss";
@mixin styling {
display: flex;
justify-content: space-between;
align-items: center;
width: 100vw;
height: variables.$footer-Y;
background-color: var(--body-background-color)
p { padding: 0 20px 0 20px; }
section {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
button {
height: 100%;
padding: 0 20px 0 20px;
&:hover { background-color: var(--hf-button-hover-color) }
}
}
#toggle-term-mode { background-color: rgb(0,50,90) }
}

View File

@ -1,3 +1,5 @@
@use "../variables.scss";
@mixin styling {
display: flex;
justify-content: space-between;

View File

@ -1,4 +1,5 @@
@use "./terminal";
@use "../variables.scss";
@mixin input {
font-size: 1.2rem;
@ -16,7 +17,7 @@
@include terminal.formatting;
width: 100vw;
height: calc(99.3vh - $header-Y - $footer-Y);
height: calc(99.3vh - variables.$header-Y - variables.$footer-Y);
padding: 5px;
overflow-y: auto;

View File

@ -1,13 +1,10 @@
@forward "./font.scss";
@use "./variables.scss";
@use "./elements/header.scss";
@use "./elements/main.scss";
@use "./elements/footer.scss";
$header-Y: 30px;
$footer-Y: 30px;
$component-padding: 20px;
:root {
color-scheme: dark;

3
src/scss/variables.scss Normal file
View File

@ -0,0 +1,3 @@
$header-Y: 30px;
$footer-Y: 30px;
$component-padding: 20px;