Skip to content

Commit 8e4283a

Browse files
Merge pull request #25 from CodeWithGroup/feature/branding-hex-codes-fix
Changing hex codes to p tags and set some margin to make it more responsive
2 parents e0c1199 + 1561e34 commit 8e4283a

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

branding.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,44 +23,44 @@ <h2>Colours</h2>
2323
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
2424
<circle cx="25" cy="25" r="25" fill="#1f5237" />
2525
</svg>
26-
<h3 class="colour-label">#1f5237</h3>
26+
<p class="colour-label">#1f5237</p>
2727
</div>
2828
<div class="col-4 col-md-2 text-center">
2929
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
3030
<circle cx="25" cy="25" r="25" fill="#00793c" />
3131
</svg>
32-
<h3 class="colour-label">#00793c</h3>
32+
<p class="colour-label">#00793c</p>
3333
</div>
3434
<div class="col-4 col-md-2 text-center">
3535
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
3636
<circle cx="25" cy="25" r="25" fill="#009545" />
3737
</svg>
38-
<h3 class="colour-label">#009545</h3>
38+
<p class="colour-label">#009545</p>
3939
</div>
4040
<div class="col-4 col-md-2 text-center">
4141
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
4242
<circle cx="25" cy="25" r="25" fill="#00b050" />
4343
</svg>
44-
<h3 class="colour-label">#00b050</h3>
44+
<p class="colour-label">#00b050</p>
4545
</div>
4646
<div class="w-100 d-none d-md-block"></div>
4747
<div class="col-4 col-md-2 text-center">
4848
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
4949
<circle cx="25" cy="25" r="25" fill="#a52a2a" />
5050
</svg>
51-
<h3 class="colour-label">#a52a2a</h3>
51+
<p class="colour-label">#a52a2a</p>
5252
</div>
5353
<div class="col-4 col-md-2 text-center">
5454
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
5555
<circle cx="25" cy="25" r="25" fill="#000000" />
5656
</svg>
57-
<h3 class="colour-label">#000000</h3>
57+
<p class="colour-label">#000000</p>
5858
</div>
5959
<div class="col-4 col-md-2 text-center">
6060
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
6161
<circle cx="25" cy="25" r="24" fill="#f8f8f8" stroke="#000" stroke-width="0.5" />
6262
</svg>
63-
<h3 class="colour-label">#f8f8f8</h3>
63+
<p class="colour-label">#f8f8f8</p>
6464
</div>
6565
</div>
6666
<br />

css/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,10 @@ div.event-book-button {
399399
color: var(--colour-white);
400400
}
401401

402+
.colour-label{
403+
margin-top:0.2em;
404+
}
405+
402406
/* RESIZING (min-width) */
403407

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

0 commit comments

Comments
 (0)