-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
101 lines (84 loc) · 1.25 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/* style.css */
/* Reset default margin and padding */
body, h1, h2, p {
margin: 0;
padding: 0;
}
/* Set box-sizing property for all elements */
* {
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #fff;
}
.container {
max-width: 70%;
margin: 0 auto;
padding: 20px;
}
.sitenote {
border: #333;
border-style: dashed;
margin: 4em auto;
padding: 20px;
}
/* Style the heading elements */
h1 {
font-size: 36px;
font-weight: bold;
color: lightseagreen;
margin-bottom: 10px;
}
h2 {
font-size: 24px;
color: #555;
margin-bottom: 10px;
}
/* Style the image */
img {
width: 100%;
height: auto;
margin-bottom: 20px;
}
/* Style the poem */
.poem {
font-size: 18px;
color: #333;
line-height: 1.5;
}
/* Apply responsive styles */
@media (max-width: 768px) {
/* Adjust font sizes */
h1 {
font-size: 30px;
}
h2 {
font-size: 20px;
}
.poem {
font-size: 16px;
}
.container {
max-width: 90%;
margin: 0 auto;
padding: 20px;
}
}
@media (max-width: 480px) {
/* Adjust font sizes */
h1 {
font-size: 26px;
}
h2 {
font-size: 18px;
}
.poem {
font-size: 14px;
}
.container {
max-width: 96%;
margin: 0 auto;
padding: 20px;
}
}