Skip to content

Commit 07e0ad6

Browse files
Update style.css
1 parent b4777cf commit 07e0ad6

File tree

1 file changed

+35
-3
lines changed

1 file changed

+35
-3
lines changed

style.css

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ body {
66
background-color: #fff;
77
color: #222;
88
line-height: 1.6;
9+
font-size: 16px;
910
}
1011

1112
/* Header */
@@ -15,11 +16,13 @@ header {
1516
}
1617
header h1 {
1718
font-size: 2.5em;
18-
margin-bottom: 0.2em;
19+
margin-bottom: 0.3em;
1920
}
2021
header p {
21-
font-size: 1.2em;
22+
font-size: 1.1em;
2223
color: #444;
24+
max-width: 700px;
25+
margin: 0 auto;
2326
}
2427

2528
/* Nav Bar */
@@ -36,6 +39,7 @@ nav a {
3639
text-decoration: none;
3740
color: #0077cc;
3841
font-weight: bold;
42+
font-size: 1em;
3943
}
4044
nav a:hover {
4145
text-decoration: underline;
@@ -51,6 +55,7 @@ section h2 {
5155
border-bottom: 2px solid #eee;
5256
padding-bottom: 5px;
5357
margin-bottom: 15px;
58+
font-size: 1.6em;
5459
}
5560

5661
/* Lists */
@@ -61,13 +66,33 @@ ul {
6166
li {
6267
margin-bottom: 8px;
6368
}
69+
70+
/* Links */
6471
a {
6572
color: #0077cc;
6673
}
6774
a:hover {
6875
text-decoration: underline;
6976
}
7077

78+
/* Buttons */
79+
.button {
80+
display: inline-block;
81+
padding: 0.75rem 1.5rem;
82+
background-color: #0077cc;
83+
color: white;
84+
text-decoration: none;
85+
border-radius: 5px;
86+
margin: 0.5rem 0;
87+
font-weight: bold;
88+
text-align: center;
89+
font-size: 1em;
90+
transition: background-color 0.3s ease;
91+
}
92+
.button:hover {
93+
background-color: #005fa3;
94+
}
95+
7196
/* Footer */
7297
footer {
7398
text-align: center;
@@ -77,4 +102,11 @@ footer {
77102
border-top: 1px solid #ccc;
78103
background-color: #f9f9f9;
79104
}
80-
footer a
105+
footer a {
106+
margin: 0 10px;
107+
color: #0077cc;
108+
text-decoration: none;
109+
}
110+
footer a:hover {
111+
text-decoration: underline;
112+
}

0 commit comments

Comments
 (0)