From 70860c9d3c32ea89821d3663d1ccb228c29313bc Mon Sep 17 00:00:00 2001 From: Jimmy Huang Date: Mon, 5 Oct 2015 13:38:36 +0800 Subject: [PATCH] refs #24, add annual report template. --- _includes/ui_header.html | 1 + _layouts/semantic-ui-fluid.html | 19 +++++++++++++++ css/local.css | 4 ++++ report/2015/index.html | 42 +++++++++++++++++++++++++++++++++ report/2015/report.css | 5 ++++ 5 files changed, 71 insertions(+) create mode 100644 _layouts/semantic-ui-fluid.html create mode 100644 report/2015/index.html create mode 100644 report/2015/report.css diff --git a/_includes/ui_header.html b/_includes/ui_header.html index e61dfc7..8279212 100644 --- a/_includes/ui_header.html +++ b/_includes/ui_header.html @@ -18,4 +18,5 @@ + {% if page.css %}{% endif %} diff --git a/_layouts/semantic-ui-fluid.html b/_layouts/semantic-ui-fluid.html new file mode 100644 index 0000000..8b32a37 --- /dev/null +++ b/_layouts/semantic-ui-fluid.html @@ -0,0 +1,19 @@ + + +{% include ui_header.html %} + + +{% include ui_nav.html %} + +
+ +{{ content }} + +
+ +{% include ui_footer.html %} + +{% include ga.html %} +{% include ui_closure.html %} + + diff --git a/css/local.css b/css/local.css index 4872530..ddc3d9a 100644 --- a/css/local.css +++ b/css/local.css @@ -16,6 +16,10 @@ h1, h2, h3, h4, h5, h6, .ui.header, .ui.menu, .ui.button { max-width: 1024px; margin: 0 auto; } +.wrapper-fluid { + width: 100%; + margin: 0; +} .horizontal.padding { padding-left: 1rem; padding-right: 1rem; diff --git a/report/2015/index.html b/report/2015/index.html new file mode 100644 index 0000000..ce1071f --- /dev/null +++ b/report/2015/index.html @@ -0,0 +1,42 @@ +--- +layout: semantic-ui-fluid +title: 開放文化基金會::2015年度成果報告 +css: /report/2015/report.css +og_description: 你的支持讓開放文化更茁壯 - 開放文化基金會 2015 年度成果報告 +og_image: http://placehold.it/400x300 +--- +

2015 年度成果報告

+
+ +
+ + diff --git a/report/2015/report.css b/report/2015/report.css new file mode 100644 index 0000000..325a197 --- /dev/null +++ b/report/2015/report.css @@ -0,0 +1,5 @@ +.annual-report .item .content, +.annual-report .item .image { + width: 50%; + margin: 0; +}