Skip to content

Commit d9f1af2

Browse files
Kyle ParkerKyle Parker
authored andcommitted
Add Code Quest logo and brand header
1 parent 2793a5b commit d9f1af2

3 files changed

Lines changed: 53 additions & 1 deletion

File tree

static/logo.svg

Lines changed: 20 additions & 0 deletions
Loading

static/styles.css

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,27 @@ body {
6767
padding: 2rem;
6868
}
6969

70+
.brand {
71+
display: flex;
72+
align-items: center;
73+
gap: 0.8rem;
74+
margin-bottom: 0.4rem;
75+
}
76+
77+
.brand-logo {
78+
width: 62px;
79+
height: 62px;
80+
border-radius: 18px;
81+
box-shadow: 0 10px 20px rgba(8, 16, 32, 0.35);
82+
}
83+
84+
.brand-name {
85+
margin: 0;
86+
color: #d8ecff;
87+
font-weight: 700;
88+
letter-spacing: 0.02em;
89+
}
90+
7091
h1,
7192
h2,
7293
h3 {
@@ -251,4 +272,9 @@ h3 {
251272
flex-direction: column;
252273
align-items: flex-start;
253274
}
275+
276+
.brand-logo {
277+
width: 52px;
278+
height: 52px;
279+
}
254280
}

templates/home.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{% extends "base.html" %}
22
{% block content %}
33
<section class="hero">
4-
<p class="eyebrow">Code Quest Web</p>
4+
<div class="brand">
5+
<img src="{{ url_for('static', filename='logo.svg') }}" alt="Code Quest logo" class="brand-logo" />
6+
<div>
7+
<p class="eyebrow">Code Quest Web</p>
8+
<p class="brand-name">Code Quest</p>
9+
</div>
10+
</div>
511
<h1>Learn Python Like a Game</h1>
612
<p class="lead">Built for absolute beginners. Every level teaches one concept, checks your answer, and explains why it works.</p>
713
<div class="stats">

0 commit comments

Comments
 (0)