Skip to content

Commit 1635b63

Browse files
authored
Create headers.css
1 parent f1f73dc commit 1635b63

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

Diff for: headers.css

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/* header.css */
2+
.header {
3+
background-color: black;
4+
color: white;
5+
padding: 20px;
6+
text-align: center;
7+
}
8+
.title {
9+
font-weight: bold; /* Make the title bold */
10+
font-size: 58px; /* Increase the font size */
11+
margin-bottom: 10px; /* Adjust the space between title and subtitle */
12+
}
13+
.subtitle {
14+
font-size: 20px;
15+
}
16+
17+
/* Responsive layout for mobile devices */
18+
@media screen and (max-width: 600px) {
19+
.header {
20+
padding: 10px;
21+
}
22+
.title {
23+
font-size: 30px; /* Adjust font size for mobile devices */
24+
}
25+
.subtitle {
26+
font-size: 18px; /* Adjust font size for mobile devices */
27+
}
28+
}

0 commit comments

Comments
 (0)