Skip to content

Commit 475c715

Browse files
committed
Improve styling again...
1 parent 4ffc3fa commit 475c715

File tree

1 file changed

+34
-51
lines changed

1 file changed

+34
-51
lines changed

_pages/opening.md

Lines changed: 34 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ author_profile: true
1313
<p class="lead">We are currently looking for postdoctoral researchers, PhD students, visiting students, and intern students to join the IT:U NLP lab!</p>
1414
</div>
1515

16+
<h3>How to Apply</h3>
1617
<div class="opening-application">
1718
<div class="application-card">
1819
<div class="card-content">
19-
<h3>How to Apply</h3>
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">
@@ -36,27 +36,24 @@ author_profile: true
3636
<h3 class="funding-title">IT:U Postdoc Program</h3>
3737
</div>
3838
39-
<div class="funding-card">
40-
<h3 class="funding-title">
41-
<a href="https://ec.europa.eu/research/mariecurieactions/">Marie-Curie Postdoctoral Fellowships</a>
42-
<i class="fas fa-external-link-alt"></i>
43-
</h3>
44-
</div>
39+
<a href="https://ec.europa.eu/research/mariecurieactions/" class="funding-card-link">
40+
<div class="funding-card">
41+
<h3 class="funding-title">Marie-Curie Postdoctoral Fellowships</h3>
42+
</div>
43+
</a>
4544
46-
<div class="funding-card">
47-
<h3 class="funding-title">
48-
<a href="https://www.fwf.ac.at/en/research-funding/fwf-programmes/esprit-programme">FWF ESPRIT Career Advancement for Postdocs</a>
49-
<i class="fas fa-external-link-alt"></i>
50-
</h3>
51-
</div>
45+
<a href="https://www.fwf.ac.at/en/research-funding/fwf-programmes/esprit-programme" class="funding-card-link">
46+
<div class="funding-card">
47+
<h3 class="funding-title">FWF ESPRIT Career Advancement for Postdocs</h3>
48+
</div>
49+
</a>
5250
53-
<div class="funding-card">
54-
<h3 class="funding-title">
55-
<a href="https://www.leopoldina.org/en/funding/leopoldina-fellowship-programme/leopoldina-postdoc-scholarship/">Leopoldina Postdoc Scholarship</a>
56-
<i class="fas fa-external-link-alt"></i>
57-
</h3>
58-
<p class="funding-subtitle">(incoming from Germany, Austria, or Switzerland)</p>
59-
</div>
51+
<a href="https://www.leopoldina.org/en/funding/leopoldina-fellowship-programme/leopoldina-postdoc-scholarship/" class="funding-card-link">
52+
<div class="funding-card">
53+
<h3 class="funding-title">Leopoldina Postdoc Scholarship</h3>
54+
<p class="funding-subtitle">(incoming from Germany, Austria, or Switzerland)</p>
55+
</div>
56+
</a>
6057
</div>
6158
</div>
6259
</div>
@@ -71,7 +68,7 @@ author_profile: true
7168
}
7269

7370
.opening-header {
74-
text-align: center;
71+
text-align: left;
7572
margin-bottom: 30px;
7673
}
7774

@@ -110,9 +107,9 @@ author_profile: true
110107

111108
.button-container {
112109
display: flex;
110+
flex-direction: column;
113111
gap: 15px;
114112
margin-top: 20px;
115-
flex-wrap: wrap;
116113
}
117114

118115
.btn {
@@ -125,12 +122,12 @@ author_profile: true
125122
}
126123

127124
.btn-custom {
128-
background-color: #a8d1ff;
125+
background-color: #86bfff;
129126
color: #333;
130127
}
131128

132129
.btn-custom:hover {
133-
background-color: #86bfff;
130+
background-color: #6baeff;
134131
text-decoration: none;
135132
}
136133

@@ -140,8 +137,8 @@ author_profile: true
140137
}
141138

142139
.funding-cards {
143-
display: grid;
144-
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
140+
display: flex;
141+
flex-direction: column;
145142
gap: 20px;
146143
margin-top: 20px;
147144
}
@@ -153,27 +150,22 @@ author_profile: true
153150
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
154151
}
155152

156-
.funding-title {
157-
margin: 0;
158-
font-size: 1.2em;
159-
display: flex;
160-
align-items: center;
161-
justify-content: space-between;
162-
}
163-
164-
.funding-title a {
165-
color: #4285f4;
153+
.funding-card-link {
166154
text-decoration: none;
155+
color: inherit;
156+
display: block;
167157
}
168158

169-
.funding-title a:hover {
170-
text-decoration: underline;
159+
.funding-card-link:hover .funding-card {
160+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
161+
transform: translateY(-2px);
162+
transition: all 0.3s ease;
171163
}
172164

173-
.funding-title i {
174-
font-size: 0.8em;
175-
margin-left: 8px;
176-
color: #4285f4;
165+
.funding-title {
166+
margin: 0;
167+
font-size: 1.2em;
168+
color: #333;
177169
}
178170

179171
.funding-subtitle {
@@ -191,15 +183,6 @@ author_profile: true
191183
font-size: 2em;
192184
}
193185

194-
.funding-cards {
195-
grid-template-columns: 1fr;
196-
}
197-
198-
.button-container {
199-
flex-direction: column;
200-
gap: 10px;
201-
}
202-
203186
.btn {
204187
width: 100%;
205188
text-align: center;

0 commit comments

Comments
 (0)