diff --git a/Style.css b/Style.css index 5612985..fcd4701 100644 --- a/Style.css +++ b/Style.css @@ -6,18 +6,23 @@ margin: 0%; padding: 0%; } + html{ + scroll-behavior: smooth; + } body{ background-color: #222831; } nav{ height: 50px; display: block; - padding-top: 50px; + padding-top: 30px; + padding-bottom:30px; width: auto; margin: 0 auto; text-transform: uppercase; background-color: #525861; text-align: center; + } .nav{ color: white; @@ -29,6 +34,7 @@ position: fixed; top: 0; width: 100%; + z-index: 99; } .navbar a { @@ -87,21 +93,34 @@ font-size: 30px; } #clock{ - width: 600px; - margin-left: 30%; - margin-top: 3%; - margin-bottom: 2%; - font-size: 70px; + width:90%; + max-width: 400px; + margin:auto; + margin-top:50px; + font-size: 50px; border: 2px solid white; align-items: center; text-align: center; align-items: center; - color: white; + color: #fff; + padding:10px 0; + } #map{ - width: 70%x; + width: 80%; height: 400px; padding: 18px; - margin-left: 100px; - margin-right: 100px; + margin:auto; + margin-bottom:40px; + } + @media(max-width:400px){ + #clock{ + font-size:25px; + } + #map{ + width:82%; + margin:auto; + margin-bottom:30px; + margin-top:20px; + } } diff --git a/index.html b/index.html index db544ff..f73e4fe 100644 --- a/index.html +++ b/index.html @@ -1,120 +1,122 @@ - - - - - - - - - - - - World Clock - - - - -
-

- JS-World
- Clock -

-
- -
10:10:01
- - -
-
-
-
-
-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
-
- -
-

INDIA(local time zone)

-
- INDIAN FLAG -
- - -

FAQs:

-
- - - - + + + + + + + + + + + + + World Clock + + + + +
+

+ JS-World
+ Clock +

+
+ +
10:10:01
+ + +
+
+
+
+
+
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
+
+ +
+

INDIA(local time zone)

+
+ INDIAN FLAG +
+ + +

FAQs:

+
+ + + + +