minor template changes
- default font - remove unused css
This commit is contained in:
parent
0bc0ea4577
commit
5196c0fed7
@ -52,11 +52,8 @@
|
|||||||
{{- if .Site.Copyright -}}
|
{{- if .Site.Copyright -}}
|
||||||
{{ .Site.Copyright | markdownify }}
|
{{ .Site.Copyright | markdownify }}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
© 2019 Linlin Yan. <a href="https://creativecommons.org/licenses/by/4.0/deed.zh">CC-BY-4.0</a>
|
© Motiejus Jakštys. <a href="https://creativecommons.org/licenses/by/4.0/deed.zh">CC-BY-4.0</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if .Site.Params.ShowThemeInfo -}}
|
|
||||||
<p>Powered by <a href="https://gohugo.io/">Hugo</a> with <a href="https://github.com/yanlinlin82/simple-style">Simple-Style</a>
|
|
||||||
{{- end -}}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
body {
|
body {
|
||||||
font-family: Arial, "Microsoft YaHei", Sans-Serif;
|
font-family: "-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji";
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -299,54 +299,6 @@ nav#TableOfContents ul {
|
|||||||
margin: 10px 0
|
margin: 10px 0
|
||||||
}
|
}
|
||||||
|
|
||||||
div.search2 {
|
|
||||||
position: fixed;
|
|
||||||
right: -30px;
|
|
||||||
max-width: 300px;
|
|
||||||
overflow: auto;
|
|
||||||
top: 1px;
|
|
||||||
width: 300px;
|
|
||||||
bottom: 100px
|
|
||||||
}
|
|
||||||
|
|
||||||
div.search {
|
|
||||||
display: inline-block;
|
|
||||||
margin-bottom: -12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
form.search {
|
|
||||||
width: 125px;
|
|
||||||
margin-left: 15px;
|
|
||||||
}
|
|
||||||
form.search input[type=text] {
|
|
||||||
padding: 5px 30px 5px 5px;
|
|
||||||
border: 1px solid #999;
|
|
||||||
float: left;
|
|
||||||
width: 80px;
|
|
||||||
}
|
|
||||||
form.search input[type=text]:focus {
|
|
||||||
border: 1px solid #333;
|
|
||||||
float: left;
|
|
||||||
width: 80px;
|
|
||||||
}
|
|
||||||
form.search button {
|
|
||||||
float: left;
|
|
||||||
width: 30px;
|
|
||||||
padding: 5px;
|
|
||||||
border: none;
|
|
||||||
background: transparent;
|
|
||||||
cursor: pointer;
|
|
||||||
margin-left: -30px;
|
|
||||||
}
|
|
||||||
form.search .fa-search::before {
|
|
||||||
content: "\1F50D";
|
|
||||||
font-style: normal;
|
|
||||||
color: #999;
|
|
||||||
}
|
|
||||||
form.search button:hover {
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
.article-list li {
|
.article-list li {
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user