aboutsummaryrefslogtreecommitdiff
path: root/src/app.css
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-09-21 18:29:52 -0700
committerFuwn <[email protected]>2022-09-21 18:29:52 -0700
commit7051213e0fdbd47ab1c0e6e8a67bda4f9cfba323 (patch)
treea0a59d1bf0b800635eb988a8c030cc0b0ed7c7fe /src/app.css
downloadcapybara-markets-7051213e0fdbd47ab1c0e6e8a67bda4f9cfba323.tar.xz
capybara-markets-7051213e0fdbd47ab1c0e6e8a67bda4f9cfba323.zip
feat: initial commit
Diffstat (limited to 'src/app.css')
-rw-r--r--src/app.css110
1 files changed, 110 insertions, 0 deletions
diff --git a/src/app.css b/src/app.css
new file mode 100644
index 0000000..ab61613
--- /dev/null
+++ b/src/app.css
@@ -0,0 +1,110 @@
+@import '@fontsource/fira-mono';
+
+@font-face {
+ font-family: 'Gilroy ExtraBold';
+ src: url('/Gilroy-FREE/Gilroy-ExtraBold.otf');
+}
+
+@font-face {
+ font-family: 'Gilroy Light';
+ src: url('/Gilroy-FREE/Gilroy-Light.otf');
+}
+
+:root {
+ font-family: 'Fira Mono', monospace;
+ --font-mono: 'Fira Mono', monospace;
+ --pure-white: #ffffff;
+ --primary-color: #b9c6d2;
+ --secondary-color: #d0dde9;
+ --tertiary-color: #edf0f8;
+ --accent-color: #ffe000;
+ --heading-color: rgba(0, 0, 0, 0.7);
+ --text-color: #444444;
+ --background-without-opacity: rgba(255, 255, 255, 0.7);
+ --column-width: 42rem;
+ --column-margin-top: 4rem;
+}
+
+body {
+ min-height: 100vh;
+ margin: 0;
+ /* background-color: var(--primary-color); */
+}
+
+body::before {
+ content: '';
+ width: 80vw;
+ height: 100vh;
+ position: absolute;
+ top: 0;
+ left: 10vw;
+ z-index: -1;
+ background: radial-gradient(
+ 50% 50% at 50% 50%,
+ var(--pure-white) 0%,
+ rgba(255, 255, 255, 0) 100%
+ );
+ opacity: 0.05;
+}
+
+#svelte {
+ min-height: 100vh;
+ display: flex;
+ flex-direction: column;
+}
+
+h1,
+h2,
+p {
+ font-weight: 400;
+ color: var(--heading-color);
+}
+
+p {
+ line-height: 1.5;
+}
+
+a {
+ color: var(--accent-color);
+ text-decoration: none;
+}
+
+a:hover {
+ text-decoration: underline;
+}
+
+h1 {
+ font-size: 2rem;
+ text-align: center;
+}
+
+h2 {
+ font-size: 1rem;
+}
+
+pre {
+ font-size: 16px;
+ font-family: var(--font-mono);
+ background-color: rgba(255, 255, 255, 0.45);
+ border-radius: 3px;
+ box-shadow: 2px 2px 6px rgb(255 255 255 / 25%);
+ padding: 0.5em;
+ overflow-x: auto;
+ color: var(--text-color);
+}
+
+input,
+button {
+ font-size: inherit;
+ font-family: inherit;
+}
+
+button:focus:not(:focus-visible) {
+ outline: none;
+}
+
+@media (min-width: 720px) {
+ h1 {
+ font-size: 2.4rem;
+ }
+}