Minor style improvements
* Get rid of inline style for mobile menu (#22) * Improve background image & post meta link style
This commit is contained in:
parent
fbf51b713e
commit
1e25d7d93e
4 changed files with 9 additions and 9 deletions
|
@ -252,6 +252,7 @@ table {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 4.8em;
|
bottom: 4.8em;
|
||||||
right: 1.5em;
|
right: 1.5em;
|
||||||
|
display: none;
|
||||||
padding: .6em 1.8em;
|
padding: .6em 1.8em;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
@ -398,7 +399,6 @@ p.img-404 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// list.html
|
// list.html
|
||||||
//
|
//
|
||||||
.posts-group {
|
.posts-group {
|
||||||
|
@ -418,7 +418,6 @@ p.img-404 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-item {
|
.post-item {
|
||||||
|
@ -442,12 +441,13 @@ p.img-404 {
|
||||||
// single.html
|
// single.html
|
||||||
//
|
//
|
||||||
.bg-img {
|
.bg-img {
|
||||||
width: 100%;
|
width: 100vw;
|
||||||
height: 100%;
|
height: 100vh;
|
||||||
opacity: .03;
|
opacity: .03;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
cursor: pointer;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
@ -575,8 +575,8 @@ hr.post-end {
|
||||||
margin: .8em 0;
|
margin: .8em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a:hover {
|
||||||
text-decoration: underline;
|
border-bottom: 1px solid $theme;
|
||||||
}
|
}
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div id="mobile-menu" class="animated fast" style="display: none;">
|
<div id="mobile-menu" class="animated fast">
|
||||||
<ul>
|
<ul>
|
||||||
{{- range .Site.Menus.main }}
|
{{- range .Site.Menus.main }}
|
||||||
<li><a href="{{ .URL | absLangURL }}">{{ .Name }}</a></li>
|
<li><a href="{{ .URL | absLangURL }}">{{ .Name }}</a></li>
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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="}}
|
Loading…
Reference in a new issue