-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
108 lines (85 loc) · 1.71 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Open Sans', sans-serif; /* Example of a clean, readable font */
color: #333333; /* Dark grey color for text */
background-color: #f4f4f4; /* Light background color */
line-height: 1.6; /* Improving readability */
}
header {
justify-content: center;
align-items: center;
text-align: center;
background: #e9ecef;
padding: 20px 0;
}
header img {
border-radius: 50%;
}
nav ul {
list-style: none;
background-color: #444;
text-align: center;
padding: 10px;
}
nav ul li {
display: inline;
}
nav ul li a {
color: white;
padding: 14px 16px;
text-decoration: none;
}
nav ul li a:hover {
background-color: #555;
}
main {
padding: 20px; /* More whitespace around content */
}
/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
margin-top: 20px;
margin-bottom: 10px;
color: #4a4a4a; /* Slightly darker shade for headings */
}
section {
margin: 20px 0;
padding: 20px;
background: white;
border: 1px solid #ddd;
border-radius: 8px;
}
section h2 {
color: #333;
margin-bottom: 10px;
}
ul {
list-style-position: inside;
}
a {
color: #06c;
transition: color 0.3s; /* Smooth transition for hover states */
}
a:hover {
text-decoration: underline;
color: #0056b3; /* Darker shade on hover */
}
.highlighted-email {
background-color: #eef;
padding: 2px 6px;
border-radius: 4px;
}
@media only screen and (max-width: 768px) {
/* Adjustments for smaller screens */
body {
padding: 15px;
}
header, nav, main {
padding-left: 15px;
padding-right: 15px;
}
}