From 82196f466fff53b5b08025aa33531dcce9210562 Mon Sep 17 00:00:00 2001 From: Thomas Smith <49042513+tsmitty11@users.noreply.github.com> Date: Fri, 16 Sep 2022 12:18:34 -0400 Subject: [PATCH] px => vw for partials --- src/layouts/partials/detail-btn-large.html | 10 +++++----- src/layouts/partials/detail-btn.html | 8 ++++---- src/layouts/partials/footer-nav.html | 2 +- src/layouts/partials/footer.html | 4 ++-- src/layouts/partials/full-width-discord-cta.html | 14 +++++++------- src/layouts/partials/package-thumbnail.html | 10 +++++----- 6 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/layouts/partials/detail-btn-large.html b/src/layouts/partials/detail-btn-large.html index 4e5c909..c4d1feb 100644 --- a/src/layouts/partials/detail-btn-large.html +++ b/src/layouts/partials/detail-btn-large.html @@ -2,21 +2,21 @@ .detail-btn-large{ display:inline-block; font-family: "pp-neue-machina", sans-serif; - font-size: 20px; + font-size: 1.116vw; background-color: #1a1a1a; border: .5px solid #ffffff; color: #fff; - padding-top: 5px; + padding-top: 0.279vw; text-decoration: none; text-transform: uppercase; width: 50%; - height: 75px; + height: 4.185vw; transition: 0.2s ease-in-out; } .detail-btn-large:hover{ background-color: #8000ff; - box-shadow: inset 0px 0px 0px 6px #1a1a1a !important; + box-shadow: inset 0vw 0vw 0vw 0.335vw #1a1a1a !important; } /* Icon Styling */ @@ -24,7 +24,7 @@ .detail-btn-large .icon-enter-arrow{ display: inline-block; position: relaitve; - margin-right: 10px; + margin-right: 0.558vw; transition: 0.2s ease-in-out; } diff --git a/src/layouts/partials/detail-btn.html b/src/layouts/partials/detail-btn.html index 087cdac..07c702e 100644 --- a/src/layouts/partials/detail-btn.html +++ b/src/layouts/partials/detail-btn.html @@ -5,17 +5,17 @@ background-color: #1a1a1a; border: .5px solid #ffffff; color: #fff; - padding-top: 5px; + padding-top: 0.279vw; text-decoration: none; text-transform: uppercase; width: 40%; - height: 40px; + height: 2.232vw; transition: 0.1s linear; } .detail-btn:hover{ background-color: #8000ff; - box-shadow: inset 0px 0px 0px 4px #1a1a1a !important; + box-shadow: inset 0vw 0vw 0vw 0.223vw #1a1a1a !important; } /* Icon Styling */ @@ -23,7 +23,7 @@ .detail-btn .icon-enter-arrow{ display: inline-block; position: relaitve; - margin-right: 10px; + margin-right: 0.558vw; transition: 0.2s ease-in-out; } diff --git a/src/layouts/partials/footer-nav.html b/src/layouts/partials/footer-nav.html index 2148cb8..e716bc2 100644 --- a/src/layouts/partials/footer-nav.html +++ b/src/layouts/partials/footer-nav.html @@ -14,7 +14,7 @@ .footer-link{ text-transform: lowercase; color: white; - padding: 0px 0px 0px 40px !important; + padding: 0vw 0vw 0vw 2.232vw !important; } .footer-link:hover{ diff --git a/src/layouts/partials/footer.html b/src/layouts/partials/footer.html index 5b0aa65..4808026 100644 --- a/src/layouts/partials/footer.html +++ b/src/layouts/partials/footer.html @@ -1,7 +1,7 @@