-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
82 lines (69 loc) · 1.57 KB
/
style.css
File metadata and controls
82 lines (69 loc) · 1.57 KB
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
body {
font-family: Arial, sans-serif;
margin: 2em;
line-height: 1.6;
background: #fafafa;
}
header {
border-bottom: 2px solid #c4bebe; /* lighter gray */
margin: 0 auto 1em auto; /* center the header element */
text-align: center; /* center the text */
width: 50%; /* shorter line width */
padding: 0 0 0.5em 0; /* add some padding below text */
}
.footer-text {
font-size: 0.9em; /* makes it smaller */
color: grey; /* makes the text grey */
margin-left: 20%; /* align with main content left edge */
text-align: left; /* align text to the left */
}
nav ul {
list-style: none;
padding: 0;
}
nav ul li {
margin: 0.5em 0;
}
a {
color: #0066cc;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
#publications ul li {
margin: 1.2em 0;
padding-left: 0.5em;
border-left: 3px solid #ddd;
}
#publications strong {
font-size: 1.05em;
}
#publications em {
color: #555;
}
.year-header {
font-size: 1.2em;
font-weight: bold;
margin: 30px 0 15px 0;
color: #333;
}
section {
margin-top: 5em; /* space above each section */
margin-bottom: 5em; /* space below each section */
}
.site-footer {
margin-top: 50px; /* adds space above the footer */
}
/* Default: mobile first (no centering, takes full width) */
main {
width: 100%;
padding: 0 1rem; /* small side padding for readability */
}
/* On larger screens (e.g., tablets/desktops), center the content */
@media (min-width: 768px) {
main {
max-width: 800px; /* constrain width */
margin: 0 auto; /* center horizontally */
}
}