diff --git a/assets/styles/globals.scss b/assets/styles/globals.scss index d03b49d..9cd3ea0 100644 --- a/assets/styles/globals.scss +++ b/assets/styles/globals.scss @@ -5,3 +5,17 @@ body { font-family: 'Ubuntu', sans-serif !important; background-color: colours.$bg-colour-light; } + +.container { + min-height: 100vh; + padding: 0 0.5rem; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + height: 100vh; +} + +.title { + font-size: 3rem; +} diff --git a/assets/styles/index.scss b/assets/styles/index.scss index f57e567..a992bfb 100644 --- a/assets/styles/index.scss +++ b/assets/styles/index.scss @@ -1,15 +1,5 @@ @use 'colours'; -.container { - min-height: 100vh; - padding: 0 0.5rem; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - height: 100vh; -} - .footer { width: 100%; height: 100px; @@ -31,43 +21,6 @@ color: #eaeaea; } -.title a { - color: #0070f3; - text-decoration: none; -} - -.title a:hover, -.title a:focus, -.title a:active { - text-decoration: underline; -} - -.title { - margin: 0; - line-height: 1.15; - font-size: 4rem; -} - -.title, -.description { - text-align: center; - color: #eaeaea; -} - -.description { - line-height: 1.5; - font-size: 1.5rem; -} - -.code { - background: #fafafa; - border-radius: 5px; - padding: 0.75rem; - font-size: 1.1rem; - font-family: Menlo, Monaco, Lucida Console, Liberation Mono, - DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace; -} - .grid { display: grid; align-items: center; @@ -75,22 +28,6 @@ grid-template-columns: 1fr 1fr 1fr; } -.card h2 { - margin: 0 0 1rem 0; - font-size: 1.5rem; -} - -.card p { - margin: 0; - font-size: 1.25rem; - line-height: 1.5; -} - -.logo { - height: 1em; - margin-left: 0.5rem; -} - @media (max-width: 600px) { .grid { width: 90%; diff --git a/components/LinkCard.vue b/components/LinkCard.vue index ab2c7ad..96d857f 100644 --- a/components/LinkCard.vue +++ b/components/LinkCard.vue @@ -1,6 +1,6 @@ @@ -21,6 +21,11 @@ export default { border-radius: 20px; transition: color 0.15s ease, border-color 0.15s ease; } +.card p { + margin: 0; + font-size: 1.25rem; + line-height: 1.5; +} .card:link, .card:visited { @@ -40,5 +45,6 @@ export default { padding: 1.25rem; width: 9rem; } + } diff --git a/pages/index.vue b/pages/index.vue index 4d7380b..1cfa55f 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -4,32 +4,34 @@ import '@/assets/styles/index.scss'; diff --git a/pages/birthdays.vue b/pages/utilities/birthdays.vue similarity index 89% rename from pages/birthdays.vue rename to pages/utilities/birthdays.vue index e209a7e..5ad3e53 100644 --- a/pages/birthdays.vue +++ b/pages/utilities/birthdays.vue @@ -1,6 +1,6 @@