-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
164 lines (139 loc) · 2.8 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
:root {
--primary-color: #3f51b5;
--secondary-color: #7986cb;
--background-color: #f5f5f5; /* Light gray background */
--text-color: #333333;
--header-bg: #1a237e;
--nav-bg: #283593;
--section-bg: #ffffff; /* White background for sections */
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Source Code Pro', 'Courier New', Courier, monospace;
line-height: 1.6;
color: var(--text-color);
background-color: var(--background-color);
overflow-x: hidden;
}
#dnaCanvas {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0.1; /* Make the DNA animation more subtle */
}
header, nav, main, footer {
padding: 5vw;
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
header {
background-color: var(--header-bg);
color: #ffffff;
text-align: center;
}
h1 {
font-size: clamp(2rem, 5vw, 3rem);
}
nav {
background-color: var(--nav-bg);
text-align: center;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
nav a {
color: #ffffff;
text-decoration: none;
padding: 10px 15px;
display: inline-block;
font-size: clamp(0.8rem, 2vw, 1rem);
}
nav a:hover {
background-color: rgba(57, 73, 171, 0.8);
}
main section {
background-color: var(--section-bg);
padding: 20px;
margin-bottom: 20px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
h2 {
color: var(--primary-color);
border-bottom: 2px solid var(--primary-color);
padding-bottom: 10px;
font-size: clamp(1.5rem, 4vw, 2rem);
text-align: center;
}
h3 {
color: var(--secondary-color);
font-size: clamp(1.2rem, 3vw, 1.5rem);
}
a {
color: var(--secondary-color);
}
a:hover {
text-decoration: underline;
}
ul {
padding-left: 20px;
}
footer {
text-align: center;
background-color: var(--header-bg);
color: #ffffff;
margin-top: 20px;
}
.social-icons {
font-size: clamp(1.5rem, 4vw, 2rem);
}
.social-icons a {
margin: 0 10px;
color: var(--secondary-color);
text-decoration: none;
}
.social-icons a:hover {
color: #ffffff;
}
#honours ul, #conferences ul {
list-style-type: none;
padding-left: 0;
}
#honours li, #conferences li {
margin-bottom: 15px;
background-color: #f9f9f9;
padding: 15px;
border-radius: 5px;
}
#membership p {
background-color: #f9f9f9;
padding: 15px;
border-radius: 5px;
}
.publication {
background-color: #f9f9f9;
padding: 20px;
border-radius: 10px;
margin-top: 20px;
}
.publication p {
text-align: justify;
margin: 0 auto;
max-width: 800px;
}
@media screen and (max-width: 600px) {
header, nav, main, footer {
padding: 3vw;
}
nav a {
padding: 5px 10px;
}
}