From 842953402ea8dc085e58e5b3a61932525b03fc4c Mon Sep 17 00:00:00 2001 From: SergioFraga Date: Tue, 27 Aug 2024 23:36:21 -0700 Subject: [PATCH] Style of the page is completed update index.html and style.css --- index.html | 8 ++++---- styles/style.css | 48 ++++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 48 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index e829be3..35782bd 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ - + Frontend Mentor | QR code component @@ -17,12 +17,12 @@
- Image QR Code + Image QR Code
diff --git a/styles/style.css b/styles/style.css index a9c9b93..3e04c40 100644 --- a/styles/style.css +++ b/styles/style.css @@ -1,7 +1,10 @@ @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap'); :root{ - --color-light-blue: hsl(212, 45%, 89%); + --color-white: hsl(0, 0%, 100%); + --color-state-300: hsl(212, 45%, 89%); + --color-state-500: hsl(216, 15%, 48%); + --color-state-900: hsl(218, 44%, 22%); } * { @@ -11,12 +14,49 @@ } body{ - color: var(--color-light-blue); + background: var(--color-state-300); + font-family: 'Outfit'; } -.attribution { - font-size: 11px; +.container{ + width: 320px; + background: var(--color-white); + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; text-align: center; + margin: 230px auto; + padding: 16px 16px 40px; + border-radius: 20px; +} + +.container__section__qr__imageQr{ + width: 288px; + height: 288px; + margin-bottom: 24px; + border-radius: 10px; +} + +.container__section__info__title{ + color: var(--color-state-900); + font-size: 22px; + font-weight: 700; + margin-bottom: 16px; +} + +.container__section__info__paragraph{ + color: var(--color-state-500); + font-size: 15px; + font-weight: 400; + letter-spacing: 0.2px; +} + +.attribution { + font-size: 18px; + text-align: center; + margin-top: auto; + padding: 20px; } .attribution a {