- <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>
- <!--/*-->
- <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>
- <nav id="nav"
- th:include="~{::#navigation}?:_"
- th:with="section=${crumbs != null ? crumbs[0] : null}"
- >
- <hr class="n"/>
- <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
- <h1 class="nav">Navigation</h1>
- <h2 class="nav menu">Section-Menu</h2>
- <ul id="menu" class="cf">
- <li class="m blog" th:each="entry : ${_sections}" th:class="'m ' + ${entry.key}">
- <a href="../blog/" th:href="@{${entry.value}}" class="m" th:class="${entry.value == section} ? 'm selected' : 'm'" th:text="${_titles.get(entry.value)}">Blog</a>
- </li>
- <!--/*-->
- <li class="m projects"><a href="../projects.html" class="m selected">Projects</a></li>
- <li class="m about"><a href="../about.html" class="m">About</a></li>
- <!--*/-->
- </ul>
- <h2 class="nav submenu">
- <span class="s">Submenu for section</span>
- <a class="s selected" href="../projects.html" th:href="@{${section}}" th:text="${_titles.get(section)}">Projects</a>
- </h2>
- <ul th:include="${submenu}?:_"
- th:with="
- len=${crumbs.size()},
- submenu=${_childs.get(section)},
- parent=${crumbs[0]},
- pos=1"
- id="submenu"
- class="s"
- th:class="'s' + (${len == 1 or (len == 2 and _childs.get(uri) == null)} ? ' selected' : '')"
- >
- <li th:fragment="submenu(submenu, parent, pos)"
- th:each="entry : ${submenu}"
- th:with="
- child=${pos == len},
- selected=${!child and crumbs.get(pos) == entry},
- sibling=${pos + 1 == len and (_childs.get(uri) == null or uri == parent)},
- childs=${entry == parent ? null : _childs.get(entry)}
- "
- class="s sub"
- th:class="'s' + (${childs} ? ' sub' : '') + (${selected or sibling or child} ? '' : ' off')"
- >
- <a href="../potemkin/fix-swf/overview.html"
- th:if="${entry != parent}"
- th:href="@{${entry}}"
- class="s selected"
- th:class="${selected} ? 's selected' : 's'"
- th:text="${_titles.get(entry)}"
- >fix-swf</a>
- <ul th:if="${selected and childs != null}"
- class="s active"
- th:class="'s' + (${selected && pos == crumbs.size()-1} ? ' active' : '') + (${entry == uri or (len > 1 and entry == crumbs.get(len-2) and _childs.get(uri) == null)} ? ' selected' : '')"
- >
- <li th:replace="this :: submenu(submenu=${childs}, parent=${entry}, pos=${pos + 1})"
- class="s"
- >
- <strong class="s">Overview</strong>