From 26e91acd9c67388db1e466f3093f440ff2ac9e59 Mon Sep 17 00:00:00 2001 From: Ludoviko Date: Mon, 23 May 2022 20:37:02 +0100 Subject: [PATCH] Added new time utility --- assets/styles/_colours.scss | 5 +- assets/styles/globals.scss | 5 +- assets/styles/index.scss | 9 ++- build_number | 2 +- components/LinkCard.vue | 5 +- components/NavBar.vue | 39 ++++++--- pages/index.vue | 2 +- pages/utilities/birthdays.vue | 40 +++++----- pages/utilities/index.vue | 30 ++++--- pages/utilities/time.vue | 144 ++++++++++++++++++++++++++++++++++ 10 files changed, 224 insertions(+), 57 deletions(-) create mode 100644 pages/utilities/time.vue diff --git a/assets/styles/_colours.scss b/assets/styles/_colours.scss index c77726d..932c410 100644 --- a/assets/styles/_colours.scss +++ b/assets/styles/_colours.scss @@ -1,2 +1,3 @@ -$primary-colour-light: rgb(127, 127, 127); -$bg-colour-light: rgb(187, 187, 187); \ No newline at end of file +$bg-colour-light: rgb(187, 187, 187); +$accent-colour-light: rgb(24, 96, 231); +$filter-accent-colour-light: invert(34%) sepia(96%) saturate(4970%) hue-rotate(216deg) brightness(95%) contrast(91%); \ No newline at end of file diff --git a/assets/styles/globals.scss b/assets/styles/globals.scss index 9cd3ea0..b9b0e92 100644 --- a/assets/styles/globals.scss +++ b/assets/styles/globals.scss @@ -3,17 +3,16 @@ body { font-family: 'Ubuntu', sans-serif !important; - background-color: colours.$bg-colour-light; + background-color: colours.$bg-colour-light; } .container { - min-height: 100vh; + min-height: 80vh; padding: 0 0.5rem; display: flex; flex-direction: column; justify-content: center; align-items: center; - height: 100vh; } .title { diff --git a/assets/styles/index.scss b/assets/styles/index.scss index a992bfb..7959809 100644 --- a/assets/styles/index.scss +++ b/assets/styles/index.scss @@ -21,7 +21,14 @@ color: #eaeaea; } -.grid { +.grid-2 { + display: grid; + align-items: center; + justify-content: center; + grid-template-columns: 1fr 1fr; +} + +.grid-3 { display: grid; align-items: center; justify-content: center; diff --git a/build_number b/build_number index 45a4fb7..ec63514 100644 --- a/build_number +++ b/build_number @@ -1 +1 @@ -8 +9 diff --git a/components/LinkCard.vue b/components/LinkCard.vue index 6a61548..a16254e 100644 --- a/components/LinkCard.vue +++ b/components/LinkCard.vue @@ -34,6 +34,7 @@ export default { diff --git a/pages/index.vue b/pages/index.vue index e221162..f0d3d93 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -6,7 +6,7 @@ spaces.

It's official! There is going to be another season! -
+
- diff --git a/pages/utilities/index.vue b/pages/utilities/index.vue index 9cc2639..9556df8 100644 --- a/pages/utilities/index.vue +++ b/pages/utilities/index.vue @@ -2,24 +2,22 @@

Utilities for the Discord Server

- +
+ + +
- diff --git a/pages/utilities/time.vue b/pages/utilities/time.vue new file mode 100644 index 0000000..e275952 --- /dev/null +++ b/pages/utilities/time.vue @@ -0,0 +1,144 @@ + + +