Add logo on header
This commit is contained in:
parent
494379d020
commit
574a3bfe98
@ -47,12 +47,20 @@ header {
|
|||||||
background-position: center center;
|
background-position: center center;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 10px;
|
padding: 0px;
|
||||||
.date, h1 {
|
.date, h1 {
|
||||||
color: $header-fg;
|
color: $header-fg;
|
||||||
text-shadow: black 0px 0px 0.1em;
|
text-shadow: black 0px 0px 0.1em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#header-logo {
|
||||||
|
background: url('img/logo.png') top;
|
||||||
|
width: 150px;
|
||||||
|
height: 150px;
|
||||||
|
}
|
||||||
|
#header-logo:hover {
|
||||||
|
background-position: bottom;
|
||||||
|
}
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 28pt;
|
font-size: 28pt;
|
||||||
}
|
}
|
||||||
|
BIN
static/img/logo.png
Normal file
BIN
static/img/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 46 KiB |
@ -1,3 +1,4 @@
|
|||||||
<header id="title-block-header">
|
<header id="title-block-header">
|
||||||
|
<div id="header-logo"></div>
|
||||||
<h1 class="title">Fabrice Mouhartem</h1>
|
<h1 class="title">Fabrice Mouhartem</h1>
|
||||||
</header>
|
</header>
|
||||||
|
Loading…
Reference in New Issue
Block a user