Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/eliasson/liquorice.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Eliasson <markus.eliasson@gmail.com>2014-08-18 22:00:58 +0400
committerMarkus Eliasson <markus.eliasson@gmail.com>2014-08-18 22:00:58 +0400
commita505e1cfd20893cb5a9722080cc5ed5b33e38a2b (patch)
tree7f6a58cd37314d7f82cf870394422b17d05c2e64
parent7072dcf0dabcbd4b98b9ebe76835fd687098fb56 (diff)
Minor tweaks
-rw-r--r--layouts/_default/list.html3
-rw-r--r--layouts/index.html12
-rw-r--r--layouts/partials/head.html2
-rw-r--r--static/css/liquorice.css19
4 files changed, 28 insertions, 8 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 59cda49..2bf0a20 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -8,7 +8,7 @@
<ul class="li-article-list">
{{ range .Data.Pages }}
<li>
- <time class="li-article-date">{{ .Date.Format "Jan 2 - 2006" }}</time>
+ <time class="li-article-date">{{ .Date.Format "January, 2, 2006" }}</time>
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
</li>
{{ end }}
@@ -17,4 +17,5 @@
</div>
</div>
+{{ template "theme/partials/footer.html" . }}
{{ template "theme/partials/tail.html" . }}
diff --git a/layouts/index.html b/layouts/index.html
index af86a5d..c20453b 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -4,11 +4,13 @@
<div class="container">
<div class="row">
<div class="sixteen columns">
- {{ range first 10 .Data.Pages }}
- <div class="li-article">
- {{ .Render "summary"}}
- </div>
- {{ end }}
+ <div class="li-main-article-list">
+ {{ range first 10 .Data.Pages }}
+ <div class="li-article">
+ {{ .Render "summary"}}
+ </div>
+ {{ end }}
+ </div>
</div>
</div>
</div>
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 07a9372..d8e5d57 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -8,7 +8,7 @@
<title>{{ .Title }} &middot; {{ .Site.Title }}</title>
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600' type='text/css'>
<link rel="stylesheet" href="{{ .Site.BaseUrl }}/libraries/normalize.3.0.1.css" />
- <link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/liquorice.min.css" />
+ <link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/liquorice.css" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon-precomposed" href="/apple-touch-icon-144-precomposed.png" sizes="144x144" />
<link rel="alternate" href="{{ .RSSlink }}" type="application/rss+xml" title="{{ .Site.Title }}" />
diff --git a/static/css/liquorice.css b/static/css/liquorice.css
index 69ab5ec..b570953 100644
--- a/static/css/liquorice.css
+++ b/static/css/liquorice.css
@@ -46,7 +46,7 @@ h1,h2,h3,h4,h5,h6 {
.li-page-header {
background-color: #202020;
color: #fff;
- padding: 16px 0px;
+ padding: 32px 0px;
}
.li-page-header ul {
@@ -91,6 +91,7 @@ h1,h2,h3,h4,h5,h6 {
display: none;
}
+
/** Article *****************************************************************/
.li-article {
margin-bottom: 32px;
@@ -102,6 +103,10 @@ ul.li-article-list {
padding: 0px;
}
+.li-article-list time {
+ float: right;
+}
+
.li-article-section {
padding: 16px 0px;
}
@@ -142,8 +147,20 @@ ul.li-article-list {
float: right;
}
+.li-main-article-list {
+ margin-top: 128px;
+}
+
/** Mobile Portrait (320px) **************************************************/
@media only screen and (max-width: 767px) {
+ .li-page-header {
+ padding: 16px 0px;
+ }
+
+ .li-main-article-list {
+ margin-top: 64px;
+ }
+
.li-page-header .li-menu-icon {
cursor: pointer;
display: block;