Skip to content

Commit 70f4587

Browse files
committed
Add new logo
1 parent 58e7989 commit 70f4587

File tree

8 files changed

+288
-64
lines changed

8 files changed

+288
-64
lines changed

_includes/book.svg

Lines changed: 54 additions & 12 deletions
Loading

_includes/contact.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<ul class="contact">
2+
<li><a href="https://matrix.to/#/#rust:gnome.org"><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Matrix</title><path d="M.632.55v22.9H2.28V24H0V0h2.28v.55zm7.043 7.26v1.157h.033c.309-.443.683-.784 1.117-1.024.433-.245.936-.365 1.5-.365.54 0 1.033.107 1.481.314.448.208.785.582 1.02 1.108.254-.374.6-.706 1.034-.992.434-.287.95-.43 1.546-.43.453 0 .872.056 1.26.167.388.11.716.286.993.53.276.245.489.559.646.951.152.392.23.863.23 1.417v5.728h-2.349V11.52c0-.286-.01-.559-.032-.812a1.755 1.755 0 0 0-.18-.66 1.106 1.106 0 0 0-.438-.448c-.194-.11-.457-.166-.785-.166-.332 0-.6.064-.803.189a1.38 1.38 0 0 0-.48.499 1.946 1.946 0 0 0-.231.696 5.56 5.56 0 0 0-.06.785v4.768h-2.35v-4.8c0-.254-.004-.503-.018-.752a2.074 2.074 0 0 0-.143-.688 1.052 1.052 0 0 0-.415-.503c-.194-.125-.476-.19-.854-.19-.111 0-.259.024-.439.074-.18.051-.36.143-.53.282-.171.138-.319.337-.439.595-.12.259-.18.6-.18 1.02v4.966H5.46V7.81zm15.693 15.64V.55H21.72V0H24v24h-2.28v-.55z"/></svg> #rust:gnome.org</a></li>
3+
4+
<li><a href="https://discourse.gnome.org/tag/rust"><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Discourse</title><path d="M12.103 0C18.666 0 24 5.485 24 11.997c0 6.51-5.33 11.99-11.9 11.99L0 24V11.79C0 5.28 5.532 0 12.103 0zm.116 4.563c-2.593-.003-4.996 1.352-6.337 3.57-1.33 2.208-1.387 4.957-.148 7.22L4.4 19.61l4.794-1.074c2.745 1.225 5.965.676 8.136-1.39 2.17-2.054 2.86-5.228 1.737-7.997-1.135-2.778-3.84-4.59-6.84-4.585h-.008z"/></svg> discourse.gnome.org/tag/rust</a></li>
5+
6+
<li><a href="https://github.com/gtk-rs"><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg> github.com/gtk-rs</a></li>
7+
8+
<li><a href="https://opencollective.com/gtk-rs"><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Open Collective</title><path d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c2.54 0 4.894-.79 6.834-2.135l-3.107-3.109a7.715 7.715 0 1 1 0-13.512l3.107-3.109A11.943 11.943 0 0 0 12 0zm9.865 5.166l-3.109 3.107A7.67 7.67 0 0 1 19.715 12a7.682 7.682 0 0 1-.959 3.727l3.109 3.107A11.943 11.943 0 0 0 24 12c0-2.54-.79-4.894-2.135-6.834z"/></svg> opencollective.com/gtk-rs</a></li>
9+
</ul>

_includes/footer.html

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
<footer class="site-footer">
22

33
<div class="wrapper">
4-
<ul>
5-
<li><a href="https://matrix.to/#/#rust:gnome.org"><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Matrix</title><path d="M.632.55v22.9H2.28V24H0V0h2.28v.55zm7.043 7.26v1.157h.033c.309-.443.683-.784 1.117-1.024.433-.245.936-.365 1.5-.365.54 0 1.033.107 1.481.314.448.208.785.582 1.02 1.108.254-.374.6-.706 1.034-.992.434-.287.95-.43 1.546-.43.453 0 .872.056 1.26.167.388.11.716.286.993.53.276.245.489.559.646.951.152.392.23.863.23 1.417v5.728h-2.349V11.52c0-.286-.01-.559-.032-.812a1.755 1.755 0 0 0-.18-.66 1.106 1.106 0 0 0-.438-.448c-.194-.11-.457-.166-.785-.166-.332 0-.6.064-.803.189a1.38 1.38 0 0 0-.48.499 1.946 1.946 0 0 0-.231.696 5.56 5.56 0 0 0-.06.785v4.768h-2.35v-4.8c0-.254-.004-.503-.018-.752a2.074 2.074 0 0 0-.143-.688 1.052 1.052 0 0 0-.415-.503c-.194-.125-.476-.19-.854-.19-.111 0-.259.024-.439.074-.18.051-.36.143-.53.282-.171.138-.319.337-.439.595-.12.259-.18.6-.18 1.02v4.966H5.46V7.81zm15.693 15.64V.55H21.72V0H24v24h-2.28v-.55z"/></svg> #rust:gnome.org</a></li>
6-
7-
<li><a href="https://github.com/gtk-rs"><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg> github.com/gtk-rs</a></li>
8-
9-
<li><a href="https://opencollective.com/gtk-rs"><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Open Collective</title><path d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c2.54 0 4.894-.79 6.834-2.135l-3.107-3.109a7.715 7.715 0 1 1 0-13.512l3.107-3.109A11.943 11.943 0 0 0 12 0zm9.865 5.166l-3.109 3.107A7.67 7.67 0 0 1 19.715 12a7.682 7.682 0 0 1-.959 3.727l3.109 3.107A11.943 11.943 0 0 0 24 12c0-2.54-.79-4.894-2.135-6.834z"/></svg> opencollective.com/gtk-rs</a></li>
10-
</ul>
11-
<div>
12-
<!--
13-
Proudly part of
14-
<img src="https://gitlab.gnome.org/Teams/Circle/-/raw/91de93edbb3e75eb0882d56bd466e58b525135d5/assets/button/circle-button-fullcolor.svg" alt="GNOME Circle Logo" />
15-
-->
16-
</div>
4+
{% include contact.html %}
5+
<a href="https://circle.gnome.org/">
6+
Proudly part of
7+
<img src="https://gitlab.gnome.org/Teams/Circle/-/raw/91de93edbb3e75eb0882d56bd466e58b525135d5/assets/button/circle-button-fullcolor.svg" alt="GNOME Circle Logo" />
8+
</a>
179
</div>
1810
</footer>

_sass/_layout.scss

Lines changed: 60 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,23 @@
1515
margin: 2.5rem 1.5rem;
1616
display: inline-block;
1717

18-
background-size: contain;
19-
background-repeat: no-repeat;
20-
padding-left: 120px;
21-
line-height: 100px;
18+
padding-left: 1rem;
2219

2320
transition: 0.2s;
2421
transition-property: transform, opacity;
2522

26-
background-image: url('../images/gtk-rs.png');
23+
&::before {
24+
background-size: contain;
25+
background-repeat: no-repeat;
26+
display: inline-block;
27+
height: 110px;
28+
width: 110px;
29+
border-radius: 50%;
30+
background-image: url('/logo.svg');
31+
content: '';
32+
vertical-align: middle;
33+
margin-right: 1.6rem;
34+
}
2735

2836
&:hover {
2937
opacity: 0.9;
@@ -131,49 +139,64 @@
131139
flex-wrap: wrap;
132140
justify-content: space-around;
133141
align-items: center;
134-
}
135142

136-
svg {
137-
width: 1.2em;
138-
margin-right: 0.6em;
139-
display: inline-block;
140-
path {
141-
fill: white;
143+
ul {
144+
margin: 0;
142145
}
143-
}
144146

145-
a {
146-
color: white;
147-
text-decoration: none;
148-
line-height: 2em;
149-
display: flex;
147+
a {
148+
color: white;
150149

151-
&:hover {
152-
color: #CCC;
150+
&:hover {
151+
color: #CCC;
152+
}
153+
}
153154

154-
svg {
155-
path {
156-
fill: #CCC;
157-
}
155+
156+
& > a {
157+
font-size: 0.8em;
158+
display: inline-block;
159+
text-decoration: none;
160+
161+
img {
162+
width: auto;
163+
height: 5rem;
164+
display: block;
165+
padding-top: 0.3em;
166+
transition: opacity 0.3s;
167+
}
168+
169+
&:hover img {
170+
opacity: 0.8;
158171
}
159172
}
160173
}
174+
}
175+
176+
ul.contact {
161177

162178
li {
163179
list-style: none;
164180
}
165181

166-
.wrapper > div {
167-
font-size: 0.8em;
168-
line-height: 0;
169-
}
170182

171-
img {
172-
height: 5em;
173-
width: auto;
174-
margin-left: auto;
175-
display: block;
176-
padding-top: 1em;
183+
a {
184+
line-height: 2em;
185+
display: flex;
186+
text-decoration: none;
187+
188+
svg {
189+
width: 1.2em;
190+
padding-top: 1px;
191+
margin-right: 0.6em;
192+
path {
193+
fill: currentcolor;
194+
}
195+
}
196+
197+
&:hover {
198+
text-decoration: none;
199+
}
177200
}
178201
}
179202

@@ -368,13 +391,13 @@ section.special {
368391
text-align: center;
369392
display: flex;
370393
flex-wrap: wrap;
371-
justify-content: space-between;
394+
justify-content: space-evenly;
395+
margin-left: 0;
372396
}
373397

374398
li {
375399
list-style: none;
376400
display: inline-block;
377-
flex-grow: 1;
378401
}
379402

380403

@@ -383,7 +406,7 @@ section.special {
383406
font-family: $headings-font-family;
384407
font-weight: 600;
385408

386-
padding: 0 0.8em;
409+
padding: 0 1em;
387410
margin: 0.15em 0.3em;
388411
line-height: 3em;
389412
vertical-align: center;

contact.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ layout: default
66

77
For general support use the GNOME Discourse or the Matrix chat.
88

9-
- GNOME Discourse **[discourse.gnome.org](https://discourse.gnome.org)**
10-
- Matrix channel **[#rust:gnome.org](https://matrix.to/#/#rust:gnome.org)**
9+
{% include contact.html %}
1110

1211
### Contact Gtk-rs developers
1312

gtk.png

-39.5 KB
Binary file not shown.

images/gtk-rs.png

-22.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)