From 1613f2a429914906f7d38c9b730b85430320da68 Mon Sep 17 00:00:00 2001 From: Kaique Araujo Date: Mon, 18 Aug 2025 21:23:46 -0300 Subject: [PATCH] :art: Estilo e Responsividade Landing Page Dio --- assets/css/reset.css | 7 ++ assets/css/styles.css | 161 ++++++++++++++++++++++++++++++++++++++++++ index.html | 1 + 3 files changed, 169 insertions(+) create mode 100644 assets/css/reset.css create mode 100644 assets/css/styles.css diff --git a/assets/css/reset.css b/assets/css/reset.css new file mode 100644 index 000000000..83cae3cf4 --- /dev/null +++ b/assets/css/reset.css @@ -0,0 +1,7 @@ +@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700;900&display=swap'); + +* { + font-family: 'Raleway', sans-serif; + box-sizing: border-box; + margin: 0; +} \ No newline at end of file diff --git a/assets/css/styles.css b/assets/css/styles.css new file mode 100644 index 000000000..057f41fa9 --- /dev/null +++ b/assets/css/styles.css @@ -0,0 +1,161 @@ +@import url('reset.css'); + +body { + background-color: black; + color: white; + font-family: sans-serif; +} + +h2 { + font-size: 2rem; + color: #33A8DB; + font-weight: bold; + letter-spacing: 4px; + text-transform: uppercase; + margin-bottom: 24px; +} + +p { + color: white; +} + +section { + margin: 100px auto; +} + +.banner { + height: 600px; + padding-top: 60px; + background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(49, 168, 221, 0.2), rgba(0, 0, 0, 0.6)), url('../images/banner.png'); + background-size: cover; + background-repeat: no-repeat; + border-bottom: 1px solid #33A8DB80; +} + +.banner .banner-content { + width: 600px; + margin: 0 auto; + text-align: center; + color: white; +} + +.banner h1 { + font-size: 2.5rem; + font-weight: 900; + text-transform: uppercase; + color: transparent; + background: -webkit-linear-gradient(#33A8DB, #1472B7); + -webkit-background-clip: text; + background-clip: text; +} + +.banner p { + font-size: 1.25rem; + margin: 16px 0 24px; +} + +.banner .logo { + width: 260px; + height: 260px; + margin: 0 auto 16px; + padding: 16px; + border-radius: 50%; + background-color: rgba(0, 0, 0, 0.2); +} + +.banner .logo img { + width: 100%; + height: 100%; + object-fit: contain; + display: block; + margin: 0 auto; +} + +.banner .banner-content button { + font-size: 1rem; + font-weight: bold; + padding: 16px 32px; + color: #31A8DD; + text-transform: uppercase; + letter-spacing: 4px; + background-color: transparent; + border-radius: 30px; + border: 2px solid transparent; + border-image: linear-gradient(#3BA1CD, #1572B7) 1; + cursor: pointer; +} + +#course-content { + width: 800px; + margin: 0 auto; + text-align: center; +} + +#course-content .modules-list { + margin: 24px 0; +} + +#course-content .modules-list .module { + width: 530px; + margin: 0 auto 24px; + padding: 16px; + border-radius: 100px; + border: 1px solid #33A8DB; + background-color: #252525; + box-shadow: inset -5px 6px 8px rgba(0, 0, 0, 0.7); + color: white; +} + +#course-content .modules-list .module span { + color: #33A8DB; +} + +#transform-world { + padding: 200px 0; + height: 560px; + background-image: url('../images/woman-code.png'); + background-size: cover; + background-attachment: fixed; + border-top: 1px solid #33A8DB80; + border-bottom: 1px solid #33A8DB80; + text-align: center; +} + +#transform-world p { + font-size: 2.5rem; + font-weight: 900; + max-width: 250px; + text-transform: lowercase; + text-shadow: 3px 2px #33A8DB; + margin: 0 auto; +} + +#professional-challenges { + width: 800px; + margin: 0 auto; + text-align: center; +} + +#professional-challenges img { + display: block; + margin: 32px auto; +} + +footer { + padding: 60px 0; + text-align: center; + background-image: linear-gradient(rgba(50, 168, 219, 0), rgba(50, 168, 219, 0.2)); + border-top: 1px solid #33A8DB80; +} + +footer .dio-logo { + width: 300px; + display: block; + margin: 0 auto; +} + +footer a { + color: #33A8DB; + font-weight: bold; + text-decoration: none; +} \ No newline at end of file diff --git a/index.html b/index.html index 0dddc3dbb..6bcc08982 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ Trilha de CSS - DIO +