Put header image in link too
This commit is contained in:
parent
b53bf82ab2
commit
f10d9df62d
3 changed files with 20 additions and 10 deletions
|
@ -9,10 +9,12 @@
|
||||||
</head>
|
</head>
|
||||||
<body class="blog">
|
<body class="blog">
|
||||||
<header>
|
<header>
|
||||||
|
<a href="/">
|
||||||
<img src="../midgard.jpg" alt="A stuffed mouse in front of a wall with stripes of warm colours, this is Midgard's online avatar"/>
|
<img src="../midgard.jpg" alt="A stuffed mouse in front of a wall with stripes of warm colours, this is Midgard's online avatar"/>
|
||||||
<div class="sitename">
|
<div class="sitename">
|
||||||
<a href="/" class="wordmark"><span>mid</span><span>gard</span></a>
|
<span class="wordmark"><span>mid</span><span>gard</span></span>
|
||||||
</div>
|
</div>
|
||||||
|
</a>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
|
|
@ -8,10 +8,12 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
|
<a href="/">
|
||||||
<img src="midgard.jpg" alt="A stuffed mouse in front of a wall with stripes of warm colours, this is Midgard's online avatar"/>
|
<img src="midgard.jpg" alt="A stuffed mouse in front of a wall with stripes of warm colours, this is Midgard's online avatar"/>
|
||||||
<h1 class="sitename">
|
<h1 class="sitename">
|
||||||
<a href="/" class="wordmark"><span>mid</span><span>gard</span></a>
|
<span class="wordmark"><span>mid</span><span>gard</span></span>
|
||||||
</h1>
|
</h1>
|
||||||
|
</a>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
|
|
@ -166,6 +166,12 @@ body > header img {
|
||||||
height: 25vmin;
|
height: 25vmin;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
body > header a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
body > header a:hover img {
|
||||||
|
filter: brightness(110%);
|
||||||
|
}
|
||||||
.sitename {
|
.sitename {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
margin-left: 0.3em;
|
margin-left: 0.3em;
|
||||||
|
@ -300,7 +306,7 @@ main header {
|
||||||
}
|
}
|
||||||
|
|
||||||
kbd, code {
|
kbd, code {
|
||||||
padding: 0.3em 0.4em 0.2em;
|
padding: 0.3em 0.4em 0.3em;
|
||||||
border-radius: 0.5em;
|
border-radius: 0.5em;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
|
||||||
|
@ -312,7 +318,7 @@ kbd, code {
|
||||||
}
|
}
|
||||||
kbd {
|
kbd {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-bottom: 1px solid #ddd;
|
border-bottom: 2px solid #ddd;
|
||||||
}
|
}
|
||||||
code {
|
code {
|
||||||
background-color: #efe5e0;
|
background-color: #efe5e0;
|
||||||
|
|
Loading…
Reference in a new issue