mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 18:05:32 -04:00
responsive CSS fixes on blog singles
This commit is contained in:
@@ -2,16 +2,16 @@
|
|||||||
<div id="single">
|
<div id="single">
|
||||||
<div id="info">
|
<div id="info">
|
||||||
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
<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
|
{{ .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 }}
|
{{ with .Params.tags }}
|
||||||
{{ if ge (len .) 1 }}
|
{{ 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 }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</span>
|
</div>
|
||||||
</h2>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ if .Site.Params.enableToc }}
|
{{ if .Site.Params.enableToc }}
|
||||||
{{ if .TableOfContents }}
|
{{ if .TableOfContents }}
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
/*! JJ CSS */
|
/*! JJ CSS */
|
||||||
|
|
||||||
body {
|
body {
|
||||||
display: table;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -649,30 +648,27 @@ body#notes div#single h2 {
|
|||||||
color: #111;
|
color: #111;
|
||||||
}
|
}
|
||||||
|
|
||||||
body#notes div#single h2.headline {
|
body#notes div#single div.meta {
|
||||||
margin: -5px 0 0 0;
|
margin: -5px 0 0 0;
|
||||||
color: #777777;
|
color: #777777;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
display: inline-block;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body#notes div#single h2.headline span.tags {
|
body#notes div#single div.meta div.tags {
|
||||||
color: #777777;
|
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
letter-spacing: 2px;
|
letter-spacing: 2px;
|
||||||
margin-top: 5px;
|
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;
|
color: #777777;
|
||||||
border: none;
|
border: none;
|
||||||
margin: 0 7px;
|
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;
|
color: #777777;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user