From 094d5e325fc2e16aa1ec2aa96ddc95720b7aa221 Mon Sep 17 00:00:00 2001 From: SURAJIT MAITY <111490250+Surajit0573@users.noreply.github.com> Date: Sun, 25 Feb 2024 18:41:07 +0530 Subject: [PATCH] Improved Responsiveness of home page (#329) --- css_files/styles.css | 42 ++++++++++++++++++++++++++++++------------ index.html | 12 ++++++------ 2 files changed, 36 insertions(+), 18 deletions(-) diff --git a/css_files/styles.css b/css_files/styles.css index a0cc252..9e91e70 100644 --- a/css_files/styles.css +++ b/css_files/styles.css @@ -269,15 +269,23 @@ html { } } - +.nav-div{ + margin-left: 10px; + display: flex; + flex-direction: column; +} /* Change the color of links on hover */ -.topnav a:hover { +.topnav .nav-div:hover { background-color: #f99548; border-radius: 10px; color: #0a1629; text-decoration: none; } +.topnav a:hover { + text-decoration: none; +} + /* Add a color to the active/current link */ .topnav a.active { /* background-color: #2b61a8; */ @@ -460,16 +468,11 @@ h3 { border: rgb(39, 2, 113); box-shadow: inset 6px 6px 6px #311f95, inset -6px -6px 6px rgb(88, 29, 206); border-radius: 50px; - margin: 0px 100px 100px 100px; + margin: 20px; text-align: center; - padding: 40px 40px 50px 40px; + padding: 20px; color: white; - font-size: 29px; - -} - -.puzzle-title { - padding: 30px 300px 50px 300px; + font-size: 2rem; } @@ -478,11 +481,17 @@ h3 { } - +@media (max-width:500px){ + .email a { + font-size: 4vw; + } +} .email { height: 100px; align-items: center; + display: flex; + flex-direction: column; } .email button { @@ -526,8 +535,17 @@ h3 { /* css for suggestion section ends */ +#logo-img{ + height: 450px; + width: 450px; +} - +@media (max-width:450px){ + #logo-img{ + height: 100vw; + width: 100vw; + } +} /* css for the footer begins*/ .footer { padding: 20px; diff --git a/index.html b/index.html index 43e4e62..0707815 100644 --- a/index.html +++ b/index.html @@ -108,19 +108,19 @@
Solve it! is a website that contains solvers for common games like