Browse Source

css tweaks

master
jk 5 years ago
parent
commit
f2a282969a
  1. 2
      layouts/_default/section.html
  2. 32
      themes/nipponalba/static/css/style.css

2
layouts/_default/section.html

@ -28,7 +28,7 @@
{{end}}
</div>
<a href="{{ .RelPermalink }}" class="link u-url time"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a>
{{if eq .Type "article" }}<div class="post-footer">
{{if eq .Type "article" }}<div class="post-footer-list">
<div class="info">
{{ with .Page.Params.Blog }}{{ partial "taxonomy/blog.html" . }}{{ end }}
{{ with .Page.Params.category }}{{ partial "taxonomy/categories.html" . }}{{ end }}

32
themes/nipponalba/static/css/style.css

@ -377,65 +377,67 @@ pre {
padding: 0 0 100px 0;
border-bottom: 1px solid var(--text-colour);
}
.post .post-footer .meta {
.post .post-footer-list {
padding: 0 0 100px 0;
}
.post .post-footer .meta, .post .post-footer-list .meta {
max-width: 100%;
height: 25px;
color: var(--text-colour);
}
.post .post-footer .meta .info {
.post .post-footer .meta .info, .post .post-footer-list .meta .info {
float: left;
font-size: 12px;
margin-bottom: 1em;
}
.post .post-footer .info .separator a {
.post .post-footer .info .separator a, .post .post-footer-list .info .separator a{
margin-right: 0.2em;
}
.post .post-footer .meta .info .date{
.post .post-footer .meta .info .date, .post .post-footer-list .meta .info .date{
margin-right: 10px;
}
.index_info .date {
margin: 0 10px;
}
.post .post-footer .meta a {
.post .post-footer .meta a, .post .post-footer-list .meta a{
text-decoration: none;
color: var(--text-colour);
padding-right: 10px;
}
.post .post-footer .meta a:hover {
.post .post-footer .meta a:hover, .post .post-footer-list .meta a:hover,{
color: var(--link-colour);
}
.post .post-footer .blog{
.post .post-footer .blog, .post .post-footer-list .blog{
color: var(--text-colour);
}
.post .post-footer .blog:hover{
.post .post-footer .blog:hover, .post .post-footer-list .blog:hover{
color: var(--text-colour);
}
.post .post-footer .meta i {
.post .post-footer .meta i, .post .post-footer-list .meta i{
margin-right: 6px;
}
.post .post-footer .tags {
.post .post-footer .tags, .post .post-footer-list .tags{
padding-bottom: 15px;
font-size: 13px;
}
.post .post-footer .tags ul {
.post .post-footer .tags ul, .post .post-footer-list .tags ul{
list-style-type: none;
display: inline;
margin: 0;
padding: 0;
}
.post .post-footer .tags ul li {
.post .post-footer .tags ul li, .post .post-footer-list .tags ul li{
list-style-type: none;
margin: 0;
padding-right: 5px;
display: inline;
}
.post .post-footer .tags a {
.post .post-footer .tags a, .post .post-footer-list .tags a{
text-decoration: none;
color: var(--text-colour);
font-weight: 400;
}
.post .post-footer .tags a:hover {
.post .post-footer .tags a:hover, .post .post-footer-list .tags a:hover{
text-decoration: none;
}