WIP:bulma
[website] / dist / templates / layout.html
index e6af340..94e1b5e 100644 (file)
     thymeproxy:variables="SET:sitemap.json"
     >
   <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
     <title th:replace="${title}">juplo - BASISTEMPLATE</title>
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1" />
-    <!-- Default / Responsive -->
-    <link rel="stylesheet" th:rel="stylesheet" media="all" title="Responsive" type="text/css" href="../css/base.css" th:href="@{/css/base.min.css}"/>
-    <link rel="stylesheet" th:rel="stylesheet" media="only screen" title="Responsive" type="text/css" href="../css/screen.css" th:href="@{/css/screen.min.css}"/>
-    <link rel="stylesheet" th:rel="stylesheet" media="print" title="Responsive" type="text/css" href="../css/print.css" th:href="@{/css/print.min.css}"/>
-    <!-- Legacy -->
-    <link rel="alternate stylesheet" title="Legacy" type="text/css" href="../css/base.css" th:href="@{/css/base.min.css}"/>
-    <!-- Tablet -->
-    <link rel="alternate stylesheet" title="Tablet" type="text/css" href="../css/base.css" th:href="@{/css/base.min.css}"/>
-    <link rel="alternate stylesheet" title="Tablet" type="text/css" href="../css/tablet.css" th:href="@{/css/tablet.min.css}"/>
-    <!-- Phone -->
-    <link rel="alternate stylesheet" title="Phone" type="text/css" href="../css/base.css" th:href="@{/css/base.min.css}"/>
-    <link rel="alternate stylesheet" title="Phone" type="text/css" href="../css/phone.css" th:href="@{/css/phone.min.css}"/>
-    <!-- Tiny -->
-    <link rel="alternate stylesheet" title="Tiny" type="text/css" href="../css/base.css" th:href="@{/css/base.min.css}"/>
-    <link rel="alternate stylesheet" title="Tiny" type="text/css" href="../css/tiny.css" th:href="@{/css/tiny.min.css}"/>
-    <!-- Print -->
-    <link rel="alternate stylesheet" title="Print" type="text/css" href="../css/base.css" th:href="@{/css/base.min.css}"/>
-    <link rel="alternate stylesheet" title="Print" type="text/css" href="../css/print.css" th:href="@{/css/print.min.css}"/>
-    <script src="../js/prettify.js" th:src="@{/js/prettify.js}"></script>
-    <!--[if lt IE 9]>
-      <script src="../js/html5shiv.js" th:src="@{/js/html5shiv.js}"></script>
-    <![endif]-->
-    <!--[if IE 8]>
-      <link rel="stylesheet" th:rel="stylesheet" type="text/css" href="../css/ie8.css" th:href="@{/css/ie8.min.css}"/>
-    <![endif]-->
-    <link rel="caononical" href="layout.html" th:replace="${scripts_head}?:~{}"/>
+    <link rel="stylesheet" href="../css/juplo.css" th:href="@{/css/juplo.css}">
+    <link rel="caononical" href="layout.html" th:replace="${scripts_head}?:~{}">
   </head>
   <body
       th:fragment="body(uri, maincontent, marginalcontent)"
       thymeproxy:variables="${json}"
       th:with="crumbs=${_crumbs.get(uri)}"
-      id="top"
-      class="menu"
-      th:class="${contentclass}?:'menu'"
-      onload="prettyPrint()"
       >
+    <nav class="column is-8-desktop is-offset-2-desktop">
+      <div class="navbar" role="navigation" aria-label="main navigation">
+        <div class="navbar-brand">
+          <a class="navbar-item" href="../index.html" th:href="@{/}" title="Home">
+            <img src="/img/logo.svg" alt="juplo">
+          </a>
+      
+          <a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbar">
+            <span aria-hidden="true"></span>
+            <span aria-hidden="true"></span>
+            <span aria-hidden="true"></span>
+          </a>
+        </div>
+      
+        <div id="navbar" class="navbar-menu">
+          <div class="navbar-start">
+            <a class="navbar-item" href="../blog/" th:href="@{${entry.value}}">Blog</a>
+            <!--/*-->
+            <a class="navbar-item" href="../projects.html">Projects</a>
+            <a class="navbar-item" href="../about.html">About</a>
+            <!--*/-->
+          </div>
+          <div class="navbar-end">
+            <a class="navbar-item" href="../about.html">About</a>
+          </div>
+        </div>
+      </div>
+    </nav>
+    <section class="section">
+      <div class="container">
+        <div class="columns">
+          <div class="column is-8-desktop is-offset-2-desktop breadcrumb" aria-label="breadcrumbs">
+            <strong>You are here:</strong>
+            <ul>
+              <li><a href="../index.html" th:href="@{/index.html}">Home</a></li>
+              <li th:each="crumb: ${crumbs}"><a href="../projects.html" th:href="@{${crumb}}" th:text="${_titles.get(crumb)}">Projects</a></li>
+              <!--/*-->
+              <li class="is-active"><a class="b" th:text="${title}">Fix SWF</a></li>
+              <!--*/-->
+            </ul>
+          </div>
+        </div>
+      </div>
+    </section>
+    <section class="section">
+      <div class="container">
+        <div class="columns">
+          <div class="column is-8-desktop is-offset-2-desktop">
+            <div class="content">
+              <h1 class="title" th:include="${title}">Title</h1>
+              <div th:fragment="maincontent">
+                <p>
+                  <strong>Lorem ipsum</strong> dolor
+                  <a href="../potemkin/typo.html" th:href="@{/potemkin/typo.html}">sit amet</a>,
+                  consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
+                  labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
+                  <a href="../potemkin/html-experimente.html" th:href="@{/potemkin/html-experimente.html}">exercitation</a>
+                  ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
+                  irure dolor in reprehenderit in voluptate velit esse cillum dolore
+                  eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
+                  proident, sunt in culpa qui officia deserunt mollit anim id est
+                  laborum.
+                </p>
+                <h2 class="title">Duis aute irure dolor</h2>
+                <ul>
+                  <li>Operators and other mathematical stuff: -+/*</li>
+                  <li>
+                    Characters offten used in programming languages:
+                    {(&lt;&gt;)}@$?%*#;:&amp;/\!^&#034;&#039;`~
+                  </li>
+                  <li>Special german characters: ÄäÖöÜü</li>
+                  <li>Other special characters: @?¢§%°</li>
+                </ul>
+                <h2 class="title">Excepteur sint occaecat cupidatat</h2>
+                <p>
+                  Lorem ipsum dolor <em>sit amet</em>, consectetur adipisicing elit,
+                  sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+                  Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
+                  nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
+                  reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
+                  pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
+                  culpa qui officia deserunt mollit anim id est laborum.
+                </p>
+                <p>
+                  Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
+                  eiusmod tempor incididunt ut labore et dolore magna aliqua.
+                  <strong>Ut enim ad minim veniam, quis nostrud <em>exercitation
+                  ullamco</em> laboris nisi ut aliquip ex ea commodo consequat</strong>.
+                  Duis aute irure dolor in reprehenderit in voluptate velit esse
+                  cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
+                  cupidatat non proident, sunt in culpa qui officia deserunt mollit
+                  anim id est laborum.
+                </p>
+                <ul>
+                  <li>
+                    <code><a href="https://github.com/jgthms/bulma">bulma</a></code>
+                  </li>
+                  <li>
+                    <code><a href="https://github.com/sass/node-sass">node-sass</a></code> to compile your own Sass file
+                  </li>
+                  <li>
+                    <code><a href="https://github.com/postcss/postcss-cli">postcss-cli</a></code> and <code><a href="https://github.com/postcss/autoprefixer">autoprefixer</a></code> to add support for older browsers
+                  </li>
+                  <li>
+                    <code><a href="https://babeljs.io/docs/usage/cli/">babel-cli</a></code>,
+                    <code><a href="https://github.com/babel/babel-preset-env">babel-preset-env</a></code>
+                    and
+                    <code><a href="https://github.com/jmcriffey/babel-preset-es2015-ie">babel-preset-es2015-ie</a></code>
+                    for compiling ES6 JavaScript files
+                  </li>
+                </ul>
+                <p>
+                  Apart from <code>package.json</code>, the following files are included:
+                </p>
+                <ul>
+                  <li>
+                    <code>.babelrc</code> configuration file for <a href="https://babeljs.io/">Babel</a>
+                  </li>
+                  <li>
+                    <code>.gitignore</code> common <a href="https://git-scm.com/">Git</a> ignored files
+                  </li>
+                  <li>
+                    <code>index.html</code> this HTML5 file
+                  </li>
+                  <li>
+                    <code>_sass/main.scss</code> a basic SCSS file that <strong>imports Bulma</strong> and explains how to <strong>customize</strong> your styles, and compiles to <code>css/main.css</code>
+                  </li>
+                  <li>
+                    <code>_javascript/main.js</code> an ES6 JavaScript that compiles to <code>lib/main.js</code>
+                  </li>
+                </ul>
+                <h3>Try it out!</h3>
+                <p>
+                  To see if your setup works, follow these steps:
+                </p>
+                <ol>
+                  <li>
+                    <p>
+                      <strong>Move</strong> to this directory:
+                      <br>
+                      <pre><code>cd bulma-start</code></pre>
+                    </p>
+                  </li>
+                  <li>
+                    <p>
+                      <strong>Install</strong> all dependencies:
+                      <br>
+                      <pre><code>npm install</code></pre>
+                    </p>
+                  </li>
+                  <li>
+                    <p>
+                      <strong>Start</strong> the CSS and JS watchers:
+                      <br>
+                      <pre><code>npm start</code></pre>
+                    </p>
+                  </li>
+                  <li>
+                    <p>
+                      <strong>Edit</strong> <code>_sass/main.scss</code> by adding the following rule at the <strong>end</strong> of the file:
+                      <br>
+                      <pre><span style="color: #22863a;">html</span> {
+    <span style="color: #005cc5;"><span style="color: #005cc5;">background-color</span></span>: <span style="color: #24292e">$green</span>;
+  }</pre>
+                    </p>
+                  </li>
+                </ol>
+                <p>
+                  The page background should turn <strong class="has-text-success">green</strong>!
+                </p>
+                <h3>Get started</h3>
+                <p>
+                  You're <strong>ready</strong> to create your own designs with Bulma. Just edit or duplicate this page, or simply create a new one!
+                  <br>
+                  For example, this page is <strong>only</strong> built with the following <strong>Bulma elements</strong>:
+                </p>
+              </div>
+            </div>
+            <table class="table is-bordered is-fullwidth">
+              <thead>
+                <tr>
+                  <th>Type</th>
+                  <th>CSS class</th>
+                </tr>
+              </thead>
+              <tbody>
+                <tr>
+                  <th>Columns</th>
+                  <td>
+                    <code><a href="http://bulma.io/documentation/columns/basics">columns</a></code>
+                    <code><a href="http://bulma.io/documentation/columns/basics">column</a></code>
+                  </td>
+                </tr>
+                <tr>
+                  <th>Layout</th>
+                  <td>
+                    <code><a href="http://bulma.io/documentation/layout/section">section</a></code>
+                    <code><a href="http://bulma.io/documentation/layout/container">container</a></code>
+                    <code><a href="http://bulma.io/documentation/layout/footer">footer</a></code>
+                  </td>
+                </tr>
+                <tr>
+                  <th>Elements</th>
+                  <td>
+                    <code><a href="http://bulma.io/documentation/elements/button">button</a></code>
+                    <code><a href="http://bulma.io/documentation/elements/content">content</a></code>
+                    <code><a href="http://bulma.io/documentation/elements/title">title</a></code>
+                    <code><a href="http://bulma.io/documentation/elements/title">subtitle</a></code>
+                  </td>
+                </tr>
+                <tr>
+                  <th>Form</th>
+                  <td>
+                    <code><a href="http://bulma.io/documentation/form/general">field</a></code>
+                    <code><a href="http://bulma.io/documentation/form/general">control</a></code>
+                  </td>
+                </tr>
+                <tr>
+                  <th>Helpers</th>
+                  <td>
+                    <code><a href="http://bulma.io/documentation/modifiers/typography-helpers/">has-text-centered</a></code>
+                    <code><a href="http://bulma.io/documentation/modifiers/typography-helpers/">has-text-weight-semibold</a></code>
+                  </td>
+                </tr>
+              </tbody>
+            </table>
+            <div class="content">
+              <p>
+                If you want to <strong>learn more</strong>, follow these links:
+              </p>
+            </div>
+            <div class="field is-grouped">
+              <p class="control">
+                <a class="button is-medium is-primary" href="http://bulma.io">
+                  <strong class="has-text-weight-semibold">Bulma homepage</strong>
+                </a>
+              </p>
+              <p class="control">
+                <a class="button is-medium is-link" href="http://bulma.io/documentation/overview/start/">
+                  <strong class="has-text-weight-semibold">Documentation</strong>
+                </a>
+              </p>
+            </div>
+          </div>
+        </div>
+      </div>
+    </section>
+    <footer class="footer has-text-centered">
+      <div class="container">
+         <div class="columns">
+          <div class="column is-8-desktop is-offset-2-desktop">
+            <p>
+              <strong class="has-text-weight-semibold">
+                <a href="https://www.npmjs.com/package/bulma-start">bulma-start@0.0.4</a>
+              </strong>
+            </p>
+            <p>
+              <small>
+                Source code licensed <a href="http://opensource.org/licenses/mit-license.php">MIT</a>
+              </small>
+            </p>
+            <p style="margin-top: 1rem;">
+              <a href="http://bulma.io">
+                <img src="made-with-bulma.png" alt="Made with Bulma" width="128" height="24">
+              </a>
+            </p>
+          </div>
+        </div>
+      </div>
+    </footer>
     <div id="page" class="cf">
       <header id="header"><!-- TODO: Vereinfachung -> für uri == index.html a gegen strong ausstauschen -->
-        <h1 id="logo" th:include="~{::#logo}"><a href="../index.html" th:href="@{/}" title="Home" class="l" ><img class="l" src="/img/logo.svg" alt="juplo"/></a></h1>
-        <span id="slogan"><strong>Java</strong> bits from nerds for nerds</span>
         <hr class="h" />
       </header>
       <div id="breadcrumb">
       <main class="content cf">
         <article id="content" class="main" th:include="${maincontent}">
           <header><h1 th:include="${title}">juplo - BASISTEMPLATE</h1></header>
-          <div th:fragment="maincontent">
-            <p>
-              <strong>Lorem ipsum</strong> dolor
-              <a href="../potemkin/typo.html" th:href="@{/potemkin/typo.html}">sit amet</a>,
-              consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
-              labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
-              <a href="../potemkin/html-experimente.html" th:href="@{/potemkin/html-experimente.html}">exercitation</a>
-              ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
-              irure dolor in reprehenderit in voluptate velit esse cillum dolore
-              eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
-              proident, sunt in culpa qui officia deserunt mollit anim id est
-              laborum.
-            </p>
-            <h2>Duis aute irure dolor</h2>
-            <ul>
-              <li>Operators and other mathematical stuff: -+/*</li>
-              <li>
-                Characters offten used in programming languages:
-                {(&lt;&gt;)}@$?%*#;:&amp;/\!^&#034;&#039;`~
-              </li>
-              <li>Special german characters: ÄäÖöÜü</li>
-              <li>Other special characters: @?¢§%°</li>
-            </ul>
-            <h2>Excepteur sint occaecat cupidatat</h2>
-            <p>
-              Lorem ipsum dolor <em>sit amet</em>, consectetur adipisicing elit,
-              sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
-              Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
-              nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
-              reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
-              pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
-              culpa qui officia deserunt mollit anim id est laborum.
-            </p>
-            <p>
-              Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
-              eiusmod tempor incididunt ut labore et dolore magna aliqua.
-              <strong>Ut enim ad minim veniam, quis nostrud <em>exercitation
-              ullamco</em> laboris nisi ut aliquip ex ea commodo consequat</strong>.
-              Duis aute irure dolor in reprehenderit in voluptate velit esse
-              cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
-              cupidatat non proident, sunt in culpa qui officia deserunt mollit
-              anim id est laborum.
-            </p>
-          </div>
         </article>
         <div class="marginal">
           <nav id="nav"