generated from academicpages/academicpages.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
135 lines (115 loc) · 1.92 KB
/
style.css
File metadata and controls
135 lines (115 loc) · 1.92 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
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
body {
margin: 0;
font-family: Georgia, "Times New Roman", serif;
font-size: 16px;
line-height: 1.6;
color: #222;
background: #ffffff;
}
.page-container {
display: flex;
min-height: 100vh;
}
.sidebar {
width: 220px;
flex-shrink: 0;
background-color: #f5f5f5;
padding: 24px 18px;
box-sizing: border-box;
position: sticky;
top: 0;
align-self: flex-start;
height: 100vh;
}
.nav-title {
font-family: Arial, sans-serif;
font-size: 14px;
color: #666;
margin: 0 0 14px 0;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.sidebar nav a {
display: block;
font-family: Arial, sans-serif;
color: #0056b3;
text-decoration: none;
margin-bottom: 10px;
padding: 4px 0;
}
.sidebar nav a.active {
font-weight: 700;
text-decoration: underline;
}
.sidebar nav a:hover {
text-decoration: underline;
}
.main-content {
max-width: 850px;
padding: 36px 40px;
box-sizing: border-box;
}
h1 {
color: #4a6fa5;
margin: 0 0 18px 0;
padding-bottom: 10px;
border-bottom: 1px solid #d8d8d8;
font-size: 2rem;
}
h2 {
color: #4a6fa5;
font-size: 1.4rem;
margin-top: 34px;
margin-bottom: 10px;
}
p {
margin: 0 0 12px;
}
.profile-photo {
float: left;
width: 170px;
height: auto;
margin-right: 20px;
margin-bottom: 12px;
border: 1px solid #d6d6d6;
}
.clearfix::after {
content: "";
display: table;
clear: both;
}
ul {
padding-left: 22px;
}
li {
margin-bottom: 10px;
}
.paper-links a {
font-family: Arial, sans-serif;
font-size: 0.92rem;
color: #0056b3;
text-decoration: none;
margin-left: 8px;
}
.paper-links a:hover {
text-decoration: underline;
}
@media (max-width: 768px) {
.page-container {
flex-direction: column;
}
.sidebar {
width: 100%;
position: static;
height: auto;
}
.main-content {
max-width: 100%;
padding: 26px 18px;
}
.profile-photo {
float: none;
display: block;
margin: 0 auto 16px auto;
}
}