Blame view

demo/Default_with_index/Demo_files/Une_seconde_page.html 5.91 KB
0233a34ef   William Daniau   Update demo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  <html>
  <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>Une seconde page</title>
      <meta name='Generator' content='Zim 0.68-rc1'>
      <link rel="stylesheet"
          href="./_resources/common/zim-variables.css" >
      <link rel="stylesheet"
          href="./_resources/common/zim-style.css" >
      <link rel="stylesheet"
          href="./_resources/common/zim-table-style.css" >
      <link rel="stylesheet"
          href="./_resources/common/zim-special.css" >
      <link rel="stylesheet"
          href="./_resources/common/zim-hljs.css" >
        
      <style type='text/css'>
          *           { font-family: sans-serif }
  
          a:hover     { text-decoration: underline; }
          
          /* Centre les images mais elles sont coupées aux sauts de page à l'impression */
          img {            
              display: block;
              margin-left: auto;
              margin-right: auto;
          }
          
          /* Specifique au with index */
          span.insen { color: grey }
  
          .pages {
              /*max-width: 1000px;*/
              /*padding-left: 320px;*/
              width: inherit;
              transition: margin-left .3s;
              background: white;
              padding-left: 10px;
              padding-right: 10px;
              padding-bottom: 20px;
              padding-top: 10px;
          }
          
          .menu{
              /*float:left; */
              width: 0;
              color:var(--main-header-color);
              overflow-x: hidden;
              position: absolute;
              transition:.3s;
              background: var(--main-menu-background-color);
              border-style: solid;
              border-width: 1px;
              margin-left:-20px;
          }
          
          .menu a,.menu a:link,.menu a:hover,.menu a:active,.menu a:visited {
              color: var(--main-header-color);
          }
          
          .menuOpen {
              /*display: block;*/
          }
              
          .menuClosed {
              border-style: unset;
          }
          
          .header{
              max-width: var(--main-page-width);
              position: fixed;
              width: 100%;
              top:0;
              background:white;
              z-index: 1;
          }
          
          hr{
              clear:both;
              border-style: solid;
              border-width: 1px;
              border-color: var(--main-header-color);
          }
          
          body {
              max-width: var(--main-page-width);
              display:block;
              margin-left:auto;
              margin-right:auto;
              background: var(--main-body-background-color);
          }
  
          .intercalaire {
              background:white;
              margin-top: 48px;
              padding: 10px;
          }
          
          .bold-footer {
              color: var(--main-header-color);
          }
          
      </style>
  
  <!-- Themes clair :
      atom-one-light.css, vs.css googlecode.css github.css
      qtcreator_light.css
      Themes sombres :
      agate.css vs2015.css atom-one-dark.css hybrid.css
      ir-black.css sunburst.css tomorrow-night-bright.css
      qtcreator_dark.css
      Demo live : https://highlightjs.org/static/demo/ -->
      <link rel="stylesheet"
          href="./_resources/common/hljs/styles/sunburst.css" >
        
      <!-- hljs -->
      <script src="./_resources/common/hljs/highlight.pack.js"></script>
      
      <script>
      function openNav() {
          if (document.getElementById("mySidenav").getAttribute("class").split(' ')[1] == "menuClosed") {
              document.getElementById("mySidenav").style.width = "300px";            
              /*document.getElementById("main").style.marginLeft = "300px";*/   
              document.getElementById("mySidenav").setAttribute("class","menu menuOpen");
              /* Scroll to top when opening menu */
              document.body.scrollTop = 0
              document.documentElement.scrollTop = 0;
          } else {
              document.getElementById("mySidenav").style.width = "0";
              /*document.getElementById("main").style.marginLeft = "0";*/
              document.getElementById("mySidenav").setAttribute("class","menu menuClosed");            
          }
      }
      </script>
  </head>
  <body>
  
  <!-- Header -->
  <div class='header'>
  <table class='navigation' style="float:left">
  <tr class='navigation'>
  <td class='navigation'>
  <span style="font-size:30px;cursor:pointer;color: var(--main-header-color);" onclick="openNav()">&#9776;</span>
  </td>
  <td class='navigation'>
      <a href='file:///home/daniau/tmpzim/Demo.html'>
      <img src="./_resources/common/arrow-left.png" alt="Préc." title="Préc.">
      </a>
  </td>
  <td class='navigation'>
      <img src="./_resources/common/arrow-up-inact.png" alt="Index" title="Index">
  </td>
  <td class='navigation'>
      <img src="./_resources/common/arrow-right-inact.png" alt="Suivant" title="Suivant">
  </td>
  </tr>
  </table>
  
  <span>
  <a name='Tests:Demo:Une seconde page'></a>
  <h1 style="display:inline-block;margin-left:20px;margin-top:5px;">
  Une seconde page</h1>
  </span>
  
  <table class='navigation' style="float:right;margin-right:10px;">
  <tr class='navigation'>
  <td class='navigation'>
  </td>
  <td class='navigation'>
  </td>
  </tr>
  </table>
  </div>
  
  <div class="intercalaire">
  <hr />
  </div>
  
  <div id="mySidenav" class="menu menuClosed">
  <ul>
  <li><a href="file:///home/daniau/tmpzim/Demo.html" title="Demo" class="page">Demo</a>
  <ul>
  <li><b>Une seconde page</b></li>
  </ul></li>
  </ul>
  
  </div>
  
  <!-- Wiki content -->
  
  <div id="main" class='pages'>
  <!--
      <div class='heading'>
      <h1>Une seconde page <a name='Tests:Demo:Une seconde page'></a></h1>
      </div>
  -->
      <div class='content'>
      <p>
  Créée le mercredi 09 octobre 2019
  </p>
  
  <p>
  Une seconde page pour montrer la navigation.
  </p>
  
      </div>
  
      <br />
      
      <div style="padding-bottom:10px;">
      <hr />
      </div>
  
      <div class='page-footer'>
  
      </div>
  
      
  
  </div>
  
  <script src="./_resources/common/go-hljs.js"></script>
  
  </body>
  
  </html>