diff --git a/assets/styles/app.css b/assets/styles/app.css index 8eff43b..26fc707 100644 --- a/assets/styles/app.css +++ b/assets/styles/app.css @@ -6,6 +6,11 @@ src: url("../fonts/NotoSansJP-VariableFont_wght.ttf") format("truetype"); } +:root { + --main-margin-top-bottom: 2rem; + --main-margin-left-right: 5rem; +} + * { font-family: "Noto Sans JP"; } @@ -14,20 +19,15 @@ display: grid; } -.page-enter-active, -.page-leave-active { - transition: all ease-in-out 0.4s; -} - -.page-enter-from, -.page-leave-to { - opacity: 0; -} - body { margin: 0; } +main { + margin: var(--main-margin-top-bottom) var(--main-margin-left-right); +} + + html { font-size: 16px; scrollbar-width: none; diff --git a/assets/styles/color-pallet.css b/assets/styles/color-pallet.css index 5936a02..dc2f6d1 100644 --- a/assets/styles/color-pallet.css +++ b/assets/styles/color-pallet.css @@ -15,6 +15,7 @@ --starlight: #efefe8; --starship: #e3dd39; --sun2: #ef8e38; + --sun4: #d70040; --sunlight: #fff8df; --uranus: #ace5ee; --venus1: #eed053; diff --git a/components/LinkCard.vue b/components/LinkCard.vue new file mode 100644 index 0000000..903075f --- /dev/null +++ b/components/LinkCard.vue @@ -0,0 +1,71 @@ + + + + + \ No newline at end of file diff --git a/components/NewsCard.vue b/components/NewsCard.vue index a6aa521..7cd4701 100644 --- a/components/NewsCard.vue +++ b/components/NewsCard.vue @@ -8,11 +8,18 @@ const datePosted = new Date( property.newsEntry.date as number ).toLocaleDateString("ja-JP", { dateStyle: "medium" }); -const coverImagePath = ref(property.newsEntry.coverImagePath ? property.newsEntry.coverImagePath : "/sera-logo-text.svg"); +const coverImagePath = ref( + property.newsEntry.coverImagePath + ? property.newsEntry.coverImagePath + : "/sera-logo-text.svg" +); @@ -74,7 +75,7 @@ useSeoMeta( diff --git a/pages/news/[article].vue b/pages/news/[article].vue index e86d969..b58a5cd 100644 --- a/pages/news/[article].vue +++ b/pages/news/[article].vue @@ -40,6 +40,7 @@ onMounted(() => {