dhruvshettty commited on
Commit
3599291
1 Parent(s): 3181725

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +61 -18
style.css CHANGED
@@ -1,28 +1,71 @@
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  }
 
1
  body {
2
+ font-family: Arial, sans-serif;
3
+ margin: 0;
4
  }
5
 
6
+ header {
7
+ background-color: #333;
8
+ color: #fff;
9
+ padding: 20px;
10
+ text-align: center;
11
  }
12
 
13
+ header h1 {
14
+ margin: 0;
 
 
 
15
  }
16
 
17
+ nav {
18
+ background-color: #f1f1f1;
19
+ overflow: hidden;
 
 
 
20
  }
21
 
22
+ nav ul {
23
+ list-style-type: none;
24
+ margin: 0;
25
+ padding: 0;
26
+ overflow: hidden;
27
+ background-color: #f1f1f1;
28
+ }
29
+
30
+ nav li {
31
+ float: left;
32
+ }
33
+
34
+ nav a {
35
+ display: block;
36
+ color: black;
37
+ text-align: center;
38
+ padding: 14px 16px;
39
+ text-decoration: none;
40
+ }
41
+
42
+ nav a:hover {
43
+ background-color: #ddd;
44
+ color: black;
45
+ }
46
+
47
+ #main-content {
48
+ padding: 20px;
49
+ }
50
+
51
+ #main-content article {
52
+ margin-bottom: 20px;
53
+ }
54
+
55
+ #main-content article img {
56
+ max-width: 100%;
57
+ }
58
+
59
+ aside {
60
+ float: right;
61
+ width: 25%;
62
+ padding: 20px;
63
+ background-color: #f1f1f1;
64
+ }
65
+
66
+ footer {
67
+ background-color: #333;
68
+ color: #fff;
69
+ text-align: center;
70
+ padding: 20px;
71
  }