From 06db5f412f9d98433908a0f965bc87f052c1e10d Mon Sep 17 00:00:00 2001 From: vimux Date: Sun, 11 Feb 2018 09:55:56 +0300 Subject: [PATCH] Create blocks --- layouts/_default/single.html | 2 +- layouts/_default/summary.html | 2 +- static/css/main.css | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 97c7e96..85ccc50 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,6 +1,6 @@ {{ partial "header.html" . }}
-
+

{{ .Title }}

{{ .Content }}
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 385450f..e7db390 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -1,4 +1,4 @@ -
+ \ No newline at end of file diff --git a/static/css/main.css b/static/css/main.css index 9a79895..56e243e 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -339,11 +339,26 @@ summary { border-width: 0 0 1px; } +.block { + padding: 14px; + margin: 3px 0; + color: #eee; + background-color: #2a2a2a; + border-color: #333; + border-style: solid; + border-width: 1px 0; +} + @media screen and (min-width: 480px) { .header { margin: 0 5px 5px; border-width: 0 1px 1px; } + + .block { + margin: 5px; + border-width: 1px; + } } .logo {