Skip to content

Commit ed03fcb

Browse files
committed
Font for logotype is Roboto. Ref hanami#287
1 parent ba80a08 commit ed03fcb

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed

source/_head.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
<link href="/atom.xml" rel="alternate" title="Hanami" type="application/atom+xml" />
88
<%= favicon_tag 'images/favicon.ico' %>
99

10-
<title>Hanami | <%= current_page.data.title || "The web, with simplicity." %></title>
10+
<title>Hanami | <%= current_page.data.title || "The web, with simplicity" %></title>
1111

12+
<link href="http://fonts.googleapis.com/css?family=Roboto:200,400" rel="stylesheet">
1213
<link href="http://fonts.googleapis.com/css?family=Overpass:200,300,400,700" rel="stylesheet">
1314
<%= stylesheet_link_tag 'toolkit-minimal' %>
1415
<%= stylesheet_link_tag 'application-minimal' %>

source/_navbar.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<nav class="navbar navbar-default navbar-static-top navbar-padded text-uppercase app-navbar">
1+
<nav id="navigation" class="navbar navbar-default navbar-static-top navbar-padded text-uppercase app-navbar">
22
<div class="container">
33
<div class="navbar-header">
44
<button type="button" class="navbar-toggle collapsed p-x-0" data-toggle="collapse" data-target="#navbar-collapse">

source/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
2-
title: The web, with simplicity.
2+
title: The web, with simplicity
33
---

source/layouts/home.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<div class="block app-block-intro">
1010
<div class="container text-center">
11-
<h1 class="block-title m-b-sm text-uppercase brand-name">Hanami</h1>
12-
<p class="lead m-b-lg p-b-md">The web, with simplicity.</p>
11+
<h1 id="brand-name" class="block-title m-b-sm text-uppercase brand-name">Hanami</h1>
12+
<p id="motto" class="lead m-b-lg p-b-md">The web, with simplicity</p>
1313
<div class="app-block-cta">
1414
<a href="#install" class="btn btn-primary m-t">Install v<%= hanami_version %></a>
1515
<a href="/guides/getting-started" target="_blank" class="btn btn-default btn-outline m-t">Getting Started</a>

source/stylesheets/application-minimal.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,3 +269,13 @@ table.status td {
269269
height: 100%;
270270
vertical-align: top;
271271
}
272+
273+
#navigation {
274+
font-family: Roboto;
275+
font-weight: 400;
276+
}
277+
278+
#brand-name, #motto {
279+
font-family: Roboto;
280+
font-weight: 200;
281+
}

0 commit comments

Comments
 (0)