Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 7a18d22

Browse files
authored
Fix grants tables (#411)
1 parent d659afc commit 7a18d22

File tree

2 files changed

+57
-33
lines changed

2 files changed

+57
-33
lines changed

grants.njk

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -51,29 +51,41 @@ The 2023 Fellowship application is now open through June 30!
5151
box-sizing: border-box;
5252
}
5353
54-
.box {
55-
display: table-cell;
54+
/* Create three equal columns that floats next to each other */
55+
.statement {
56+
float: left;
5657
width: 33.33%;
57-
padding: 50px;
58+
padding: 10px;
5859
}
5960
60-
.clearfix::mission {
61+
/* Clear floats after the columns */
62+
.mission:after {
6163
content: "";
62-
clear: both;
6364
display: table;
65+
clear: both;
66+
}
67+
68+
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
69+
@media screen and (max-width: 600px) {
70+
.statement {
71+
width: 100%;
72+
}
6473
}
6574
6675
</style>
6776

6877
<div class="mission">
69-
<div class="box" style="background-color:#F5D7C5">
70-
<center><p><u>SUPPORT THE MAINTAINERS OF RUST.</u></center></p><p><i>We know that many people have volunteered significant time to help make Rust what it is today. We hope that our funding will go some way in acknowledging their efforts and rewarding their future contributions.</i></p>
78+
<div class="statement">
79+
<h3>SUPPORT THE MAINTAINERS OF RUST.</h3>
80+
<p><i>We know that many people have volunteered significant time to help make Rust what it is today. We hope that our funding will go some way in acknowledging their efforts and rewarding their future contributions.</i></p>
7181
</div>
72-
<div class="box" style="background-color:#EAA681">
73-
<center><p><u>NURTURE THE COMMUNITY OF RUST USERS.</u></center></p><p><i>By supporting contributors across the world, we hope to support the diversity and health of the Rust community and create more opportunities for contributors of all backgrounds.</p></i>
82+
<div class="statement">
83+
<h3>NURTURE THE COMMUNITY OF RUST USERS.</h3>
84+
<p><i>By supporting contributors across the world, we hope to support the diversity and health of the Rust community and create more opportunities for contributors of all backgrounds.</p></i>
7485
</div>
75-
<div class="box" style="background-color:#F5D7C5">
76-
<center><p><u>ENABLE THE FURTHER INNOVATION OF RUST.</center></p></u><p><i>By rewarding and supporting Rust community members' innovative ideas, our grants serve as a strategic investment in the long-term growth and advancement of the Rust ecosystem.</p></i>
86+
<div class="statement">
87+
<h3>ENABLE THE FURTHER INNOVATION OF RUST.</h3>
88+
<p><i>By rewarding and supporting Rust community members' innovative ideas, our grants serve as a strategic investment in the long-term growth and advancement of the Rust ecosystem.</p></i>
7789
</div>
7890
<p>&nbsp;</p>
7991
<hr>
@@ -131,7 +143,7 @@ The 2023 Fellowship application is now open through June 30!
131143

132144
<center><style>
133145
.bordered2 {
134-
margin: 10px;
146+
margin: 10px;
135147
width: 600px;
136148
max-width: 100%;
137149
text-align: left;
@@ -152,7 +164,7 @@ The 2023 Fellowship application is now open through June 30!
152164

153165
<center><style>
154166
.bordered3 {
155-
margin: 10px;
167+
margin: 10px;
156168
width: 600px;
157169
max-width: 100%;
158170
text-align: left;
@@ -173,7 +185,7 @@ The 2023 Fellowship application is now open through June 30!
173185

174186
<center><style>
175187
.bordered4 {
176-
margin: 10px;
188+
margin: 10px;
177189
width: 600px;
178190
max-width: 100%;
179191
text-align: left;

grants/fellowships.md

Lines changed: 31 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -65,30 +65,42 @@ tags:
6565
box-sizing: border-box;
6666
}
6767

68-
.box9 {
69-
display: table-cell;
68+
/* Create three equal columns that floats next to each other */
69+
.benefit {
70+
float: left;
7071
width: 33.33%;
71-
padding: 50px;
72+
padding: 10px;
7273
}
7374

74-
.clearfix::benefits {
75+
/* Clear floats after the columns */
76+
.benefits:after {
7577
content: "";
76-
clear: both;
7778
display: table;
79+
clear: both;
80+
}
81+
82+
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
83+
@media screen and (max-width: 600px) {
84+
.benefit {
85+
width: 100%;
86+
}
7887
}
7988
</style>
8089

8190
<div class="benefits">
82-
<div class="box9" style="background-color:#F5D7C5">
83-
<center><p> A monthly stipend of $1,000 USD per month for 12 months.</p>
84-
</div>
85-
<div class="box9" style="background-color:#EAA681">
86-
<center><p>An allowance of up to $2,000 to support travel to relevant Rust events.</p>
91+
<div class="benefit">
92+
<h3>Stipend</h3>
93+
<p>A monthly stipend of $1,000 USD per month for 12 months.</p>
8794
</div>
88-
<div class="box9" style="background-color:#F5D7C5">
89-
<center><p>Up to $2,000 towards training and skills development.</p>
95+
<div class="benefit">
96+
<h3>Travel Budget</h3>
97+
<p>An allowance of up to $2,000 to support travel to relevant Rust events.</p>
9098
</div>
99+
<div class="benefit">
100+
<h3>Training Allowance</h3>
101+
<p>Up to $2,000 towards training and skills development.</p>
91102
</div>
103+
</div>
92104
<br>
93105
&nbsp;
94106
<br>
@@ -133,7 +145,7 @@ tags:
133145

134146
<style>
135147
.bordered2 {
136-
margin: 10px;
148+
margin: 10px;
137149
width: 100%;
138150
max-width: 100%;
139151
text-align: left;
@@ -152,7 +164,7 @@ The Security Fellow will have the opportunity to research and implement detectio
152164

153165
<style>
154166
.bordered3 {
155-
margin: 10px;
167+
margin: 10px;
156168
width: 100%;
157169
max-width: 100%;
158170
text-align: left;
@@ -171,7 +183,7 @@ The crates.io Fellow will have the opportunity to develop a comprehensive unders
171183

172184
<style>
173185
.bordered4 {
174-
margin: 10px;
186+
margin: 10px;
175187
width: 100%;
176188
max-width: 100%;
177189
text-align: left;
@@ -190,7 +202,7 @@ The Infrastructure Fellow will be responsible for developing a comprehensive und
190202

191203
<style>
192204
.bordered5 {
193-
margin: 10px;
205+
margin: 10px;
194206
width: 100%;
195207
max-width: 100%;
196208
text-align: left;
@@ -249,13 +261,13 @@ The Compiler Fellow will develop a comprehensive understanding of the Rust compi
249261
text-align: left;
250262
margin: 100px;
251263
}
252-
264+
253265
.details p {
254266
margin-bottom: 1em;
255267
line-height: normal;
256268
}
257269
</style>
258-
270+
259271
<div class="details">
260272
<details>
261273
<summary>How long does the program last?</summary>
@@ -397,4 +409,4 @@ The Compiler Fellow will develop a comprehensive understanding of the Rust compi
397409

398410
<center><p>... and by the companies and individuals who contribute through our <a href="https://github.com/sponsors/rustfoundation">GitHub Sponsors</a> page.</p></center>
399411

400-
<center><p><i>If your organization is interested in supporting the future of Rust’s talent and innovation through the Community Grants Program, please email us at <a href="mailto:[email protected]">[email protected]</a>. Donations in any amount are greatly appreciated.</i></p></center>
412+
<center><p><i>If your organization is interested in supporting the future of Rust’s talent and innovation through the Community Grants Program, please email us at <a href="mailto:[email protected]">[email protected]</a>. Donations in any amount are greatly appreciated.</i></p></center>

0 commit comments

Comments
 (0)