From dc6580e21c4934d17e321bd8be5769109f8e0b36 Mon Sep 17 00:00:00 2001 From: Ben Parsons <9parsonsb@gmail.com> Date: Thu, 20 Aug 2020 15:42:54 +1000 Subject: [PATCH] moved static files improved css --- src/components/Nav.svelte | 104 ++++++------------ src/components/banner.svelte | 53 +--------- src/components/gameProjectThumb.svelte | 58 +--------- src/components/userManager.svelte | 8 +- src/routes/_layout.svelte | 40 +------ src/routes/index.svelte | 65 ------------ src/template.html | 8 +- static/bluenebula.png | Bin 1689411 -> 0 bytes static/bluenebula.webp | Bin 4032 -> 0 bytes static/bootstrap.min.css | 6 -- static/favicon.ico | Bin 15086 -> 0 bytes static/friendscats1.png | Bin 142876 -> 0 bytes static/global.css | 141 ------------------------- static/themes.css | 43 -------- static/user.svg | 5 - 15 files changed, 45 insertions(+), 486 deletions(-) delete mode 100755 static/bluenebula.png delete mode 100644 static/bluenebula.webp delete mode 100755 static/bootstrap.min.css delete mode 100755 static/favicon.ico delete mode 100755 static/friendscats1.png delete mode 100755 static/global.css delete mode 100755 static/themes.css delete mode 100644 static/user.svg diff --git a/src/components/Nav.svelte b/src/components/Nav.svelte index 91474de..5f5eae7 100644 --- a/src/components/Nav.svelte +++ b/src/components/Nav.svelte @@ -1,84 +1,42 @@ +
+
+ +
+
\ No newline at end of file diff --git a/src/components/banner.svelte b/src/components/banner.svelte index 95015af..ef7b232 100644 --- a/src/components/banner.svelte +++ b/src/components/banner.svelte @@ -3,77 +3,28 @@
-
+

{title}

Software, Games, Science, Space!

diff --git a/src/components/gameProjectThumb.svelte b/src/components/gameProjectThumb.svelte index 09bdbc0..3da0534 100644 --- a/src/components/gameProjectThumb.svelte +++ b/src/components/gameProjectThumb.svelte @@ -7,70 +7,16 @@
-
+ -
+

{name}

{description}

diff --git a/src/components/userManager.svelte b/src/components/userManager.svelte index 53b86e8..63d3959 100644 --- a/src/components/userManager.svelte +++ b/src/components/userManager.svelte @@ -5,17 +5,15 @@ diff --git a/src/routes/_layout.svelte b/src/routes/_layout.svelte index 0f08c19..aceee14 100644 --- a/src/routes/_layout.svelte +++ b/src/routes/_layout.svelte @@ -16,42 +16,6 @@ box-sizing: border-box; } - - /* Default theme */ - :global(:root) { - --background-color: #222222; - --headings-color: #ffffff; - --font-color: #ffffff; - --blue: #007bff; - --indigo: #6610f2; - --purple: #6f42c1; - --pink: #e83e8c; - --red: #dc3545; - --orange: #fd7e14; - --yellow: #ffc107; - --green: #28a745; - --teal: #20c997; - --cyan: #17a2b8; - --white: #fff; - --gray: #6c757d; - --gray-dark: #343a40; - --primary: #007bff; - --secondary: #6c757d; - --success: #28a745; - --info: #17a2b8; - --warning: #ffc107; - --danger: #dc3545; - --light: #f8f9fa; - --dark: #343a40; - --breakpoint-xs: 0; - --breakpoint-sm: 576px; - --breakpoint-md: 768px; - --breakpoint-lg: 992px; - --breakpoint-xl: 1200px; - --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; - --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; - } - /* Dark theme */ :global(html[data-theme='dark']) { --background-color: #222222; @@ -67,8 +31,10 @@ color: var(--font-color); box-sizing: border-box; } - + +