From 90b58be9ae59becc865141105ab94743b4c89ea1 Mon Sep 17 00:00:00 2001 From: kenichiy Date: Mon, 31 Oct 2016 18:07:12 +0900 Subject: [PATCH 1/2] And language links to the top page --- css/style.css | 22 ++++++++++++++++------ index.php | 11 ++++++----- toc-header.php | 3 +++ 3 files changed, 25 insertions(+), 11 deletions(-) create mode 100644 toc-header.php diff --git a/css/style.css b/css/style.css index 47b24b1..9ed4f82 100644 --- a/css/style.css +++ b/css/style.css @@ -97,18 +97,29 @@ img { color: #999; } -.header .subtitle { - +.toc-header { + font-size: 16px; + line-height: 16px; + margin-top: 24px; + margin-bottom: 24px; + text-align: right; + color: #999; } -.header .subtitle a{ +.header .subtitle { + +} + +.header .subtitle a, +.toc-header .subtitle a { font-size: 1.3em; font-style: italic; text-decoration: none; border: 0!important; } -.header a{ +.header a, +.toc-header a { font-size: 0.8em; font-style: italic; text-decoration: none; @@ -228,7 +239,7 @@ code { margin-left: auto; margin-right: auto; max-width: 700px; - + } .simpleFunction .CodeMirror { @@ -357,4 +368,3 @@ code { font-style: italic; text-align: right; } - diff --git a/index.php b/index.php index 57c13cc..ff67373 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,4 @@ -'; - + include($path."/src/parsedown/Parsedown.php"); $Parsedown = new Parsedown(); echo $Parsedown->text(file_get_contents($README.'.md')); - + echo ''; include("footer.php"); -?> \ No newline at end of file +?> diff --git a/toc-header.php b/toc-header.php new file mode 100644 index 0000000..fd276f4 --- /dev/null +++ b/toc-header.php @@ -0,0 +1,3 @@ +
+

日本語 - 中文版 - 한국어 - Español - Français - Italiano - English

+
From 8de08eb128de0b974612dadaa877a9696a9c057b Mon Sep 17 00:00:00 2001 From: Patricio Gonzalez Vivo Date: Mon, 31 Oct 2016 09:35:38 -0400 Subject: [PATCH 2/2] linking to chap 12 and 13! thanks --- 11/index.php | 4 +--- 13/index.php | 3 ++- README.md | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/11/index.php b/11/index.php index e4daa39..4245102 100644 --- a/11/index.php +++ b/11/index.php @@ -26,10 +26,8 @@ '; include($path."/footer.php"); ?> - - diff --git a/13/index.php b/13/index.php index e4b0424..31d9d3e 100644 --- a/13/index.php +++ b/13/index.php @@ -26,8 +26,9 @@ '; include($path."/footer.php"); ?> + + diff --git a/README.md b/README.md index 550a80d..4468bbf 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,8 @@ This is a gentle step-by-step guide through the abstract and complex universe of * Generative designs * [Random](10/) * [Noise](11/) - * Cellular noise - * Fractional brownian motion + * [Cellular noise](12/) + * [Fractional brownian motion](13/) * Fractals * Image processing: