-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
148 lines (120 loc) · 2.18 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
/* Reset basic styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
/*font-family: Arial, sans-serif;*/
font-family: "Unna", serif;
font-weight: 400;
color: #333;
line-height: 1.6;
padding: 20px;
}
/* Centered Navigation Menu */
nav {
text-align: center;
margin-bottom: 20px;
}
.menu {
list-style-type: none;
display: inline-block;
padding: 0;
}
.menu li {
display: inline;
margin-right: 20px;
}
.menu li a {
text-decoration: none;
color: #007bff;
font-weight: bold;
}
.menu li a:hover {
text-decoration: underline;
}
.container {
max-width: 1000px;
width: 100%;
margin: 0 auto; /* Center horizontally */
text-align: left;
}
.main-title {
text-align: center;
}
h1 {
margin-bottom: 5px;
}
p {
font-size: 18px;
margin-bottom: 20px;
}
section {
margin-bottom: 40px;
}
h2 {
margin-bottom: 10px;
}
/* Mobile first: Styles adjust for larger screens */
@media (min-width: 768px) {
body {
padding: 40px;
}
}
.unna-regular {
font-family: "Unna", serif;
font-weight: 400;
font-style: normal;
}
.unna-bold {
font-family: "Unna", serif;
font-weight: 700;
font-style: normal;
}
.unna-regular-italic {
font-family: "Unna", serif;
font-weight: 400;
font-style: italic;
}
.unna-bold-italic {
font-family: "Unna", serif;
font-weight: 700;
font-style: italic;
}
/* Style for the year blocks */
.year-block {
margin-bottom: 20px; /* Space between years */
}
.year-block h3 {
font-size: 20px;
margin-bottom: 10px;
color: #333;
}
.year-block ul {
list-style-type: none; /* Remove default bullets */
padding-left: 0;
}
.year-block li {
margin-bottom: 8px; /* Space between publication entries */
font-size: 16px;
line-height: 1.5;
}
.year-block li strong {
font-weight: bold;
}
/* Link Styles: Default, Hover, and Visited */
a {
color: #1e90ff; /* Default color: DodgerBlue */
text-decoration: none;
}
a:hover {
color: #4169e1; /* Hover color: RoyalBlue */
text-decoration: underline;
}
a:visited {
color: #4682b4; /* Visited color: SteelBlue */
}