Skip to content

Commit 51ad4b2

Browse files
committed
Improve style again
1 parent fb70eb2 commit 51ad4b2

File tree

1 file changed

+60
-17
lines changed

1 file changed

+60
-17
lines changed

_pages/opening.md

Lines changed: 60 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ author_profile: true
2020
<p>Please fill out the form below if you are interested in joining our lab.</p>
2121
<p>We strongly encourage you to visit the IT:U NLP group's page to explore our current research topics before applying.</p>
2222
<div class="button-container">
23-
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfVnllFyucGh7IdlUMiz_R7Q4IUucIQqzlyC7KB9Vs7CnDPVQ/viewform" class="btn btn-custom">Application Form</a>
24-
<a href="https://it-u.at/en/research/research-groups/natural-language-processing/" class="btn btn-custom">IT:U-NLP Group Page</a>
23+
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfVnllFyucGh7IdlUMiz_R7Q4IUucIQqzlyC7KB9Vs7CnDPVQ/viewform" class="btn btn-custom">Application Form <i class="fas fa-external-link-alt"></i></a>
24+
<a href="https://it-u.at/en/research/research-groups/natural-language-processing/" class="btn btn-custom">IT:U-NLP Group Page <i class="fas fa-external-link-alt"></i></a>
2525
</div>
2626
</div>
2727
</div>
@@ -38,19 +38,19 @@ author_profile: true
3838
3939
<a href="https://ec.europa.eu/research/mariecurieactions/" target="_blank" class="funding-card-link">
4040
<div class="funding-card">
41-
<h3 class="funding-title">Marie-Curie Postdoctoral Fellowships</h3>
41+
<h3 class="funding-title">Marie-Curie Postdoctoral Fellowships <i class="fas fa-external-link-alt"></i></h3>
4242
</div>
4343
</a>
4444
4545
<a href="https://www.fwf.ac.at/en/research-funding/fwf-programmes/esprit-programme" target="_blank" class="funding-card-link">
4646
<div class="funding-card">
47-
<h3 class="funding-title">FWF ESPRIT Career Advancement for Postdocs</h3>
47+
<h3 class="funding-title">FWF ESPRIT Career Advancement for Postdocs <i class="fas fa-external-link-alt"></i></h3>
4848
</div>
4949
</a>
5050
5151
<a href="https://www.leopoldina.org/en/funding/leopoldina-fellowship-programme/leopoldina-postdoc-scholarship/" target="_blank" class="funding-card-link">
5252
<div class="funding-card">
53-
<h3 class="funding-title">Leopoldina Postdoc Scholarship</h3>
53+
<h3 class="funding-title">Leopoldina Postdoc Scholarship <i class="fas fa-external-link-alt"></i></h3>
5454
<p class="funding-subtitle">(incoming from Germany, Austria, or Switzerland)</p>
5555
</div>
5656
</a>
@@ -59,12 +59,30 @@ author_profile: true
5959
</div>
6060

6161
<style>
62+
:root {
63+
--card-bg: white;
64+
--card-text: #333;
65+
--card-subtitle: #666;
66+
--container-bg: #f9f9f9;
67+
--shadow-color: rgba(0, 0, 0, 0.1);
68+
--shadow-hover: rgba(0, 0, 0, 0.15);
69+
}
70+
71+
html.dark {
72+
--card-bg: #2d2d2d;
73+
--card-text: #e0e0e0;
74+
--card-subtitle: #b0b0b0;
75+
--container-bg: #1e1e1e;
76+
--shadow-color: rgba(0, 0, 0, 0.3);
77+
--shadow-hover: rgba(0, 0, 0, 0.4);
78+
}
79+
6280
.opening-container {
63-
background-color: #f9f9f9;
81+
background-color: var(--container-bg);
6482
border-radius: 8px;
6583
padding: 30px;
6684
margin-bottom: 30px;
67-
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
85+
box-shadow: 0 4px 6px var(--shadow-color);
6886
}
6987

7088
.opening-header {
@@ -86,31 +104,33 @@ author_profile: true
86104
.lead {
87105
font-size: 1.2em;
88106
line-height: 1.6;
89-
color: #555;
107+
color: var(--card-text);
90108
}
91109

92110
.opening-application, .opening-positions {
93111
margin-bottom: 30px;
94112
}
95113

96114
.application-card {
97-
background-color: white;
115+
background-color: var(--card-bg);
98116
border-radius: 8px;
99117
overflow: hidden;
100-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
118+
box-shadow: 0 2px 4px var(--shadow-color);
101119
margin-bottom: 20px;
102120
}
103121

104122
.card-content {
105123
padding: 20px;
124+
color: var(--card-text);
106125
}
107126

108127
.button-container {
109128
display: flex;
110-
flex-direction: column;
111-
align-items: flex-start;
129+
flex-direction: row;
130+
align-items: center;
112131
gap: 15px;
113132
margin-top: 20px;
133+
flex-wrap: wrap;
114134
}
115135

116136
.btn {
@@ -132,9 +152,19 @@ author_profile: true
132152
text-decoration: none !important;
133153
}
134154

155+
.btn i {
156+
margin-left: 5px;
157+
font-size: 0.8em;
158+
}
159+
135160
.opening-positions h1 {
136161
margin-bottom: 15px;
137162
font-size: 2em;
163+
color: var(--card-text);
164+
}
165+
166+
.opening-positions p {
167+
color: var(--card-text);
138168
}
139169

140170
.funding-cards {
@@ -145,10 +175,10 @@ author_profile: true
145175
}
146176

147177
.funding-card {
148-
background-color: white;
178+
background-color: var(--card-bg);
149179
border-radius: 8px;
150180
padding: 20px;
151-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
181+
box-shadow: 0 2px 4px var(--shadow-color);
152182
}
153183

154184
.funding-card-link {
@@ -162,21 +192,29 @@ author_profile: true
162192
}
163193

164194
.funding-card-link:hover .funding-card {
165-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
195+
box-shadow: 0 4px 8px var(--shadow-hover);
166196
transform: translateY(-2px);
167197
transition: all 0.3s ease;
168198
}
169199

170200
.funding-title {
171201
margin: 0;
172202
font-size: 1.2em;
173-
color: #333;
203+
color: var(--card-text);
204+
display: flex;
205+
align-items: center;
206+
}
207+
208+
.funding-title i {
209+
margin-left: 8px;
210+
font-size: 0.8em;
211+
color: #4285f4;
174212
}
175213

176214
.funding-subtitle {
177215
margin-top: 8px;
178216
font-size: 0.9em;
179-
color: #666;
217+
color: var(--card-subtitle);
180218
}
181219

182220
@media (max-width: 768px) {
@@ -187,5 +225,10 @@ author_profile: true
187225
.opening-header h1 {
188226
font-size: 2em;
189227
}
228+
229+
.button-container {
230+
flex-direction: column;
231+
align-items: flex-start;
232+
}
190233
}
191234
</style>

0 commit comments

Comments
 (0)