diff --git a/nginx/vue/src/assets/styles.css b/nginx/vue/src/assets/styles.css index 5512b24..fa82192 100644 --- a/nginx/vue/src/assets/styles.css +++ b/nginx/vue/src/assets/styles.css @@ -116,12 +116,12 @@ h4 { h3, h4 { - @apply text-base; -} -h2 { @apply text-lg; } h1 { + @apply text-2xl; +} +h2 { @apply text-xl; } @@ -260,7 +260,7 @@ td { } .background { - @apply fixed inset-0 z-0; + @apply fixed; } .halftone { diff --git a/nginx/vue/src/components/text/Headline.vue b/nginx/vue/src/components/text/Headline.vue index 0b19870..fbc4adc 100644 --- a/nginx/vue/src/components/text/Headline.vue +++ b/nginx/vue/src/components/text/Headline.vue @@ -1,10 +1,11 @@ @@ -49,16 +52,27 @@ onUnmounted(() => { .marquee { overflow: hidden; width: 100%; +} + +.container { + width: 100%; + height: fit-content; + position: relative; will-change: transform; } .item { + height: fit-content; top: 0px; padding-right: 3em; width: fit-content; white-space: nowrap; } +.item1 { + left: 0px; +} + .item2 { position: absolute; } diff --git a/nginx/vue/src/components/util/Time.vue b/nginx/vue/src/components/util/Time.vue index 83db099..f40134e 100644 --- a/nginx/vue/src/components/util/Time.vue +++ b/nginx/vue/src/components/util/Time.vue @@ -24,7 +24,7 @@ setInterval(updateDateTime, 60000);