diff --git a/app/components/banner/banner.module.scss b/app/components/banner/banner.module.scss index 07f6ad0..6f8a84b 100644 --- a/app/components/banner/banner.module.scss +++ b/app/components/banner/banner.module.scss @@ -19,7 +19,7 @@ } .profile img { - width: calc($profile-size) - 4rem; + width: $profile-size - 4rem; height: auto; border: 6px ridge white; } @@ -33,6 +33,7 @@ padding: 1rem; text-shadow: 0 0 4px black; font-weight: bold; + color: white; } @media screen and (max-width: 640px) { diff --git a/app/components/card/card.module.scss b/app/components/card/card.module.scss index ef01e97..89a1771 100644 --- a/app/components/card/card.module.scss +++ b/app/components/card/card.module.scss @@ -1,7 +1,7 @@ @import "../../constants.module.scss"; .card { - @include window-border($large-border); + @include content-border; position: relative; transition: 0.1s; aspect-ratio: 4/3; @@ -15,7 +15,7 @@ left: 0; width: 100%; padding: 1rem; - background-color: rgba($menu-color, 0.75); + background-color: rgba($content-color, 0.75); } .title { diff --git a/app/components/footer/footer.module.scss b/app/components/footer/footer.module.scss index 5c20447..fe2bd51 100644 --- a/app/components/footer/footer.module.scss +++ b/app/components/footer/footer.module.scss @@ -6,4 +6,8 @@ line-height: 1.5; text-align: center; padding: 4rem 2rem; + + a { + color: blue; + } } diff --git a/app/components/header/header.module.scss b/app/components/header/header.module.scss index 166c081..2d9ba31 100644 --- a/app/components/header/header.module.scss +++ b/app/components/header/header.module.scss @@ -11,7 +11,7 @@ } .innerHeader { - @include menu-border; + @include content-border; background: $content-color; padding: 0.75rem; height: 4rem; @@ -31,13 +31,13 @@ .nav a { transition: 0.1s; - color: white; text-decoration: none; font-size: 18px; font-weight: bold; - margin-left: $window-spacing; + margin-left: $window-spacing / 2; padding: 0; line-height: 0; + color: black; } .nav a:hover { @@ -58,8 +58,9 @@ display: inline-block; width: 1px; height: 2rem; - background-color: white; + background-color: black; margin-left: $window-spacing; + margin-right: $window-spacing / 2; } @media screen and (max-width: 1024px) { diff --git a/app/components/section/section.module.scss b/app/components/section/section.module.scss index 32974a0..a709615 100644 --- a/app/components/section/section.module.scss +++ b/app/components/section/section.module.scss @@ -1,12 +1,12 @@ @import "../../constants.module.scss"; .section { - margin-top: calc(-1 * ($window-spacing + 3.25rem)); - padding-top: calc($window-spacing + 3.25rem); + margin-top: -1 * ($window-spacing + 3.25rem); + padding-top: $window-spacing + 3.25rem; } .titleBar { - background: #eda870; + background: $window-color; } .cards { diff --git a/app/components/window/window.module.scss b/app/components/window/window.module.scss index b325576..8dbce72 100644 --- a/app/components/window/window.module.scss +++ b/app/components/window/window.module.scss @@ -1,9 +1,9 @@ @import "../../constants.module.scss"; .outerWindow { - @include window-border($large-border); + @include outer-window-border($large-border); margin-top: $window-spacing; - background: #eda870; + background: $window-color; padding: 4px; @media screen and (max-width: 640px) { @@ -12,24 +12,42 @@ } .innerWindow { - @include content-border; + @include double-border( + $small-border, + $window-border-color2, + $window-border-color1 + ); } -.windowContent { +.content { + @include content-border; background: $content-color; } .titleBar { - height: 2rem; - line-height: 2rem; + display: grid; + grid-template-columns: 2rem 1fr 2rem 2rem; + grid-template-rows: 2rem; text-align: center; font-size: $medium-font-size; } +.title { + @include outer-window-border($small-border); + @include flex-center; + color: white; + overflow: hidden; +} + .menu { - @include menu-border; + @include double-border( + $small-border, + $menu-border-color1, + $menu-border-color2 + ); + display: flex; + align-items: center; height: 2.5rem; - line-height: 2.5rem; background-color: $menu-color; font-size: $medium-font-size; @@ -39,15 +57,11 @@ } .button { - @include window-border($small-border); - display: flex; - justify-content: center; - align-items: center; - width: 2rem; - height: 2rem; + @include outer-window-border($small-border); + @include flex-center; div { - @include window-border($small-border); + @include outer-window-border($small-border); } } diff --git a/app/components/window/window.tsx b/app/components/window/window.tsx index e875ffc..2715e6b 100644 --- a/app/components/window/window.tsx +++ b/app/components/window/window.tsx @@ -14,10 +14,10 @@ export default function Window({ title, children }: WindowProps) {
{title} -