修改背景图片
This commit is contained in:
parent
2b0d2a4ed6
commit
315e13c2f8
|
@ -5,12 +5,6 @@
|
|||
<!--[if lt IE 10]>
|
||||
<div class="alert-danger" role="alert">你的浏览器实在太太太旧了,放学别走,升级完浏览器再说!<a target="_blank" class="alert-link" href="http://browsehappy.com">立即升级</a></div>
|
||||
<![endif]-->
|
||||
<header>
|
||||
{% if page.cover %}
|
||||
<div class="filter"></div>
|
||||
<div class="post-cover" style="background: url('{{ page.cover | relative_url }}') center no-repeat; background-size: cover;"></div>
|
||||
{% endif %}
|
||||
</header>
|
||||
<input id="nm-switch" type="hidden" value="{{ site.nightMode }}">
|
||||
<div class="visible">
|
||||
{{ content }}
|
||||
|
|
Before Width: | Height: | Size: 266 KiB After Width: | Height: | Size: 266 KiB |
|
@ -131,7 +131,10 @@ a {
|
|||
position: relative;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 4px 20px rgba(0, 38, 55, 0.16); }
|
||||
box-shadow: 0 4px 20px rgba(0, 38, 55, 0.16);
|
||||
background-image:url('/assets/img/home.jpg');
|
||||
background-repeat:no-repeat;
|
||||
background-position:right top;}
|
||||
.home-banner h2, .home-banner h3 {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
layout: default
|
||||
home-title: 无相之风战队
|
||||
description: 明德 厚学 求是 创新
|
||||
cover: /assets/hero.jpg
|
||||
---
|
||||
|
||||
{% include header.html %}
|
||||
|
|
Loading…
Reference in New Issue