Skip to content

Commit e040c2f

Browse files
authored
Merge pull request #20 from CodeWithGroup/feature/branding-page
feat: adds branding page
2 parents ebfea20 + 35e2615 commit e040c2f

File tree

11 files changed

+600
-2
lines changed

11 files changed

+600
-2
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
_site/
33
.sass-cache/
44
.jekyll-cache/
5-
.jekyll-metadata
5+
.jekyll-metadata
6+
.bundle/
7+
vendor/

_includes/sidebar.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@
4545
<span>Resources</span>
4646
</a>
4747
</li>
48+
<li class="sidebar-dropdown">
49+
<a href="branding.html">
50+
<i class="fas fa-palette"></i>
51+
<span>Branding</span>
52+
</a>
53+
</li>
4854
<li class="sidebar-dropdown">
4955
<a href="people.html">
5056
<i class="fa fa-users"></i>

branding.html

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
---
2+
title: Branding
3+
layout: default
4+
---
5+
6+
<h1>{{page.title}} Guidelines</h1>
7+
8+
<p>When creating resources and communications for CodeWith, please adhere to these guidelines.</p>
9+
10+
<h2>Fonts</h2>
11+
<p>CodeWith’s display typeface, to be used for titles, headings, and generally large text, is Boogaloo, which is
12+
available to view and download at Google fonts: <a href="https://fonts.google.com/specimen/Boogaloo" target="_blank"
13+
rel="noopener">Boogaloo</a></p>
14+
15+
<p>CodeWith’s body typeface, to be used for the main textual content of web pages and documents, is Roboto, which is
16+
available to view and download at Google fonts:<a href="https://fonts.google.com/specimen/Roboto" target="_blank"
17+
rel="noopener">Roboto</a></p>
18+
19+
<h2>Colours</h2>
20+
<div class="row">
21+
<div class="col-4 col-md-2 text-center">
22+
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
23+
<circle cx="25" cy="25" r="25" fill="#1f5237" />
24+
</svg>
25+
<h3 class="colour-label">#1f5237</h3>
26+
</div>
27+
<div class="col-4 col-md-2 text-center">
28+
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
29+
<circle cx="25" cy="25" r="25" fill="#00793c" />
30+
</svg>
31+
<h3 class="colour-label">#00793c</h3>
32+
</div>
33+
<div class="col-4 col-md-2 text-center">
34+
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
35+
<circle cx="25" cy="25" r="25" fill="#009545" />
36+
</svg>
37+
<h3 class="colour-label">#009545</h3>
38+
</div>
39+
<div class="col-4 col-md-2 text-center">
40+
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
41+
<circle cx="25" cy="25" r="25" fill="#00b050" />
42+
</svg>
43+
<h3 class="colour-label">#00b050</h3>
44+
</div>
45+
<div class="w-100 d-none d-md-block"></div>
46+
<div class="col-4 col-md-2 text-center">
47+
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
48+
<circle cx="25" cy="25" r="25" fill="#a52a2a" />
49+
</svg>
50+
<h3 class="colour-label">#a52a2a</h3>
51+
</div>
52+
<div class="col-4 col-md-2 text-center">
53+
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
54+
<circle cx="25" cy="25" r="25" fill="#000000" />
55+
</svg>
56+
<h3 class="colour-label">#000000</h3>
57+
</div>
58+
<div class="col-4 col-md-2 text-center">
59+
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
60+
<circle cx="25" cy="25" r="24" fill="#f8f8f8" stroke="#000" stroke-width="0.5" />
61+
</svg>
62+
<h3 class="colour-label">#f8f8f8</h3>
63+
</div>
64+
</div>
65+
66+
<p>CodeWith’s colour palette can also be found on Coolors: <a
67+
href="https://coolors.co/1f5237-00793c-009545-00b050-a52a2a-000000-f8f8f8" target="_blank"
68+
rel="noopener">CodeWith's Colour Palette</a></p>
69+
70+
<p>Please ensure that text-background pairings have sufficient colour contrast for everyone to read. See information
71+
from the WCAG on colour contrast <a
72+
href="https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html" target="_blank"
73+
rel="noopener">here</a> and a useful contrast checking tool <a href="https://contrastchecker.com/"
74+
target="_blank" rel="noopener">here</a>.</p>
75+
76+
<h2>Logo</h2>
77+
78+
<p>Variations of CodeWith's logo are provided below in SVG and PNG format, along with guidelines for their usage.</p>
79+
80+
<div class="row">
81+
<div class="col-5 col-md-3 card text-center">
82+
<img class="img-fluid" src="images/logo/logo.svg" aria-labelledby="logo-label-full-svg">
83+
<br />
84+
<h4 id="logo-label-full-svg">CodeWith logo (SVG)</h4>
85+
</div>
86+
<div class="col-5 col-md-3 card text-center">
87+
<img class="img-fluid" src="images/logo/logo.png" aria-labelledby="logo-label-full-png">
88+
<br />
89+
<h4 id="logo-label-full-png">CodeWith logo (PNG)</h4>
90+
</div>
91+
<div class="col-12 col-md-5">
92+
<h4 class="mt-3">Full CodeWith logo</h4>
93+
<p>Use in graphics with light backgrounds. Ensure that the logo is large enough for the tagline to be
94+
legible. If it is not, omit the tagline.</p>
95+
</div>
96+
</div>
97+
98+
<div class="row">
99+
<div class="col-5 col-md-3 card text-center white-asset">
100+
<img class="img-fluid" src="images/logo/logo-white.svg" aria-labelledby="logo-label-full-white-svg">
101+
<br />
102+
<h4 id="logo-label-full-white-svg">CodeWith logo (white) (SVG)</h4>
103+
</div>
104+
<div class="col-5 col-md-3 card text-center white-asset">
105+
<img class="img-fluid" src="images/logo/logo-white.png" aria-labelledby="logo-label-full-white-png">
106+
<br />
107+
<h4 id="logo-label-full-white-png">CodeWith logo (white) (PNG)</h4>
108+
</div>
109+
<div class="col-12 col-md-5">
110+
<h4 class="mt-3">Full CodeWith logo (white)</h4>
111+
<p>Use in graphics with dark backgrounds. Ensure that the logo is large enough for the tagline to be
112+
legible. If it is not, omit the tagline.</p>
113+
</div>
114+
</div>
115+
116+
<div class="row">
117+
<div class="col-5 col-md-3 card text-center">
118+
<img class="img-fluid my-4" src="images/keyboard-green.svg" aria-labelledby="logo-keyboard-green-svg">
119+
<br />
120+
<h4 id="logo-keyboard-green-svg">CodeWith keyboard icon (SVG)</h4>
121+
</div>
122+
<div class="col-5 col-md-3 card text-center">
123+
<img class="img-fluid my-4" src="images/keyboard-green.png" aria-labelledby="logo-keyboard-green-png">
124+
<br />
125+
<h4 id="logo-keyboard-green-png">CodeWith keyboard icon (PNG)</h4>
126+
</div>
127+
<div class="col-12 col-md-5">
128+
<h4 class="mt-3">CodeWith keyboard icon</h4>
129+
<p>Use with light backgrounds. If accompanying with text, follow the font guidelines.</p>
130+
</div>
131+
</div>
132+
133+
<div class="row">
134+
<div class="col-5 col-md-3 card text-center white-asset">
135+
<img class="img-fluid" src="images/noun-keyboard-licensed-white.svg" aria-labelledby="logo-keyboard-white-svg">
136+
<br />
137+
<h4 id="logo-keyboard-white-svg">CodeWith keyboard icon (white) (SVG)</h4>
138+
</div>
139+
<div class="col-5 col-md-3 card text-center white-asset">
140+
<img class="img-fluid" src="images/noun-keyboard-licensed-white.png" aria-labelledby="logo-keyboard-white-png">
141+
<br />
142+
<h4 id="logo-keyboard-white-png">CodeWith keyboard icon (white) (PNG)</h4>
143+
</div>
144+
<div class="col-12 col-md-5">
145+
<h4 class="mt-3">CodeWith keyboard icon (white)</h4>
146+
<p>Use with dark backgrounds. If accompanying with text, follow the font guidelines.</p>
147+
</div>
148+
</div>

css/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,12 @@ div.event-book-button {
385385
font-size: 1.2em;
386386
}
387387

388+
/* Branding */
389+
.white-asset {
390+
background-color: var(--colour-dark-primary);
391+
color: var(--colour-white);
392+
}
393+
388394
/* RESIZING (min-width) */
389395

390396
@media (min-width: 526px) {

images/keyboard-green.svg

Lines changed: 50 additions & 0 deletions
Loading

images/logo/logo-white.png

52.5 KB
Loading

0 commit comments

Comments
 (0)