diff --git a/Style.css b/Style.css index 68d9581..ff32bcf 100644 --- a/Style.css +++ b/Style.css @@ -10,9 +10,9 @@ background-color: #222831; } nav{ - height: 50px; + height: auto; display: block; - padding-top: 50px; + padding: 20px; width: auto; margin: 0 auto; text-transform: uppercase; @@ -26,7 +26,7 @@ .navbar { overflow: hidden; background-color: #333; - position: fixed; + position: sticky; top: 0; width: 100%; } @@ -60,7 +60,7 @@ text-decoration-color: #f2a365; } .box{ - position: relative; + align-self: center; } @@ -86,22 +86,30 @@ text-decoration-color: #f2a365; font-size: 30px; } + /*Edited here */ #clock{ - width: 600px; - margin-left: 30%; - margin-top: 3%; - margin-bottom: 2%; - font-size: 70px; + width: 50%; + height: auto; + + margin-top: 10%; + + font-size: 50px; border: 2px solid white; align-items: center; text-align: center; align-items: center; color: white; } + @media only screen and (max-width:700px) { + #clock{ + width: 60%; + font-size: 40px; + } + } #map{ - width: 70%x; - height: 400px; + width: 70%; + height: 100vh; padding: 18px; - margin-left: 100px; - margin-right: 100px; + align-items: center; + bottom: 0; } diff --git a/boy-who-codes b/boy-who-codes new file mode 100644 index 0000000..ecf9e0d --- /dev/null +++ b/boy-who-codes @@ -0,0 +1 @@ +Your branch is up to date with 'origin/master'. diff --git a/contributions.md b/contributions.md new file mode 100644 index 0000000..6211341 --- /dev/null +++ b/contributions.md @@ -0,0 +1,3 @@ +| name | username | +|--------------|----------------| +| Rahul Sinha | boy-who-codes | diff --git a/index.html b/index.html index 52fdcf4..8900a08 100644 --- a/index.html +++ b/index.html @@ -37,13 +37,17 @@