-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
84 lines (66 loc) · 1.19 KB
/
styles.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
/* Reset some default styles */
body, h1, h2, h3, p, ul, ol {
margin: 0;
padding: 0;
}
body {
font-family: 'Arial', sans-serif;
font-size: 16px;
line-height: 1.6;
color: #333;
margin: 0;
padding: 0;
}
a {
color: #007BFF;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Header styles */
header {
background-color: #333;
color: #fff;
padding: 1em;
text-align: center;
}
h1 {
margin-bottom: 0.5em;
}
/* Main content styles */
main {
max-width: 800px;
margin: 20px auto;
padding: 20px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 5px;
}
section {
margin-bottom: 20px;
}
h2 {
color: #333;
}
/* Footer styles */
footer {
text-align: center;
padding: 10px;
background-color: #333;
color: #fff;
}
/* Responsive design - adjust styles for smaller screens */
@media only screen and (min-width: 600px) {
body {
font-size: 16px; !important;
}
}
img {
width: 95%;
max-width: 600px;
height: auto;
}
html {
-webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}