1
Fork 0

minor template changes

- default font
- remove unused css
This commit is contained in:
Motiejus Jakštys 2022-04-11 21:59:18 +03:00
parent 0bc0ea4577
commit 5196c0fed7
2 changed files with 3 additions and 54 deletions

View File

@ -52,11 +52,8 @@
{{- if .Site.Copyright -}}
{{ .Site.Copyright | markdownify }}
{{- else -}}
&copy; 2019 Linlin Yan. <a href="https://creativecommons.org/licenses/by/4.0/deed.zh">CC-BY-4.0</a>
&copy; Motiejus Jakštys. <a href="https://creativecommons.org/licenses/by/4.0/deed.zh">CC-BY-4.0</a>
{{- 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>
</footer>

View File

@ -1,5 +1,5 @@
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;
}
@ -299,54 +299,6 @@ nav#TableOfContents ul {
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 {
margin-bottom: 0.5em;
}
@ -370,4 +322,4 @@ form.search button:hover {
.article-list li .article-date:after {
content: '';
}
}
}