From 70ea3122a5a65ae143768396d76132d210148c7d Mon Sep 17 00:00:00 2001 From: SadlyNotSappho Date: Tue, 30 May 2023 14:44:09 -0700 Subject: [PATCH] fix error v3 --- about/colors.css | 59 ++++++++++++++++++++++++++++++++++++++++++++++++ about/index.css | 36 +++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 about/colors.css create mode 100644 about/index.css diff --git a/about/colors.css b/about/colors.css new file mode 100644 index 0000000..c10490e --- /dev/null +++ b/about/colors.css @@ -0,0 +1,59 @@ + :root { + --cat-rosewater: #dc8a78; + --cat-flamingo: #dd7878; + --cat-pink: #ea76cb; + --cat-mauve: #8839ef; + --cat-red: #d20f39; + --cat-maroon: #e64553; + --cat-peach: #fe640b; + --cat-yellow: #df8e1d; + --cat-green: #40a02b; + --cat-teal: #179299; + --cat-sky: #04a5e5; + --cat-sapphire: #209fb5; + --cat-blue: #1e66f5; + --cat-lavender: #7287fd; + --cat-text: #4c4f69; + --cat-subtext1: #5c5f77; + --cat-subtext0: #6c6f85; + --cat-overlay2: #7c7f93; + --cat-overlay1: #8c8fa1; + --cat-overlay0: #9ca0b0; + --cat-surface2: #acb0be; + --cat-surface1: #bcc0cc; + --cat-surface0: #ccd0da; + --cat-base: #eff1f5; + --cat-mantle: #e6e9ef; + --cat-crust: #dce0e8; + } + + @media (prefers-color-scheme: dark) { + :root { + --cat-rosewater: #f5e0dc; + --cat-flamingo: #f2cdcd; + --cat-pink: #f5c2e7; + --cat-mauve: #cba6f7; + --cat-red: #f38ba8; + --cat-maroon: #eba0ac; + --cat-peach: #fab387; + --cat-yellow: #f9e2af; + --cat-green: #a6e3a1; + --cat-teal: #94e2d5; + --cat-sky: #89dceb; + --cat-sapphire: #74c7ec; + --cat-blue: #89b4fa; + --cat-lavender: #b4befe; + --cat-text: #cdd6f4; + --cat-subtext1: #bac2de; + --cat-subtext0: #a6adc8; + --cat-overlay2: #9399b2; + --cat-overlay1: #7f849c; + --cat-overlay0: #6c7086; + --cat-surface2: #585b70; + --cat-surface1: #45475a; + --cat-surface0: #313244; + --cat-base: #1e1e2e; + --cat-mantle: #181825; + --cat-crust: #11111b; + } + } \ No newline at end of file diff --git a/about/index.css b/about/index.css new file mode 100644 index 0000000..8a0e609 --- /dev/null +++ b/about/index.css @@ -0,0 +1,36 @@ +@import url("./colors.css"); + +* { + /* shamelessly stolen from whatever vue generated */ + /* min-height: 100vh; */ + color: var(--cat-text); + background: var(--cat-base); + 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, .barbutton-disabled { + text-decoration: none; + color: var(--cat-text); + background-color: var(--cat-surface1); + border-radius: 10px; + display: inline-block; + width: 80px; +} + +.barbutton:hover { + background-color: var(--cat-pink); + color: var(--cat-mantle) +} \ No newline at end of file