From 19fadfc11d70953c297c7b73d97198c0d0248a33 Mon Sep 17 00:00:00 2001 From: SadlyNotSappho Date: Fri, 19 May 2023 13:07:11 -0700 Subject: [PATCH] add about, and attempt to add a top bar to root --- about/assets/colors.css | 50 ++++++++++++++++++++++++++++++ about/assets/index.css | 35 +++++++++++++++++++++ about/assets/index.js | 0 about/index.html | 23 ++++++++++++++ root/src/App.vue | 13 ++------ root/src/assets/base.css | 56 +++++++++++++++++++++++++++++++++- root/src/assets/main.css | 5 +++ root/src/components/TopBar.vue | 5 +++ 8 files changed, 176 insertions(+), 11 deletions(-) create mode 100644 about/assets/colors.css create mode 100644 about/assets/index.css create mode 100644 about/assets/index.js create mode 100644 about/index.html create mode 100644 root/src/components/TopBar.vue diff --git a/about/assets/colors.css b/about/assets/colors.css new file mode 100644 index 0000000..8bbebde --- /dev/null +++ b/about/assets/colors.css @@ -0,0 +1,50 @@ +/* dark theme using catppuccin mocha, light using catppuccin latte - https://github.com/catppuccin/catppuccin */ +:root { + --vt-c-white: #eff1f5; /* Base (latte) */ + --vt-c-white-soft: #bcc0cc; /* Surface1 (latte) */ + --vt-c-white-mute: #ccd0da; /* Surface0 (latte) */ + + --vt-c-black: #1e1e2e; /* Base (mocha) */ + --vt-c-black-soft: #45475a; /* Surface1 (mocha) */ + --vt-c-black-mute: #313244; /* Surface0 (mocha) */ + + --vt-c-text-light: #4c4f69; /* Text (latte) */ + --vt-c-text-dark: #cdd6f4; /* Text (mocha) */ + + --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); /* Overlay1 (mocha) */ + --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); /* Overlay1 (mocha) */ + --vt-c-divider-dark-1: rgba(127, 132, 156, 0.65); /* Overlay1 (mocha) */ + --vt-c-divider-dark-2: rgba(127, 132, 156, 0.48); /* Overlay1 (mocha) */ + + --vt-c-text-light-1: var(--vt-c-text-light); + --vt-c-text-light-2: rgba(92, 95, 119, 0.66); /* Subtext1 (latte) */ + --vt-c-text-dark-1: var(--vt-c-text-dark); + --vt-c-text-dark-2: rgba(186, 194, 222, 0.64); /* Subtext1 (mocha) */ +} + + /* semantic color variables for this project */ +:root { + --color-background: var(--vt-c-white); + --color-background-soft: var(--vt-c-white-soft); + --color-background-mute: var(--vt-c-white-mute); + + --color-border: var(--vt-c-divider-light-2); + --color-border-hover: var(--vt-c-divider-light-1); + + --color-heading: var(--vt-c-text-light-1); + --color-text: var(--vt-c-text-light-1); +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--vt-c-black); + --color-background-soft: var(--vt-c-black-soft); + --color-background-mute: var(--vt-c-black-mute); + + --color-border: var(--vt-c-divider-dark-2); + --color-border-hover: var(--vt-c-divider-dark-1); + + --color-heading: var(--vt-c-text-dark-1); + --color-text: var(--vt-c-text-dark-2); + } +} \ No newline at end of file diff --git a/about/assets/index.css b/about/assets/index.css new file mode 100644 index 0000000..961c7d0 --- /dev/null +++ b/about/assets/index.css @@ -0,0 +1,35 @@ +@import url("./colors.css"); + +* { + /* shamelessly stolen from whatever vue generated */ + /* min-height: 100vh; */ + color: var(--color-text); + background: var(--color-background); + transition: color 0.5s, background-color 0.5s; + line-height: 1.6; + font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, + Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; + font-size: 15px; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.top-bar { + text-align: center; + width: 20%; + margin: auto; +} + +.barbutton { + text-decoration: none; + color: var(--color-text); + background-color: var(--color-background-soft); + border-radius: 10px; + display: inline-block; + width: 22.5%; +} + +.barbutton:hover { + background-color: purple; +} \ No newline at end of file diff --git a/about/assets/index.js b/about/assets/index.js new file mode 100644 index 0000000..e69de29 diff --git a/about/index.html b/about/index.html new file mode 100644 index 0000000..3775c8c --- /dev/null +++ b/about/index.html @@ -0,0 +1,23 @@ + + + + + + + + About SadlyNotSappho + + + + +
+ Home + About + Socials + Git +
+
+ hi i'm skye +
+ + \ No newline at end of file diff --git a/root/src/App.vue b/root/src/App.vue index ff1006f..7a10b3d 100755 --- a/root/src/App.vue +++ b/root/src/App.vue @@ -1,5 +1,6 @@