-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylesOLD.css
More file actions
181 lines (144 loc) · 4.09 KB
/
stylesOLD.css
File metadata and controls
181 lines (144 loc) · 4.09 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
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
color: #666; /* Duller color for better readability */
line-height: 2;
display: flex;
flex-direction: column;
min-height: 100vh; /* Ensures the footer stays at the bottom */
font-size: 20px; /* Increased font size */
}
header {
background: #007acc; /* Your original background color */
color: white;
padding: 15px; /* Padding for the header */
display: flex; /* Use flexbox for layout */
align-items: center; /* Center items vertically */
}
.header-profile-pic {
width: 150px; /* Enlarged size */
height: auto; /* Maintain aspect ratio */
/*border-radius: 50%; /* Circular image */
margin-right: 20px; /* Space between image and text */
border: 2px solid #007acc; ; /* Optional: border for better visibility */
}
.header-text {
text-align: left; /* Align text to the left */
padding: 0px; /* Add padding to the text */
margin: 0; /* Reset margins to avoid unwanted spacing */
}
.header-text h2 {
margin: 2px 0; /* Add margin for h2 */
}
header h1 {
margin: 0;
font-size: 2.2em;
}
nav {
background: #005fa3;
}
nav ul {
display: flex;
justify-content: center;
list-style: none;
padding: 10px;
}
nav ul li {
margin: 0 15px;
}
nav ul li a {
color: white;
text-decoration: none;
padding: 5px 10px;
transition: background 0.3s ease;
}
nav ul li a:hover {
background: #e7f3fe;
color: #005fa3; /* Dark text color on hover */
border-radius: 5px;
font-weight: bold; /* Make text bold on hover */
}
main {
flex: 1; /* Allows main to expand and take available space */
padding: 20px;
max-width: 1200px; /* Limits the width of the main content */
margin: 0 auto; /* Centers the main content */
}
section {
margin: 20px 0;
padding: 20px;
background: white;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
footer {
text-align: center;
padding: 10px;
background: #007acc;
color: white;
}
h3 {
color: #007acc;
font-family: Arial, sans-serif; /* Example font */
font-size: 30px; /* Example font size */
margin: 20px 0; /* Example margin */
}
.card {
flex: 1 1 calc(45% - 15px); /* Responsive card size */
background: #e6f7ff; /* Light blue background for cards */
border: 2px solid #007acc; /* Border color */
border-radius: 8px; /* Rounded corners for cards */
padding: 15px; /* Padding inside cards */
text-align: center; /* Center text inside cards */
transition: transform 0.2s; /* Animation for hover effect */
}
.card:hover {
transform: scale(1.05); /* Slightly enlarge on hover */
}
.lab-link {
font-weight: bold;
color: #0056b3;
text-decoration: underline; /* Styling for the link */
}
.welcome-section {
max-width: 800px; /* Limit the width for better readability */
margin: auto; /* Center the section */
padding: 20px; /* Padding inside the section */
background: white; /* White background for the section */
border-radius: 8px; /* Rounded corners */
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}
.welcome-section h3 {
color: #007acc; /* Header color */
}
.welcome-section h4 {
margin-top: 20px; /* Space above the research interests heading */
color: #333; /* Darker color for subheading */
}
.interest-cards {
display: flex; /* Flexbox for card layout */
flex-wrap: wrap; /* Allow wrapping of cards */
gap: 15px; /* Space between cards */
margin-top: 10px; /* Space above the cards */
}
@media (max-width: 768px) {
nav ul {
flex-direction: column;
}
header h1 {
font-size: 2em;
}
}
@media (max-width: 480px) {
section {
padding: 15px;
}
header h1 {
font-size: 1.8em;
}
}