mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 17:48:30 -04:00
responsive CSS fixes on blog singles
This commit is contained in:
parent
deb6483ccf
commit
aed521bffa
@ -2,16 +2,16 @@
|
||||
<div id="single">
|
||||
<div id="info">
|
||||
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||
<h2 class="headline">
|
||||
<div class="meta">
|
||||
{{ .Date.Format "January 2, 2006" }} · {{ if lt 1 .WordCount }}{{ .WordCount }} words{{ else }}{{ .WordCount }} word{{ end }} · {{ .ReadingTime }} minute read
|
||||
<span class="tags">
|
||||
<div class="tags">
|
||||
{{ with .Params.tags }}
|
||||
{{ if ge (len .) 1 }}
|
||||
{{ range . }}<span class="tag"><!--<a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}">-->{{ . }}<!--</a>--></span>{{ end }}
|
||||
{{ range . }}<span class="tag"><!--<a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}">-->{{ . }}<!--</a>--></span> {{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</span>
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ if .Site.Params.enableToc }}
|
||||
{{ if .TableOfContents }}
|
||||
|
@ -1,7 +1,6 @@
|
||||
/*! JJ CSS */
|
||||
|
||||
body {
|
||||
display: table;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
@ -649,30 +648,27 @@ body#notes div#single h2 {
|
||||
color: #111;
|
||||
}
|
||||
|
||||
body#notes div#single h2.headline {
|
||||
body#notes div#single div.meta {
|
||||
margin: -5px 0 0 0;
|
||||
color: #777777;
|
||||
font-size: 13px;
|
||||
line-height: 1.5em;
|
||||
letter-spacing: 1px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
body#notes div#single h2.headline span.tags {
|
||||
color: #777777;
|
||||
body#notes div#single div.meta div.tags {
|
||||
font-size: 13px;
|
||||
text-transform: uppercase;
|
||||
line-height: 1.5em;
|
||||
letter-spacing: 2px;
|
||||
margin-top: 5px;
|
||||
display: block;
|
||||
}
|
||||
body#notes div#single h2.headline span.tags span.tag {
|
||||
body#notes div#single div.meta div.tags span.tag {
|
||||
color: #777777;
|
||||
border: none;
|
||||
margin: 0 7px;
|
||||
}
|
||||
body#notes div#single h2.headline span.tags span.tag a {
|
||||
body#notes div#single div.meta div.tags span.tag a {
|
||||
color: #777777;
|
||||
border: none;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user