Skip to content

Commit 3164092

Browse files
committed
reset size of avatars and move o 4 columns to minimize page length
1 parent d5cba33 commit 3164092

File tree

4 files changed

+82
-15
lines changed

4 files changed

+82
-15
lines changed

_data/1kcontributor-list.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4290,11 +4290,6 @@ links:
42904290
name: Eduardo Ramirez
42914291
avatar: "https://avatars.githubusercontent.com/u/42619854?u=a0c124d69e39fd34fc565a2bfa1585a15a53583b&v=4"
42924292

4293-
- login: protean-bot
4294-
url: https://github.com/protean-bot
4295-
name: Not Provided
4296-
avatar: "https://avatars.githubusercontent.com/u/43053909?v=4"
4297-
42984293
- login: 0SkillAllLuck
42994294
url: https://github.com/0SkillAllLuck
43004295
name: Cedric Lewe
@@ -4621,11 +4616,6 @@ links:
46214616
name: Lars
46224617
avatar: "https://avatars.githubusercontent.com/u/60571459?v=4"
46234618

4624-
- login: quarkusbot
4625-
url: https://github.com/quarkusbot
4626-
name: quarkusbot
4627-
avatar: "https://avatars.githubusercontent.com/u/61254497?u=c06c010bbbf0caac2d0090bcb1560e4524f5c11a&v=4"
4628-
46294619
- login: wiebeck
46304620
url: https://github.com/wiebeck
46314621
name: Oliver \"sLoP\" Wiebeck

_includes/1kcontributor-list-band.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,16 @@ <h2 class="mt-0">Quarkus is 1000% for the community </h2>
1414
<h2>The Amazing 1000 Contributors</h2>
1515
<p>We'd like to recognize and thank these 1000 contributors who've dedicated their time and efforts to take Quarkus from just an idea to the one of the best Java frameworks in open source.</p>
1616
</div>
17-
<div class="grid-wrapper click-cards">
17+
<div class="grid-wrapper contrib-cards">
1818
{% for item in site.data.1kcontributor-list.links %}
1919
<div class="card">
2020
<a href="{{ item.url }}" target="_blank"></a>
2121
<div>
22-
<img src="{{ item.avatar }}">
23-
<p><strong>{{ item.name }}</strong><br/>
24-
Github: {{ item.login }}
25-
</p>
22+
<img class="headshot" src="{{ item.avatar }}">
23+
</div>
24+
<div>
25+
<p class="title">{{ item.name }}</p>
26+
<p class="description">Github: {{ item.login }}</p>
2627
</div>
2728
</div>
2829
{% endfor %}
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
.contrib-cards {
2+
3+
4+
a, a:hover, a:focus {
5+
text-decoration: none;
6+
}
7+
8+
ul.list-item {
9+
grid-gap: 1.5em;
10+
list-style: none;
11+
padding: 0;
12+
margin-top: 0;
13+
}
14+
15+
ul.list, ul.list-item {
16+
list-style: none;
17+
padding: 0;
18+
}
19+
20+
.card {
21+
border: 1px solid var(--card-outline);
22+
border-radius: 10px;
23+
padding: 1rem;
24+
position: relative;
25+
height: calc(100% - 2rem);
26+
grid-column: span 3;
27+
display: flex;
28+
flex-direction: row;
29+
30+
@media screen and (max-width: 1300px) {
31+
grid-column: span 6;
32+
}
33+
34+
@media screen and (max-width: 768px) {
35+
grid-column: span 12;
36+
}
37+
38+
@media screen and (max-width: 480px) {
39+
grid-column: span 12;
40+
}
41+
42+
> a {
43+
position: absolute;
44+
top: 0; left: 0;
45+
height: 100%; width: 100%;
46+
}
47+
48+
.headshot {
49+
max-width: 3rem;
50+
max-height: 3rem;
51+
margin-right: .75rem;
52+
}
53+
54+
.title {
55+
font-weight: 600;
56+
margin: 0;
57+
}
58+
59+
.description {
60+
margin: 0;
61+
}
62+
63+
.content-highlights p {
64+
font-size: .7rem;
65+
line-height: .8rem;
66+
opacity: 0.8;
67+
}
68+
69+
&:hover, &:focus {
70+
background-color: var(--card-background-color-hover);
71+
border:1px solid var(--card-background-color-hover);
72+
}
73+
}
74+
75+
}

assets/css/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,6 @@ $baseurl: "{{ site.baseurl }}";
6565
@import "includes/tooltip";
6666
@import "includes/language-band.scss";
6767
@import "includes/homepage-userstory-callout";
68+
@import "includes/contributor_list.scss";
6869
@import "includes/brand";
6970

0 commit comments

Comments
 (0)