From c0f20deb126b68213d010fe1f2a0e64eafc9a1da Mon Sep 17 00:00:00 2001 From: William Daniau Date: Tue, 8 Oct 2019 16:10:05 +0200 Subject: [PATCH] =?UTF-8?q?Nouveau=20template=20with=20index=20avec=20menu?= =?UTF-8?q?=20glissant=20sur=20le=20c=C3=B4t=C3=A9=20gauche.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/html/Default_with_index.html | 118 ++++++++++++++++++++++++++++++--- templates/html/common/attachment.png | Bin 0 -> 1783 bytes templates/html/common/backlink.png | Bin 0 -> 5060 bytes 3 files changed, 108 insertions(+), 10 deletions(-) create mode 100644 templates/html/common/attachment.png create mode 100644 templates/html/common/backlink.png diff --git a/templates/html/Default_with_index.html b/templates/html/Default_with_index.html index 8cdd4aa..3a4f3d7 100644 --- a/templates/html/Default_with_index.html +++ b/templates/html/Default_with_index.html @@ -29,13 +29,53 @@ span.insen { color: grey } .pages { - max-width: 1000px; - padding-left: 320px; + /*max-width: 1000px;*/ + /*padding-left: 320px;*/ + width: inherit; + transition: margin-left .3s; } + .menu{ - float:left; width: 300px; + /*float:left; */ + width: 0; + color:#4e9a06; + overflow-x: hidden; + position: absolute; + transition:.3s; + background: #fafafa; + border-style: solid; + border-width: 1px; + } + + .menu a,.menu a:link,.menu a:hover,.menu a:active,.menu a:visited { + color: #4e9a06; + } + + .menuOpen { + /*display: block;*/ + } + + .menuClosed { + border-style: unset; + } + + .header{ + max-width: 63em; + position: fixed; + width: 100%; + top:0; + background:white; + z-index: 1; } + hr{clear:both;} + + body { + max-width:63em; + display:block; + margin-left:auto; + margin-right:auto; + } @@ -51,16 +91,38 @@ href="[% resource('common/hljs/styles/sunburst.css') %]" > - + + + +
- + + + + +[% FOR page IN pages %] + +

+[% page.title %]

+[% END %] +
+ + + + + + +
-
+
-