mirror of https://gitlab.com/curben/blog
fix(layout): remove incorrect <h1>
This commit is contained in:
parent
284c0a985f
commit
2379cd6672
|
@ -26,7 +26,7 @@
|
||||||
</nav>
|
</nav>
|
||||||
<%/* Nav menu for mobile */%>
|
<%/* Nav menu for mobile */%>
|
||||||
<nav class="mobile-nav">
|
<nav class="mobile-nav">
|
||||||
<h1 class="site-title"><a href="<%- config.root %>"><%= config.title %></a></h1>
|
<a class="site-title" href="<%- config.root %>"><%= config.title %></a>
|
||||||
<ul class="mobile-nav-menu">
|
<ul class="mobile-nav-menu">
|
||||||
<label for="mobile-menu-toggle"><a class="no-underline" id="menu-button">☰</a></label>
|
<label for="mobile-menu-toggle"><a class="no-underline" id="menu-button">☰</a></label>
|
||||||
<input id="mobile-menu-toggle" type="checkbox"/>
|
<input id="mobile-menu-toggle" type="checkbox"/>
|
||||||
|
|
|
@ -57,7 +57,12 @@ h1 {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Disable line break for site title */
|
/* Disable line break for site title */
|
||||||
h1.site-title {
|
a.site-title {
|
||||||
|
font-family: serif;
|
||||||
|
font-size: 1.5em;
|
||||||
|
font-weight: bold;
|
||||||
|
line-height: 1.35;
|
||||||
|
margin: 0.5em 0;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -524,7 +524,12 @@ h1 {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Disable line break for site title */
|
/* Disable line break for site title */
|
||||||
h1.site-title {
|
a.site-title {
|
||||||
|
font-family: serif;
|
||||||
|
font-size: 1.5em;
|
||||||
|
font-weight: bold;
|
||||||
|
line-height: 1.35;
|
||||||
|
margin: 0.5em 0;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue