From 1dcef7edc5c615a15a3c1bb9142c4299adb07680 Mon Sep 17 00:00:00 2001 From: Rnhmjoj Date: Sun, 25 May 2014 21:25:36 +0200 Subject: [PATCH] Add jekyll site --- .gitignore | 2 ++ Gemfile | 2 ++ _layouts/main.html | 10 ++++++++++ Geometria solida.md => index.md | 6 ++++++ main.css | 32 ++++++++++++++++++++++++++++++++ 5 files changed, 52 insertions(+) create mode 100644 .gitignore create mode 100644 Gemfile create mode 100644 _layouts/main.html rename Geometria solida.md => index.md (99%) create mode 100644 main.css diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ed90730 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +_site +Gemfile.lock diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..053c27d --- /dev/null +++ b/Gemfile @@ -0,0 +1,2 @@ +source 'https://rubygems.org' +gem 'github-pages' diff --git a/_layouts/main.html b/_layouts/main.html new file mode 100644 index 0000000..70628f9 --- /dev/null +++ b/_layouts/main.html @@ -0,0 +1,10 @@ + + + + {{ page.title }} + + + +
{{ content }}
+ + diff --git a/Geometria solida.md b/index.md similarity index 99% rename from Geometria solida.md rename to index.md index 0598bdc..d57c985 100644 --- a/Geometria solida.md +++ b/index.md @@ -1,3 +1,9 @@ +--- +layout: main +css: main +title: Geometria Solida +--- + # Postulati dello spazio ## Postulato n. 1 diff --git a/main.css b/main.css new file mode 100644 index 0000000..8d7dc22 --- /dev/null +++ b/main.css @@ -0,0 +1,32 @@ +body { + font-family: "PT Serif", serif; + font-size: 1.2em; + color: #555; + background: #afafaf; +} + +h1 { + text-transform: uppercase; + text-align: center; +} +h1, h2{ + color: #454545; +} + +img { + border: 6px solid #dfdfdf; + border-radius: 5px; + width: 70%; + margin-left: 15%; +} + +#container { + width: 36em; + margin: 2em; + margin-left: auto; + margin-right: auto; + background: #fff; + padding: 2em; + border-radius: 3px; + box-shadow: 4px 5px 6px 0px #555 +}