New header image style
This commit is contained in:
parent
a79c1b8183
commit
052e93c752
@ -34,7 +34,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header class="global-header">
|
<header class="global-header">
|
||||||
<img class="header-img" src="{{ .Site.BaseUrl }}/images/bg.jpg" alt="">
|
<div class="header-img"></div>
|
||||||
<section class="header-text">
|
<section class="header-text">
|
||||||
<h1><a href="{{ .Site.BaseUrl }}">{{ .Site.Title }}</a></h1>
|
<h1><a href="{{ .Site.BaseUrl }}">{{ .Site.Title }}</a></h1>
|
||||||
{{ if isset .Site.Params "bio" }}
|
{{ if isset .Site.Params "bio" }}
|
||||||
|
@ -12,6 +12,8 @@ main {
|
|||||||
.header-img {
|
.header-img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
background-image: url(/images/bg.jpg);
|
||||||
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-text {
|
.header-text {
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 343 KiB |
Loading…
Reference in New Issue
Block a user