Browse Source

css tweaks

master
jk 5 years ago
parent
commit
604093cab2
  1. 2
      layouts/_default/section.html
  2. 2
      themes/nipponalba/layouts/_default/single.html
  3. 30
      themes/nipponalba/static/css/style.css

2
layouts/_default/section.html

@ -28,7 +28,7 @@
{{end}} {{end}}
</div> </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> <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-list">
{{if eq .Type "article" }}<div class="post-footer">
<div class="info"> <div class="info">
{{ with .Page.Params.Blog }}{{ partial "taxonomy/blog.html" . }}{{ end }} {{ with .Page.Params.Blog }}{{ partial "taxonomy/blog.html" . }}{{ end }}
{{ with .Page.Params.category }}{{ partial "taxonomy/categories.html" . }}{{ end }} {{ with .Page.Params.category }}{{ partial "taxonomy/categories.html" . }}{{ end }}

2
themes/nipponalba/layouts/_default/single.html

@ -21,7 +21,7 @@
{{end}} {{end}}
</div> </div>
<div class="post-footer">
<div class="post-footer-page">
{{ if not (eq .Type "article")}}<span class="date"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></span>{{end}} {{ if not (eq .Type "article")}}<span class="date"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></span>{{end}}
<div class="info"> <div class="info">
{{ with .Page.Params.Blog }}{{ partial "taxonomy/blog.html" . }}{{ end }} {{ with .Page.Params.Blog }}{{ partial "taxonomy/blog.html" . }}{{ end }}

30
themes/nipponalba/static/css/style.css

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