Minor style improvements

* Get rid of inline style for mobile menu (#22)
* Improve background image & post meta link style
This commit is contained in:
Track3 2018-12-31 14:29:07 +08:00
parent fbf51b713e
commit 1e25d7d93e
4 changed files with 9 additions and 9 deletions

View file

@ -252,6 +252,7 @@ table {
position: fixed;
bottom: 4.8em;
right: 1.5em;
display: none;
padding: .6em 1.8em;
z-index: 1;
box-sizing: border-box;
@ -398,7 +399,6 @@ p.img-404 {
}
}
// list.html
//
.posts-group {
@ -418,7 +418,6 @@ p.img-404 {
margin: 0;
padding: 0;
list-style: none;
}
.post-item {
@ -442,12 +441,13 @@ p.img-404 {
// single.html
//
.bg-img {
width: 100%;
height: 100%;
width: 100vw;
height: 100vh;
opacity: .03;
z-index: -1;
position: fixed;
top: 0;
cursor: pointer;
background-attachment: fixed;
background-repeat: no-repeat;
background-size: cover;
@ -575,8 +575,8 @@ hr.post-end {
margin: .8em 0;
}
a {
text-decoration: underline;
a:hover {
border-bottom: 1px solid $theme;
}
svg {

View file

@ -24,7 +24,7 @@
</div>
</div>
</header>
<div id="mobile-menu" class="animated fast" style="display: none;">
<div id="mobile-menu" class="animated fast">
<ul>
{{- range .Site.Menus.main }}
<li><a href="{{ .URL | absLangURL }}">{{ .Name }}</a></li>

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"Target":"css/style.min.135fc8fad10a71b52484489246b4082f46d6e09f1e54f16e3f9c3b1dd208db01.css","MediaType":"text/css","Data":{"Integrity":"sha256-E1/I+tEKcbUkhEiSRrQIL0bW4J8eVPFuP5w7HdII2wE="}}
{"Target":"css/style.min.596d2b6d7d2e495d157742e20873596f54af152ac3fef754b0d4a0a71795ff29.css","MediaType":"text/css","Data":{"Integrity":"sha256-WW0rbX0uSV0Vd0LiCHNZb1SvFSrD/vdUsNSgpxeV/yk="}}