From 6625a5b9de78b6a23192644f1e4f4d2a33102a5d Mon Sep 17 00:00:00 2001 From: youhavetrouble Date: Tue, 20 Jun 2023 20:06:54 +0200 Subject: [PATCH] move title styles to global file --- src/assets/main.scss | 30 ++++++++++++++++++++++++++++++ src/views/HomeView.vue | 30 ------------------------------ 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/assets/main.scss b/src/assets/main.scss index 47f0f35..35f4ee0 100644 --- a/src/assets/main.scss +++ b/src/assets/main.scss @@ -82,3 +82,33 @@ body { filter: brightness(1.2); } } + +.title { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + padding-block: 2.5rem; + text-align: center; + width: 100%; + max-width: 45rem; + gap: 0.5rem; + + h1 { + font-size: 4rem; + line-height: 0.75; + white-space: pre-wrap; + margin: 0; + } + + h3 { + margin: 0; + line-height: 0.9; + } + + small { + font-size: 0.9rem; + font-weight: bold; + line-height: 0.25; + } +} diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index ab355e9..ae5c797 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -80,36 +80,6 @@ main { } } -.title { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - padding-block: 2.5rem; - text-align: center; - width: 100%; - max-width: 45rem; - gap: 0.5rem; - - h1 { - font-size: 4rem; - line-height: 0.75; - white-space: pre-wrap; - margin: 0; - } - - h3 { - margin: 0; - line-height: 0.9; - } - - small { - font-size: 0.9rem; - font-weight: bold; - line-height: 0.25; - } -} - .coffer { text-align: center;