Skip to content

Commit 452d589

Browse files
committed
Format site title as hero bar with logo
1 parent 6d5a8dd commit 452d589

File tree

3 files changed

+27
-11
lines changed

3 files changed

+27
-11
lines changed

site/index.html

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html class="theme-dark">
33
<head>
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66
<title>The Duct Framework</title>
7+
<link rel="preconnect" href="https://fonts.googleapis.com">
8+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
9+
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Special+Gothic+Condensed+One&display=swap">
710
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
11+
<link rel="stylesheet" href="style.css">
812
</head>
913
<body>
10-
<section class="section">
11-
<div class="container">
12-
<h1 class="title">
13-
Duct
14-
</h1>
15-
<p class="subtitle">
16-
A server-side framework for Clojure
17-
</p>
18-
</div>
19-
</section>
14+
<section class="hero is-medium">
15+
<div class="hero-body">
16+
<div class="container has-text-centered">
17+
<h1 class="title">
18+
<img class="logo" src="logo.svg">
19+
Duct
20+
</h1>
21+
<p class="subtitle">A server-side framework for Clojure</p>
22+
</div>
23+
</div>
24+
</section>
2025
</body>
2126
</html>

site/logo.svg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../logo.svg

site/style.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.hero .title {
2+
font-family: "Special Gothic Condensed One", sans-serif;
3+
font-weight: bold;
4+
font-size: 128px;
5+
}
6+
7+
.hero .title .logo {
8+
width: 92px;
9+
height: 92px;
10+
}

0 commit comments

Comments
 (0)