Skip to content

Commit d5bff04

Browse files
committed
Fix the version sizing
1 parent 68f9482 commit d5bff04

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/layout.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<header>
1515
<section>
1616
<a class="hamburger" href="javascript:;"></a>
17-
<h1><img src="logo.svg">Mithril v[version]</h1>
17+
<h1><img src="logo.svg">Mithril <span class="version">v[version]</span></h1>
1818
<nav>
1919
<a href="index.html">Guide</a>
2020
<a href="api.html">API</a>

docs/style.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ h2 {font-size:22px;margin:45px 0 15px;}
2828
h3 {font-size:20px;margin:45px 0 15px;}
2929
h4 {font-size:18px;margin:30px 0 15px;}
3030
h5 {font-weight:bold;margin:15px 0 15px;}
31-
h1 img {vertical-align:middle;width:20px;}
31+
h1 img {vertical-align:middle;width:20px;padding-right:0.25em;}
32+
h1 .version {font-weight:normal;font-size:16px;}
3233
h1 small {font-size:16px;}
3334
h2 a,h3 a,h4 a,h5 a,
3435
h2 a:hover,h3 a:hover,h4 a:hover,h5 a:hover,

0 commit comments

Comments
 (0)