2023 Updates
36
README.md
@ -1,7 +1,7 @@
|
|||||||
# Hugo Story
|
# Hugo Story
|
||||||
## A (modular, highly tweakable) responsive one-page theme for Hugo.
|
## A (modular, highly tweakable) responsive one-page theme for Hugo.
|
||||||
|
|
||||||
![](images/device-screenshots.png)
|
![](readme/device-screenshots.png)
|
||||||
|
|
||||||
Hugo Story is a port of the static HTML template Story by HTML5 UP. It is designed to mirror the look and feel of the original template as closely as possible while incorporating some of the features Hugo has to offer.
|
Hugo Story is a port of the static HTML template Story by HTML5 UP. It is designed to mirror the look and feel of the original template as closely as possible while incorporating some of the features Hugo has to offer.
|
||||||
|
|
||||||
@ -34,56 +34,50 @@ This theme is designed for those who are comfortable editing HTML and integratin
|
|||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
https://caressofsteel.github.io/demos/hugo/hugo-story/
|
https://caressofsteel.github.io/demos/hugo/hugo-story/
|
||||||
|
|
||||||
## Using
|
## Using
|
||||||
### 1. Install Hugo
|
### 1. Install Hugo.
|
||||||
|
|
||||||
[Install Hugo (Extended Version)](https://gohugo.io/overview/installing/)
|
[Install Hugo (Extended Version)](https://gohugo.io/overview/installing/)
|
||||||
|
|
||||||
> _This theme uses Hugo Pipes to compile SCSS & Sass so you'll have to use the **extended** version of Hugo. See the official [Hugo Quick Start Guide](https://gohugo.io/getting-started/quick-start/) for more information._
|
> _This theme uses Hugo Pipes to compile SCSS & Sass so you'll have to use the **extended** version of Hugo. See the official [Hugo Quick Start Guide](https://gohugo.io/getting-started/quick-start/) for more information._
|
||||||
### 2. Create a new site
|
### 2. Create a new example site called `mystory`.
|
||||||
|
|
||||||
```
|
```
|
||||||
hugo new site story-examplesite
|
hugo new site mystory
|
||||||
```
|
```
|
||||||
### 3. Clone this Git repository
|
### 3. Clone the Git repository.
|
||||||
|
|
||||||
```
|
```
|
||||||
cd story-examplesite
|
cd mystory
|
||||||
git clone https://github.com/caressofsteel/hugo-story.git themes/hugo-story
|
git clone https://github.com/caressofsteel/hugo-story.git themes/hugo-story
|
||||||
```
|
```
|
||||||
|
|
||||||
> _Hint: See a note for non-Git users [here](https://gohugo.io/getting-started/quick-start/#step-3-add-a-theme)._
|
> _Hint: See a note for non-Git users [here](https://gohugo.io/getting-started/quick-start/#step-3-add-a-theme)._
|
||||||
### 4. Copy `data` and `config.toml` with overwrite from `exampleSite`
|
### 4. Copy contents of `themes/hugo-story/exampleSite/` to `mystory` root folder with overwrite.
|
||||||
```
|
```
|
||||||
cp -r themes/hugo-story/exampleSite/data ./
|
cp -r themes/hugo-story/exampleSite/* ./
|
||||||
cp themes/hugo-story/exampleSite/config.toml ./
|
|
||||||
```
|
```
|
||||||
> _Hint: Using `config.toml` tells Hugo to use the theme and sets some basic theme parameters._
|
> _Hint: This sets up the `mystory` website with a copy of the `layouts`, `data`, and `configuration` files outside of the theme folder._
|
||||||
|
|
||||||
> _Hint: Using `data` provides default content for the site._
|
### 5. Start Hugo Server.
|
||||||
### 5. Start Hugo Server
|
|
||||||
```
|
```
|
||||||
hugo server
|
hugo server
|
||||||
```
|
```
|
||||||
### 6. Open Hugo Server in your browser
|
### 6. Open Hugo Server in your browser.
|
||||||
```
|
```
|
||||||
http://localhost:1313/
|
http://localhost:1313/
|
||||||
```
|
```
|
||||||
Here you'll see the site running on the local Hugo server. You can now make changes to and Hugo will rebuild the site automatically.
|
Here you'll see the site running on the local Hugo server. You can now make changes to and Hugo will rebuild the site automatically.
|
||||||
|
|
||||||
> _Hint: A copy of the default generated site is located in the _`originalStorySite`_ folder should you need to reference it._
|
### 7. Further steps.
|
||||||
|
|
||||||
### 7. Further steps
|
- Edit the contents of `YML` files in the `data` folder.
|
||||||
|
|
||||||
- Change the contents of `YML` files in the `data` folder.
|
|
||||||
- _Altering `banner.yml` will change the top block on the site. See more details [here](https://gohugo.io/templates/data-templates/)._
|
- _Altering `banner.yml` will change the top block on the site. See more details [here](https://gohugo.io/templates/data-templates/)._
|
||||||
|
|
||||||
- Create a custom site layout.
|
- Create a custom site layout.
|
||||||
- Copy the default `index.html`.
|
- Edit the `index.html` within `mystory/layouts/` to customize the layout the site.
|
||||||
|
|
||||||
```
|
|
||||||
cp themes/hugo-story/layouts/index.html layouts/
|
|
||||||
```
|
|
||||||
- By manipulating the the `{{ partial ... }}` tags within this file you can create a custom layout for the site. See more details [here](https://gohugo.io/templates/partials/).
|
- By manipulating the the `{{ partial ... }}` tags within this file you can create a custom layout for the site. See more details [here](https://gohugo.io/templates/partials/).
|
||||||
|
|
||||||
- Continue exploring Hugo and the template!
|
- Continue exploring Hugo and the template!
|
||||||
|
6
exampleSite/archetypes/default.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
@ -2,9 +2,23 @@
|
|||||||
## Basic Configuration
|
## Basic Configuration
|
||||||
## -----------------------------------------------
|
## -----------------------------------------------
|
||||||
|
|
||||||
title = "Hugo Story"
|
|
||||||
theme = "hugo-story"
|
theme = "hugo-story"
|
||||||
|
|
||||||
|
## -----------------------------------------------
|
||||||
|
## Publish
|
||||||
|
## -----------------------------------------------
|
||||||
|
|
||||||
|
relativeURLs = "true"
|
||||||
|
#canonifyURLs = "true"
|
||||||
|
|
||||||
|
# Local
|
||||||
|
baseURL = "/"
|
||||||
|
publishDir = "public"
|
||||||
|
|
||||||
|
# Remote
|
||||||
|
#baseURL = "https://caressofsteel.github.io/demos/hugo/hugo-story/"
|
||||||
|
#publishDir = "//centos/sites/hugodev/hugostory/"
|
||||||
|
|
||||||
|
|
||||||
## -----------------------------------------------
|
## -----------------------------------------------
|
||||||
## Hugo Built-in Features
|
## Hugo Built-in Features
|
||||||
@ -13,20 +27,10 @@ theme = "hugo-story"
|
|||||||
disableKinds = ["taxonomy", "taxonomyTerm", "section"]
|
disableKinds = ["taxonomy", "taxonomyTerm", "section"]
|
||||||
# googleAnalytics = "your-google-analytics-id"
|
# googleAnalytics = "your-google-analytics-id"
|
||||||
|
|
||||||
|
|
||||||
## -----------------------------------------------
|
## -----------------------------------------------
|
||||||
## Site Parameters
|
## Site Parameters
|
||||||
## -----------------------------------------------
|
## -----------------------------------------------
|
||||||
|
|
||||||
[Params]
|
[Params]
|
||||||
description = "A (modular, highly tweakable) responsive one-page theme for Hugo"
|
|
||||||
logo = "images/banner.jpg"
|
|
||||||
favicon = true
|
|
||||||
|
|
||||||
[Params.social]
|
[Params.social]
|
||||||
github = "https://github.com/caressofsteel/"
|
|
||||||
twitter = "https://twitter.com/caressofsteel_"
|
|
||||||
email = "caressofsteel@protonmail.com"
|
|
||||||
instagram = "https://instagram.com"
|
|
||||||
linkedin = "https://linkedin.com"
|
|
||||||
telegram = "https://telegram.org"
|
|
38
exampleSite/config/_default/config.toml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
## -----------------------------------------------
|
||||||
|
## Basic Configuration
|
||||||
|
## -----------------------------------------------
|
||||||
|
|
||||||
|
theme = "hugo-story"
|
||||||
|
|
||||||
|
## -----------------------------------------------
|
||||||
|
## Publish
|
||||||
|
## -----------------------------------------------
|
||||||
|
|
||||||
|
relativeURLs = "true"
|
||||||
|
#canonifyURLs = "true"
|
||||||
|
|
||||||
|
# Local
|
||||||
|
baseURL = "/"
|
||||||
|
publishDir = "public"
|
||||||
|
|
||||||
|
# Remote
|
||||||
|
#baseURL = "https://caressofsteel.github.io/demos/hugo/hugo-story/"
|
||||||
|
#publishDir = "//centos/sites/hugodev/hugostory/"
|
||||||
|
|
||||||
|
|
||||||
|
## -----------------------------------------------
|
||||||
|
## Hugo Built-in Features
|
||||||
|
## -----------------------------------------------
|
||||||
|
|
||||||
|
disableKinds = ["taxonomy", "taxonomyTerm", "section"]
|
||||||
|
# googleAnalytics = "G-XXXXXXXXXX"
|
||||||
|
|
||||||
|
## -----------------------------------------------
|
||||||
|
## Site Parameters
|
||||||
|
## -----------------------------------------------
|
||||||
|
|
||||||
|
[Params]
|
||||||
|
|
||||||
|
[Params.social]
|
||||||
|
|
||||||
|
[Params.asset]
|
49
exampleSite/config/development/config.toml
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
## -----------------------------------------------
|
||||||
|
## Basic Configuration
|
||||||
|
## -----------------------------------------------
|
||||||
|
|
||||||
|
title = "Hugo Story"
|
||||||
|
copyright = "{year}"
|
||||||
|
|
||||||
|
## -----------------------------------------------
|
||||||
|
## Publish
|
||||||
|
## -----------------------------------------------
|
||||||
|
|
||||||
|
relativeURLs = "true"
|
||||||
|
#canonifyURLs = "true"
|
||||||
|
|
||||||
|
# Local
|
||||||
|
baseURL = "/"
|
||||||
|
publishDir = "public"
|
||||||
|
|
||||||
|
# Remote
|
||||||
|
#baseURL = "https://caressofsteel.github.io/demos/hugo/hugo-story/"
|
||||||
|
#publishDir = "//centos/sites/hugodev/hugostory/"
|
||||||
|
|
||||||
|
## -----------------------------------------------
|
||||||
|
## Hugo Built-in Features
|
||||||
|
## -----------------------------------------------
|
||||||
|
|
||||||
|
disableKinds = ["taxonomy", "taxonomyTerm", "section"]
|
||||||
|
# googleAnalytics = "G-XXXXXXXXXX"
|
||||||
|
|
||||||
|
## -----------------------------------------------
|
||||||
|
## Site Parameters
|
||||||
|
## -----------------------------------------------
|
||||||
|
|
||||||
|
[Params]
|
||||||
|
description = "A (modular, highly tweakable) responsive one-page theme for Hugo"
|
||||||
|
logo = "images/banner.jpg"
|
||||||
|
favicon = true
|
||||||
|
|
||||||
|
[Params.social]
|
||||||
|
github = "https://github.com/caressofsteel/"
|
||||||
|
twitter = "https://twitter.com/caressofsteel_"
|
||||||
|
email = "caressofsteel@protonmail.com"
|
||||||
|
instagram = "https://instagram.com"
|
||||||
|
linkedin = "https://linkedin.com"
|
||||||
|
telegram = "https://telegram.org"
|
||||||
|
|
||||||
|
[Params.asset]
|
||||||
|
fontawesome_css = ["css/fontawesome-all.min.css"]
|
||||||
|
fontawesome_js = ["js/fontawesome-all.min.js"]
|
49
exampleSite/config/production/config.toml
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
## -----------------------------------------------
|
||||||
|
## Basic Configuration
|
||||||
|
## -----------------------------------------------
|
||||||
|
|
||||||
|
title = "Hugo Story"
|
||||||
|
copyright = "{year}"
|
||||||
|
|
||||||
|
## -----------------------------------------------
|
||||||
|
## Publish
|
||||||
|
## -----------------------------------------------
|
||||||
|
|
||||||
|
relativeURLs = "true"
|
||||||
|
#canonifyURLs = "true"
|
||||||
|
|
||||||
|
# Local
|
||||||
|
baseURL = "/"
|
||||||
|
publishDir = "public"
|
||||||
|
|
||||||
|
# Remote
|
||||||
|
#baseURL = "https://caressofsteel.github.io/demos/hugo/hugo-story/"
|
||||||
|
#publishDir = "//centos/sites/hugodev/hugostory/"
|
||||||
|
|
||||||
|
## -----------------------------------------------
|
||||||
|
## Hugo Built-in Features
|
||||||
|
## -----------------------------------------------
|
||||||
|
|
||||||
|
disableKinds = ["taxonomy", "taxonomyTerm", "section"]
|
||||||
|
# googleAnalytics = "G-XXXXXXXXXX"
|
||||||
|
|
||||||
|
## -----------------------------------------------
|
||||||
|
## Site Parameters
|
||||||
|
## -----------------------------------------------
|
||||||
|
|
||||||
|
[Params]
|
||||||
|
description = "A (modular, highly tweakable) responsive one-page theme for Hugo"
|
||||||
|
logo = "images/banner.jpg"
|
||||||
|
favicon = true
|
||||||
|
|
||||||
|
[Params.social]
|
||||||
|
github = "https://github.com/caressofsteel/"
|
||||||
|
twitter = "https://twitter.com/caressofsteel_"
|
||||||
|
email = "caressofsteel@protonmail.com"
|
||||||
|
instagram = "https://instagram.com"
|
||||||
|
linkedin = "https://linkedin.com"
|
||||||
|
telegram = "https://telegram.org"
|
||||||
|
|
||||||
|
[Params.asset]
|
||||||
|
fontawesome_css = ["css/fontawesome-all.min.css"]
|
||||||
|
fontawesome_js = ["js/fontawesome-all.min.js"]
|
25
exampleSite/layouts/_default/baseof.html
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<!--
|
||||||
|
Hugo Story by CaressOfSteel
|
||||||
|
A (modular, highly tweakable) responsive one-page theme for Hugo.
|
||||||
|
Ported from Story by HTML5UP.
|
||||||
|
This Hugo theme is licensed under the Creative Commons Attribution 3.0 License.
|
||||||
|
-->
|
||||||
|
<html>
|
||||||
|
|
||||||
|
{{ partial "head" . }}
|
||||||
|
|
||||||
|
<body class="is-preload">
|
||||||
|
|
||||||
|
<!-- Wrapper -->
|
||||||
|
<div id="wrapper" class="divided">
|
||||||
|
{{- block "main" . }}{{- end }}
|
||||||
|
<!-- Wrapper -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
|
{{ partial "scripts" . }}
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
13
exampleSite/layouts/index.html
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{{ define "main" }}
|
||||||
|
|
||||||
|
{{ partial "banner" site.Data.banner }}
|
||||||
|
{{ partial "spotlight" site.Data.spotlight1 }}
|
||||||
|
{{ partial "spotlight" site.Data.spotlight2 }}
|
||||||
|
{{ partial "spotlight" site.Data.spotlight3 }}
|
||||||
|
{{ partial "gallery" site.Data.gallery }}
|
||||||
|
{{ partial "items" site.Data.items }}
|
||||||
|
{{ partial "elements" . }}
|
||||||
|
{{ partial "elements_reference" . }}
|
||||||
|
{{ partial "footer" . }}
|
||||||
|
|
||||||
|
{{ end }}
|
14
exampleSite/layouts/partials/banner.html
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<!-- Banner -->
|
||||||
|
<section class="banner {{ .style }}">
|
||||||
|
<div class="content">
|
||||||
|
{{ with .title }}<h1>{{ . }}</h1>{{ end }}
|
||||||
|
{{ with .subtitle }}<p class="major">{{ . | safeHTML }}</p>{{ end }}
|
||||||
|
{{ with .content }}<p>{{ . | safeHTML }}</p>{{ end }}
|
||||||
|
{{ with .button }}<ul class="actions stacked">
|
||||||
|
<li><a href="{{ .link }}" class="button primary large wide smooth-scroll-middle">{{ .label }}</a></li>
|
||||||
|
</ul>{{ end }}
|
||||||
|
</div>
|
||||||
|
{{ with .image }}<div class="image">
|
||||||
|
<img src="{{.}}" alt="Hugo Story" />
|
||||||
|
</div>{{end}}
|
||||||
|
</section>
|
472
exampleSite/layouts/partials/elements.html
Normal file
@ -0,0 +1,472 @@
|
|||||||
|
<!-- Additional Elements -->
|
||||||
|
<section class="wrapper style1 align-center">
|
||||||
|
<div class="inner">
|
||||||
|
<h2>Additional Elements</h2>
|
||||||
|
<p>Finally, here are some additional elements you <em>might</em> find useful (and yup, they look fine with any <span class="demo-controls">appearance</span>).</p>
|
||||||
|
<div class="index align-left">
|
||||||
|
|
||||||
|
<!-- Text -->
|
||||||
|
<section>
|
||||||
|
<header>
|
||||||
|
<h3>Text</h3>
|
||||||
|
</header>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
|
<p>This is <b>bold</b> and this is <strong>strong</strong>. This is <i>italic</i> and this is <em>emphasized</em>.
|
||||||
|
This is <sup>superscript</sup> text and this is <sub>subscript</sub> text.
|
||||||
|
This is <u>underlined</u> and this is code: <code>for (;;) { ... }</code>.
|
||||||
|
Finally, this is a <a href="#">link</a>.</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Heading -->
|
||||||
|
<section>
|
||||||
|
<header>
|
||||||
|
<h3>Headings</h3>
|
||||||
|
</header>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
|
<h1>Heading Level 1</h1>
|
||||||
|
<h2>Heading Level 2</h2>
|
||||||
|
<h3>Heading Level 3</h3>
|
||||||
|
<h4>Heading Level 4</h4>
|
||||||
|
<h5>Heading Level 5</h5>
|
||||||
|
<h6>Heading Level 6</h6>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<h1>Heading with a Subtitle</h1>
|
||||||
|
<p>Lorem ipsum dolor sit amet nullam id egestas urna aliquam</p>
|
||||||
|
</header>
|
||||||
|
<p>Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit tempus accumsan.</p>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<h2>Heading with a Subtitle</h2>
|
||||||
|
<p>Lorem ipsum dolor sit amet nullam id egestas urna aliquam</p>
|
||||||
|
</header>
|
||||||
|
<p>Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit tempus accumsan.</p>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<h3>Heading with a Subtitle</h3>
|
||||||
|
<p>Lorem ipsum dolor sit amet nullam id egestas urna aliquam</p>
|
||||||
|
</header>
|
||||||
|
<p>Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit tempus accumsan.</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Unordered List -->
|
||||||
|
<section>
|
||||||
|
<header>
|
||||||
|
<h3>Unordered List</h3>
|
||||||
|
</header>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
|
<h4>Default</h4>
|
||||||
|
<ul>
|
||||||
|
<li>Lorem ipsum dolor sit amet</li>
|
||||||
|
<li>Interdum adipiscing gravida odio</li>
|
||||||
|
<li>Porttitor sem non integer</li>
|
||||||
|
<li>Non faucibus ornare mi ut ante</li>
|
||||||
|
<li>Sagittis adipiscing eleifend</li>
|
||||||
|
<li>Felis amet dolore viverra</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h4>Alternate</h4>
|
||||||
|
<ul class="alt">
|
||||||
|
<li>Lorem ipsum dolor sit amet</li>
|
||||||
|
<li>Interdum adipiscing gravida odio</li>
|
||||||
|
<li>Porttitor sem non integer</li>
|
||||||
|
<li>Non faucibus ornare mi ut ante</li>
|
||||||
|
<li>Sagittis adipiscing eleifend</li>
|
||||||
|
<li>Felis amet dolore viverra</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Ordered List -->
|
||||||
|
<section>
|
||||||
|
<header>
|
||||||
|
<h3>Ordered List</h3>
|
||||||
|
</header>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>Lorem ipsum dolor sit amet</li>
|
||||||
|
<li>Interdum adipiscing gravida odio</li>
|
||||||
|
<li>Porttitor sem non integer</li>
|
||||||
|
<li>Non faucibus ornare mi ut ante</li>
|
||||||
|
<li>Sagittis adipiscing eleifend</li>
|
||||||
|
<li>Felis amet dolore viverra</li>
|
||||||
|
</ol>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Definition List -->
|
||||||
|
<section>
|
||||||
|
<header>
|
||||||
|
<h3>Definition List</h3>
|
||||||
|
</header>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt>Interdum adipiscing odio</dt>
|
||||||
|
<dd>
|
||||||
|
<p>Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent fringilla quis tincidunt felis sagittis eget tempus euismod. Ante ipsum primis vestibulum.</p>
|
||||||
|
</dd>
|
||||||
|
<dt>Non faucibus ornare mi ut ante</dt>
|
||||||
|
<dd>
|
||||||
|
<p>Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent fringilla quis tincidunt felis sagittis eget tempus euismod. Ante ipsum primis vestibulum.</p>
|
||||||
|
</dd>
|
||||||
|
<dt>Felis amet dolore viverra</dt>
|
||||||
|
<dd>
|
||||||
|
<p>Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent fringilla quis tincidunt felis sagittis eget tempus euismod. Ante ipsum primis vestibulum.</p>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Blockquote -->
|
||||||
|
<section>
|
||||||
|
<header>
|
||||||
|
<h3>Blockquote</h3>
|
||||||
|
</header>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
|
<blockquote>Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent fringilla quis tincidunt felis sagittis eget tempus euismod. Ante ipsum primis vestibulum.</blockquote>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Code -->
|
||||||
|
<section>
|
||||||
|
<header>
|
||||||
|
<h3>Code</h3>
|
||||||
|
</header>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
|
<pre><code>i = 0;
|
||||||
|
|
||||||
|
while (!deck.isInOrder()) {
|
||||||
|
print 'Iteration ' + i;
|
||||||
|
deck.shuffle();
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
|
||||||
|
print 'It took ' + i + ' iterations to sort the deck.';
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Icons -->
|
||||||
|
<section>
|
||||||
|
<header>
|
||||||
|
<h3>Icons</h3>
|
||||||
|
</header>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
|
<h4>Style #1</h4>
|
||||||
|
<ul class="icons">
|
||||||
|
<li><a href="#" class="icon brands style1 fa-twitter"><span class="label">Twitter</span></a></li>
|
||||||
|
<li><a href="#" class="icon brands style1 fa-facebook-f"><span class="label">Facebook</span></a></li>
|
||||||
|
<li><a href="#" class="icon brands style1 fa-instagram"><span class="label">Instagram</span></a></li>
|
||||||
|
<li><a href="#" class="icon brands style1 fa-github"><span class="label">Github</span></a></li>
|
||||||
|
<li><a href="#" class="icon brands style1 fa-dribbble"><span class="label">Dribbble</span></a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h4>Style #2</h4>
|
||||||
|
<ul class="icons">
|
||||||
|
<li><a href="#" class="icon brands style2 fa-twitter"><span class="label">Twitter</span></a></li>
|
||||||
|
<li><a href="#" class="icon brands style2 fa-facebook-f"><span class="label">Facebook</span></a></li>
|
||||||
|
<li><a href="#" class="icon brands style2 fa-instagram"><span class="label">Instagram</span></a></li>
|
||||||
|
<li><a href="#" class="icon brands style2 fa-github"><span class="label">Github</span></a></li>
|
||||||
|
<li><a href="#" class="icon brands style2 fa-dribbble"><span class="label">Dribbble</span></a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Buttons -->
|
||||||
|
<section>
|
||||||
|
<header>
|
||||||
|
<h3>Buttons</h3>
|
||||||
|
</header>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
|
<ul class="actions">
|
||||||
|
<li><a href="#" class="button primary">Primary</a></li>
|
||||||
|
<li><a href="#" class="button">Default</a></li>
|
||||||
|
</ul>
|
||||||
|
<ul class="actions">
|
||||||
|
<li><a href="#" class="button primary large">Large</a></li>
|
||||||
|
<li><a href="#" class="button">Default</a></li>
|
||||||
|
<li><a href="#" class="button small">Small</a></li>
|
||||||
|
</ul>
|
||||||
|
<ul class="actions fit">
|
||||||
|
<li><a href="#" class="button primary fit">Fit</a></li>
|
||||||
|
<li><a href="#" class="button fit">Fit</a></li>
|
||||||
|
<li><a href="#" class="button primary fit">Fit</a></li>
|
||||||
|
<li><a href="#" class="button fit">Fit</a></li>
|
||||||
|
</ul>
|
||||||
|
<ul class="actions fit small">
|
||||||
|
<li><a href="#" class="button primary fit small">Fit + Small</a></li>
|
||||||
|
<li><a href="#" class="button fit small">Fit + Small</a></li>
|
||||||
|
<li><a href="#" class="button primary fit small">Fit + Small</a></li>
|
||||||
|
<li><a href="#" class="button fit small">Fit + Small</a></li>
|
||||||
|
</ul>
|
||||||
|
<ul class="actions">
|
||||||
|
<li><a href="#" class="button primary icon solid fa-search">Icon</a></li>
|
||||||
|
<li><a href="#" class="button icon solid fa-download">Icon</a></li>
|
||||||
|
</ul>
|
||||||
|
<ul class="actions">
|
||||||
|
<li><span class="button primary disabled">Primary</span></li>
|
||||||
|
<li><span class="button disabled">Default</span></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Actions -->
|
||||||
|
<section>
|
||||||
|
<header>
|
||||||
|
<h3>Actions</h3>
|
||||||
|
</header>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
|
<h4>Default</h4>
|
||||||
|
<ul class="actions">
|
||||||
|
<li><a href="#" class="button primary">Default</a></li>
|
||||||
|
<li><a href="#" class="button">Default</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h4>Small</h4>
|
||||||
|
<ul class="actions small">
|
||||||
|
<li><a href="#" class="button primary small">Small</a></li>
|
||||||
|
<li><a href="#" class="button small">Small</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h4>Stacked</h4>
|
||||||
|
<ul class="actions stacked">
|
||||||
|
<li><a href="#" class="button primary">Default</a></li>
|
||||||
|
<li><a href="#" class="button">Default</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h4>Stacked + Fit</h4>
|
||||||
|
<ul class="actions stacked">
|
||||||
|
<li><a href="#" class="button primary fit">Default</a></li>
|
||||||
|
<li><a href="#" class="button fit">Default</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Form -->
|
||||||
|
<section>
|
||||||
|
<header>
|
||||||
|
<h3>Form</h3>
|
||||||
|
</header>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
|
<form method="post" action="#">
|
||||||
|
<div class="fields">
|
||||||
|
<div class="field half">
|
||||||
|
<label for="name">Name</label>
|
||||||
|
<input type="text" name="name" id="name" value="" />
|
||||||
|
</div>
|
||||||
|
<div class="field half">
|
||||||
|
<label for="email">Email</label>
|
||||||
|
<input type="email" name="email" id="email" value="" />
|
||||||
|
</div>
|
||||||
|
<div class="field">
|
||||||
|
<label for="department">Department</label>
|
||||||
|
<select name="department" id="department">
|
||||||
|
<option value="">- Category -</option>
|
||||||
|
<option value="1">Manufacturing</option>
|
||||||
|
<option value="2">Shipping</option>
|
||||||
|
<option value="3">Administration</option>
|
||||||
|
<option value="4">Human Resources</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div class="field third">
|
||||||
|
<input type="radio" id="priority-low" name="priority" checked />
|
||||||
|
<label for="priority-low">Low Priority</label>
|
||||||
|
</div>
|
||||||
|
<div class="field third">
|
||||||
|
<input type="radio" id="priority-normal" name="priority" />
|
||||||
|
<label for="priority-normal">Normal Priority</label>
|
||||||
|
</div>
|
||||||
|
<div class="field third">
|
||||||
|
<input type="radio" id="priority-high" name="priority" />
|
||||||
|
<label for="priority-high">High Priority</label>
|
||||||
|
</div>
|
||||||
|
<div class="field">
|
||||||
|
<label for="message">Message</label>
|
||||||
|
<textarea name="message" id="message" rows="6"></textarea>
|
||||||
|
</div>
|
||||||
|
<div class="field half">
|
||||||
|
<input type="checkbox" id="copy" name="copy" />
|
||||||
|
<label for="copy">Email me a copy of this message</label>
|
||||||
|
</div>
|
||||||
|
<div class="field half">
|
||||||
|
<input type="checkbox" id="human" name="human" checked />
|
||||||
|
<label for="human">I am a human and not a robot</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<ul class="actions">
|
||||||
|
<li><input type="submit" name="submit" id="submit" value="Send Message" /></li>
|
||||||
|
</ul>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Table -->
|
||||||
|
<section>
|
||||||
|
<header>
|
||||||
|
<h3>Table</h3>
|
||||||
|
</header>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
|
<h4>Default</h4>
|
||||||
|
<div class="table-wrapper">
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th>Price</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>Item 1</td>
|
||||||
|
<td>Ante turpis integer aliquet porttitor.</td>
|
||||||
|
<td>29.99</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Item 2</td>
|
||||||
|
<td>Vis ac commodo adipiscing arcu aliquet.</td>
|
||||||
|
<td>19.99</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Item 3</td>
|
||||||
|
<td> Morbi faucibus arcu accumsan lorem.</td>
|
||||||
|
<td>29.99</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Item 4</td>
|
||||||
|
<td>Vitae integer tempus condimentum.</td>
|
||||||
|
<td>19.99</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Item 5</td>
|
||||||
|
<td>Ante turpis integer aliquet porttitor.</td>
|
||||||
|
<td>29.99</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2"></td>
|
||||||
|
<td>100.00</td>
|
||||||
|
</tr>
|
||||||
|
</tfoot>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h4>Alternate</h4>
|
||||||
|
<div class="table-wrapper">
|
||||||
|
<table class="alt">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th>Price</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>Item 1</td>
|
||||||
|
<td>Ante turpis integer aliquet porttitor.</td>
|
||||||
|
<td>29.99</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Item 2</td>
|
||||||
|
<td>Vis ac commodo adipiscing arcu aliquet.</td>
|
||||||
|
<td>19.99</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Item 3</td>
|
||||||
|
<td> Morbi faucibus arcu accumsan lorem.</td>
|
||||||
|
<td>29.99</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Item 4</td>
|
||||||
|
<td>Vitae integer tempus condimentum.</td>
|
||||||
|
<td>19.99</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Item 5</td>
|
||||||
|
<td>Ante turpis integer aliquet porttitor.</td>
|
||||||
|
<td>29.99</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2"></td>
|
||||||
|
<td>100.00</td>
|
||||||
|
</tr>
|
||||||
|
</tfoot>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Images -->
|
||||||
|
<section>
|
||||||
|
<header>
|
||||||
|
<h3>Images</h3>
|
||||||
|
</header>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
|
<h4>Fit</h4>
|
||||||
|
<span class="image fit"><img src="images/banner.jpg" alt="" /></span>
|
||||||
|
|
||||||
|
<h4>Left</h4>
|
||||||
|
<p><span class="image left"><img src="images/pic01.jpg" alt="" /></span>Lorem ipsum dolor sit accumsan interdum nisi, quis tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Vestibulum ante ipsum primis in faucibus magna blandit adipiscing eu felis iaculis volutpat lorem ipsum dolor sit amet dolor consequat.</p>
|
||||||
|
|
||||||
|
<h4>Right</h4>
|
||||||
|
<p><span class="image right"><img src="images/pic02.jpg" alt="" /></span>Lorem ipsum dolor sit accumsan interdum nisi, quis tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Vestibulum ante ipsum primis in faucibus magna blandit adipiscing eu felis iaculis volutpat lorem ipsum dolor sit amet dolor consequat.</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Box -->
|
||||||
|
<section>
|
||||||
|
<header>
|
||||||
|
<h3>Box</h3>
|
||||||
|
</header>
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
|
<div class="box">
|
||||||
|
<p>Felis sagittis eget tempus primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Magna sed etiam ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus lorem ipsum dolor sit amet nullam.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
@ -1,800 +1,11 @@
|
|||||||
<!DOCTYPE HTML>
|
<!-- Modifiers -->
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta name="generator" content="Hugo 0.73.0" />
|
|
||||||
<title>Hugo Story</title>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<meta name="msapplication-TileColor" content="#da532c">
|
|
||||||
<meta name="theme-color" content="#ffffff">
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png">
|
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png">
|
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png">
|
|
||||||
<link rel="manifest" href="./site.webmanifest">
|
|
||||||
<link rel="mask-icon" href="./safari-pinned-tab.svg" color="#5bbad5">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="./assets/css/main.min.css">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<noscript><link rel="stylesheet" href="./assets/css/noscript.min.css" /></noscript>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
|
|
||||||
<body class="is-preload">
|
|
||||||
|
|
||||||
|
|
||||||
<div id="wrapper" class="divided">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<section class="banner style1 orient-left content-align-left image-position-right fullscreen onload-image-fade-in onload-content-fade-right">
|
|
||||||
<div class="content">
|
|
||||||
<h1>Hugo Story</h1>
|
|
||||||
|
|
||||||
<p>This is a <strong>Banner</strong> element, and it's generally used as an introduction or opening statement. You can customize its <span class="demo-controls">appearance with a number of modifiers</span>, as well as assign it an optional <code>onload</code> or <code>onscroll</code> transition modifier (<a href="#reference-banner">details</a>).</p>
|
|
||||||
<ul class="actions stacked">
|
|
||||||
<li><a href="#first" class="button large wide smooth-scroll-middle">Get Started</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="image">
|
|
||||||
<img src="images/banner.jpg" alt="Hugo Story" />
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="spotlight style1 orient-right content-align-left image-position-center onscroll-image-fade-in" id="first">
|
|
||||||
<div class="content">
|
|
||||||
<h2>Spotlight</h2>
|
|
||||||
<p>This is a <strong>Spotlight</strong> element, and it's generally used – as its name implies – to spotlight a particular feature, subject, or pretty much whatever. You can customize its <span class="demo-controls">appearance with a number of modifiers</span>, as well as assign it an optional <code>onload</code> or <code>onscroll</code> transition modifier (<a href="#reference-spotlight">details</a>).</p>
|
|
||||||
<ul class="actions stacked">
|
|
||||||
<li><a href="#" class="button">Learn More</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="image">
|
|
||||||
<img src="images/spotlight01.jpg" alt="" />
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="spotlight style1 orient-left content-align-left image-position-center onscroll-image-fade-in">
|
|
||||||
<div class="content">
|
|
||||||
<h2>Spotlight</h2>
|
|
||||||
<p>This is also a <strong>Spotlight</strong> element, and it's here because this demo would look a bit empty with just one spotlight. Like all spotlights, you can customize its <span class="demo-controls">appearance with a number of modifiers</span>, as well as assign it an optional <code>onload</code> or <code>onscroll</code> transition modifier (<a href="#reference-spotlight">details</a>).</p>
|
|
||||||
<ul class="actions stacked">
|
|
||||||
<li><a href="#" class="button">Learn More</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="image">
|
|
||||||
<img src="images/spotlight02.jpg" alt="" />
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="spotlight style1 orient-right content-align-left image-position-center onscroll-image-fade-in">
|
|
||||||
<div class="content">
|
|
||||||
<h2>Spotlight</h2>
|
|
||||||
<p>And yes, this is another <strong>Spotlight</strong> element, and it's also here because I need to fill a bit of space. Naturally, like any other spotlight, you can customize its <span class="demo-controls">appearance with a number of modifiers</span>, as well as assign it an optional <code>onload</code> or <code>onscroll</code> transition modifier (<a href="#reference-spotlight">details</a>).</p>
|
|
||||||
<ul class="actions stacked">
|
|
||||||
<li><a href="#" class="button">Learn More</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="image">
|
|
||||||
<img src="images/spotlight03.jpg" alt="" />
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="wrapper style1 align-center">
|
|
||||||
<div class="inner">
|
|
||||||
<h2>Gallery</h2>
|
|
||||||
<p>This is a <strong>Gallery</strong> element. It can behave as a lightbox (when given the <code>lightbox</code> class), and you can customize its <span class="demo-controls">appearance with a number of modifiers</span>, as well as assign it an optional <code>onload</code> or <code>onscroll</code> transition modifier (<a href="#reference-gallery">details</a>).</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="gallery style2 medium lightbox onscroll-fade-in">
|
|
||||||
<article>
|
|
||||||
<a href="images/gallery/fulls/01.jpg" class="image">
|
|
||||||
<img src="images/gallery/thumbs/01.jpg" alt="" />
|
|
||||||
</a>
|
|
||||||
<div class="caption">
|
|
||||||
<h3>Title</h3>
|
|
||||||
<p>Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices.</p>
|
|
||||||
<ul class="actions fixed">
|
|
||||||
<li><span class="button small">Details</span></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
<article>
|
|
||||||
<a href="images/gallery/fulls/02.jpg" class="image">
|
|
||||||
<img src="images/gallery/thumbs/02.jpg" alt="" />
|
|
||||||
</a>
|
|
||||||
<div class="caption">
|
|
||||||
<h3>Title</h3>
|
|
||||||
<p>Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices.</p>
|
|
||||||
<ul class="actions fixed">
|
|
||||||
<li><span class="button small">Details</span></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
<article>
|
|
||||||
<a href="images/gallery/fulls/03.jpg" class="image">
|
|
||||||
<img src="images/gallery/thumbs/03.jpg" alt="" />
|
|
||||||
</a>
|
|
||||||
<div class="caption">
|
|
||||||
<h3>Title</h3>
|
|
||||||
<p>Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices.</p>
|
|
||||||
<ul class="actions fixed">
|
|
||||||
<li><span class="button small">Details</span></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
<article>
|
|
||||||
<a href="images/gallery/fulls/04.jpg" class="image">
|
|
||||||
<img src="images/gallery/thumbs/04.jpg" alt="" />
|
|
||||||
</a>
|
|
||||||
<div class="caption">
|
|
||||||
<h3>Title</h3>
|
|
||||||
<p>Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices.</p>
|
|
||||||
<ul class="actions fixed">
|
|
||||||
<li><span class="button small">Details</span></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
<article>
|
|
||||||
<a href="images/gallery/fulls/05.jpg" class="image">
|
|
||||||
<img src="images/gallery/thumbs/05.jpg" alt="" />
|
|
||||||
</a>
|
|
||||||
<div class="caption">
|
|
||||||
<h3>Title</h3>
|
|
||||||
<p>Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices.</p>
|
|
||||||
<ul class="actions fixed">
|
|
||||||
<li><span class="button small">Details</span></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
<article>
|
|
||||||
<a href="images/gallery/fulls/06.jpg" class="image">
|
|
||||||
<img src="images/gallery/thumbs/06.jpg" alt="" />
|
|
||||||
</a>
|
|
||||||
<div class="caption">
|
|
||||||
<h3>Title</h3>
|
|
||||||
<p>Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices.</p>
|
|
||||||
<ul class="actions fixed">
|
|
||||||
<li><span class="button small">Details</span></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
<article>
|
|
||||||
<a href="images/gallery/fulls/07.jpg" class="image">
|
|
||||||
<img src="images/gallery/thumbs/07.jpg" alt="" />
|
|
||||||
</a>
|
|
||||||
<div class="caption">
|
|
||||||
<h3>Title</h3>
|
|
||||||
<p>Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices.</p>
|
|
||||||
<ul class="actions fixed">
|
|
||||||
<li><span class="button small">Details</span></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
<article>
|
|
||||||
<a href="images/gallery/fulls/08.jpg" class="image">
|
|
||||||
<img src="images/gallery/thumbs/08.jpg" alt="" />
|
|
||||||
</a>
|
|
||||||
<div class="caption">
|
|
||||||
<h3>Title</h3>
|
|
||||||
<p>Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices.</p>
|
|
||||||
<ul class="actions fixed">
|
|
||||||
<li><span class="button small">Details</span></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
<article>
|
|
||||||
<a href="images/gallery/fulls/09.jpg" class="image">
|
|
||||||
<img src="images/gallery/thumbs/09.jpg" alt="" />
|
|
||||||
</a>
|
|
||||||
<div class="caption">
|
|
||||||
<h3>Title</h3>
|
|
||||||
<p>Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices.</p>
|
|
||||||
<ul class="actions fixed">
|
|
||||||
<li><span class="button small">Details</span></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
<article>
|
|
||||||
<a href="images/gallery/fulls/10.jpg" class="image">
|
|
||||||
<img src="images/gallery/thumbs/10.jpg" alt="" />
|
|
||||||
</a>
|
|
||||||
<div class="caption">
|
|
||||||
<h3>Title</h3>
|
|
||||||
<p>Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices.</p>
|
|
||||||
<ul class="actions fixed">
|
|
||||||
<li><span class="button small">Details</span></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
<article>
|
|
||||||
<a href="images/gallery/fulls/11.jpg" class="image">
|
|
||||||
<img src="images/gallery/thumbs/11.jpg" alt="" />
|
|
||||||
</a>
|
|
||||||
<div class="caption">
|
|
||||||
<h3>Title</h3>
|
|
||||||
<p>Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices.</p>
|
|
||||||
<ul class="actions fixed">
|
|
||||||
<li><span class="button small">Details</span></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
<article>
|
|
||||||
<a href="images/gallery/fulls/12.jpg" class="image">
|
|
||||||
<img src="images/gallery/thumbs/12.jpg" alt="" />
|
|
||||||
</a>
|
|
||||||
<div class="caption">
|
|
||||||
<h3>Title</h3>
|
|
||||||
<p>Lorem ipsum dolor amet, consectetur magna etiam elit. Etiam sed ultrices.</p>
|
|
||||||
<ul class="actions fixed">
|
|
||||||
<li><span class="button small">Details</span></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="wrapper style1 align-center">
|
|
||||||
<div class="inner">
|
|
||||||
<h2>Items</h2>
|
|
||||||
<p>This is an <strong>Items</strong> element, and it's basically just a grid for organizing items of various types. You can customize its <span class="demo-controls">appearance with a number of modifiers</span>, as well as assign it an optional <code>onload</code> or <code>onscroll</code> transition modifier (<a href="#reference-items">details</a>).</p>
|
|
||||||
<div class="items style1 medium onscroll-fade-in">
|
|
||||||
<section>
|
|
||||||
<span class="icon style2 major fa-gem"></span>
|
|
||||||
<h3>One</h3>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.</p>
|
|
||||||
</section>
|
|
||||||
<section>
|
|
||||||
<span class="icon solid style2 major fa-save"></span>
|
|
||||||
<h3>Two</h3>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.</p>
|
|
||||||
</section>
|
|
||||||
<section>
|
|
||||||
<span class="icon solid style2 major fa-chart-bar"></span>
|
|
||||||
<h3>Three</h3>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.</p>
|
|
||||||
</section>
|
|
||||||
<section>
|
|
||||||
<span class="icon solid style2 major fa-wifi"></span>
|
|
||||||
<h3>Four</h3>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.</p>
|
|
||||||
</section>
|
|
||||||
<section>
|
|
||||||
<span class="icon solid style2 major fa-cog"></span>
|
|
||||||
<h3>Five</h3>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.</p>
|
|
||||||
</section>
|
|
||||||
<section>
|
|
||||||
<span class="icon style2 major fa-paper-plane"></span>
|
|
||||||
<h3>Six</h3>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.</p>
|
|
||||||
</section>
|
|
||||||
<section>
|
|
||||||
<span class="icon solid style2 major fa-desktop"></span>
|
|
||||||
<h3>Seven</h3>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.</p>
|
|
||||||
</section>
|
|
||||||
<section>
|
|
||||||
<span class="icon solid style2 major fa-sync-alt"></span>
|
|
||||||
<h3>Eight</h3>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.</p>
|
|
||||||
</section>
|
|
||||||
<section>
|
|
||||||
<span class="icon solid style2 major fa-hashtag"></span>
|
|
||||||
<h3>Nine</h3>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.</p>
|
|
||||||
</section>
|
|
||||||
<section>
|
|
||||||
<span class="icon solid style2 major fa-bolt"></span>
|
|
||||||
<h3>Ten</h3>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.</p>
|
|
||||||
</section>
|
|
||||||
<section>
|
|
||||||
<span class="icon style2 major fa-envelope"></span>
|
|
||||||
<h3>Eleven</h3>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.</p>
|
|
||||||
</section>
|
|
||||||
<section>
|
|
||||||
<span class="icon solid style2 major fa-leaf"></span>
|
|
||||||
<h3>Twelve</h3>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dui turpis, cursus eget orci amet aliquam congue semper. Etiam eget ultrices risus nec tempor elit.</p>
|
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="wrapper style1 align-center">
|
|
||||||
<div class="inner">
|
|
||||||
<h2>Additional Elements</h2>
|
|
||||||
<p>Finally, here are some additional elements you <em>might</em> find useful (and yup, they look fine with any <span class="demo-controls">appearance</span>).</p>
|
|
||||||
<div class="index align-left">
|
|
||||||
|
|
||||||
|
|
||||||
<section>
|
|
||||||
<header>
|
|
||||||
<h3>Text</h3>
|
|
||||||
</header>
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
<p>This is <b>bold</b> and this is <strong>strong</strong>. This is <i>italic</i> and this is <em>emphasized</em>.
|
|
||||||
This is <sup>superscript</sup> text and this is <sub>subscript</sub> text.
|
|
||||||
This is <u>underlined</u> and this is code: <code>for (;;) { ... }</code>.
|
|
||||||
Finally, this is a <a href="#">link</a>.</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
|
||||||
<section>
|
|
||||||
<header>
|
|
||||||
<h3>Headings</h3>
|
|
||||||
</header>
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
<h1>Heading Level 1</h1>
|
|
||||||
<h2>Heading Level 2</h2>
|
|
||||||
<h3>Heading Level 3</h3>
|
|
||||||
<h4>Heading Level 4</h4>
|
|
||||||
<h5>Heading Level 5</h5>
|
|
||||||
<h6>Heading Level 6</h6>
|
|
||||||
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
<header>
|
|
||||||
<h1>Heading with a Subtitle</h1>
|
|
||||||
<p>Lorem ipsum dolor sit amet nullam id egestas urna aliquam</p>
|
|
||||||
</header>
|
|
||||||
<p>Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit tempus accumsan.</p>
|
|
||||||
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
<header>
|
|
||||||
<h2>Heading with a Subtitle</h2>
|
|
||||||
<p>Lorem ipsum dolor sit amet nullam id egestas urna aliquam</p>
|
|
||||||
</header>
|
|
||||||
<p>Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit tempus accumsan.</p>
|
|
||||||
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
<header>
|
|
||||||
<h3>Heading with a Subtitle</h3>
|
|
||||||
<p>Lorem ipsum dolor sit amet nullam id egestas urna aliquam</p>
|
|
||||||
</header>
|
|
||||||
<p>Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit tempus accumsan.</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
|
||||||
<section>
|
|
||||||
<header>
|
|
||||||
<h3>Unordered List</h3>
|
|
||||||
</header>
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
<h4>Default</h4>
|
|
||||||
<ul>
|
|
||||||
<li>Lorem ipsum dolor sit amet</li>
|
|
||||||
<li>Interdum adipiscing gravida odio</li>
|
|
||||||
<li>Porttitor sem non integer</li>
|
|
||||||
<li>Non faucibus ornare mi ut ante</li>
|
|
||||||
<li>Sagittis adipiscing eleifend</li>
|
|
||||||
<li>Felis amet dolore viverra</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h4>Alternate</h4>
|
|
||||||
<ul class="alt">
|
|
||||||
<li>Lorem ipsum dolor sit amet</li>
|
|
||||||
<li>Interdum adipiscing gravida odio</li>
|
|
||||||
<li>Porttitor sem non integer</li>
|
|
||||||
<li>Non faucibus ornare mi ut ante</li>
|
|
||||||
<li>Sagittis adipiscing eleifend</li>
|
|
||||||
<li>Felis amet dolore viverra</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
|
||||||
<section>
|
|
||||||
<header>
|
|
||||||
<h3>Ordered List</h3>
|
|
||||||
</header>
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
<ol>
|
|
||||||
<li>Lorem ipsum dolor sit amet</li>
|
|
||||||
<li>Interdum adipiscing gravida odio</li>
|
|
||||||
<li>Porttitor sem non integer</li>
|
|
||||||
<li>Non faucibus ornare mi ut ante</li>
|
|
||||||
<li>Sagittis adipiscing eleifend</li>
|
|
||||||
<li>Felis amet dolore viverra</li>
|
|
||||||
</ol>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
|
||||||
<section>
|
|
||||||
<header>
|
|
||||||
<h3>Definition List</h3>
|
|
||||||
</header>
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>Interdum adipiscing odio</dt>
|
|
||||||
<dd>
|
|
||||||
<p>Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent fringilla quis tincidunt felis sagittis eget tempus euismod. Ante ipsum primis vestibulum.</p>
|
|
||||||
</dd>
|
|
||||||
<dt>Non faucibus ornare mi ut ante</dt>
|
|
||||||
<dd>
|
|
||||||
<p>Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent fringilla quis tincidunt felis sagittis eget tempus euismod. Ante ipsum primis vestibulum.</p>
|
|
||||||
</dd>
|
|
||||||
<dt>Felis amet dolore viverra</dt>
|
|
||||||
<dd>
|
|
||||||
<p>Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent fringilla quis tincidunt felis sagittis eget tempus euismod. Ante ipsum primis vestibulum.</p>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
|
||||||
<section>
|
|
||||||
<header>
|
|
||||||
<h3>Blockquote</h3>
|
|
||||||
</header>
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
<blockquote>Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent fringilla quis tincidunt felis sagittis eget tempus euismod. Ante ipsum primis vestibulum.</blockquote>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
|
||||||
<section>
|
|
||||||
<header>
|
|
||||||
<h3>Code</h3>
|
|
||||||
</header>
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
<pre><code>i = 0;
|
|
||||||
|
|
||||||
while (!deck.isInOrder()) {
|
|
||||||
print 'Iteration ' + i;
|
|
||||||
deck.shuffle();
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
|
|
||||||
print 'It took ' + i + ' iterations to sort the deck.';
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
|
||||||
<section>
|
|
||||||
<header>
|
|
||||||
<h3>Icons</h3>
|
|
||||||
</header>
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
<h4>Style #1</h4>
|
|
||||||
<ul class="icons">
|
|
||||||
<li><a href="#" class="icon brands style1 fa-twitter"><span class="label">Twitter</span></a></li>
|
|
||||||
<li><a href="#" class="icon brands style1 fa-facebook-f"><span class="label">Facebook</span></a></li>
|
|
||||||
<li><a href="#" class="icon brands style1 fa-instagram"><span class="label">Instagram</span></a></li>
|
|
||||||
<li><a href="#" class="icon brands style1 fa-github"><span class="label">Github</span></a></li>
|
|
||||||
<li><a href="#" class="icon brands style1 fa-dribbble"><span class="label">Dribbble</span></a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h4>Style #2</h4>
|
|
||||||
<ul class="icons">
|
|
||||||
<li><a href="#" class="icon brands style2 fa-twitter"><span class="label">Twitter</span></a></li>
|
|
||||||
<li><a href="#" class="icon brands style2 fa-facebook-f"><span class="label">Facebook</span></a></li>
|
|
||||||
<li><a href="#" class="icon brands style2 fa-instagram"><span class="label">Instagram</span></a></li>
|
|
||||||
<li><a href="#" class="icon brands style2 fa-github"><span class="label">Github</span></a></li>
|
|
||||||
<li><a href="#" class="icon brands style2 fa-dribbble"><span class="label">Dribbble</span></a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
|
||||||
<section>
|
|
||||||
<header>
|
|
||||||
<h3>Buttons</h3>
|
|
||||||
</header>
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
<ul class="actions">
|
|
||||||
<li><a href="#" class="button primary">Primary</a></li>
|
|
||||||
<li><a href="#" class="button">Default</a></li>
|
|
||||||
</ul>
|
|
||||||
<ul class="actions">
|
|
||||||
<li><a href="#" class="button primary large">Large</a></li>
|
|
||||||
<li><a href="#" class="button">Default</a></li>
|
|
||||||
<li><a href="#" class="button small">Small</a></li>
|
|
||||||
</ul>
|
|
||||||
<ul class="actions fit">
|
|
||||||
<li><a href="#" class="button primary fit">Fit</a></li>
|
|
||||||
<li><a href="#" class="button fit">Fit</a></li>
|
|
||||||
<li><a href="#" class="button primary fit">Fit</a></li>
|
|
||||||
<li><a href="#" class="button fit">Fit</a></li>
|
|
||||||
</ul>
|
|
||||||
<ul class="actions fit small">
|
|
||||||
<li><a href="#" class="button primary fit small">Fit + Small</a></li>
|
|
||||||
<li><a href="#" class="button fit small">Fit + Small</a></li>
|
|
||||||
<li><a href="#" class="button primary fit small">Fit + Small</a></li>
|
|
||||||
<li><a href="#" class="button fit small">Fit + Small</a></li>
|
|
||||||
</ul>
|
|
||||||
<ul class="actions">
|
|
||||||
<li><a href="#" class="button primary icon solid fa-search">Icon</a></li>
|
|
||||||
<li><a href="#" class="button icon solid fa-download">Icon</a></li>
|
|
||||||
</ul>
|
|
||||||
<ul class="actions">
|
|
||||||
<li><span class="button primary disabled">Primary</span></li>
|
|
||||||
<li><span class="button disabled">Default</span></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
|
||||||
<section>
|
|
||||||
<header>
|
|
||||||
<h3>Actions</h3>
|
|
||||||
</header>
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
<h4>Default</h4>
|
|
||||||
<ul class="actions">
|
|
||||||
<li><a href="#" class="button primary">Default</a></li>
|
|
||||||
<li><a href="#" class="button">Default</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h4>Small</h4>
|
|
||||||
<ul class="actions small">
|
|
||||||
<li><a href="#" class="button primary small">Small</a></li>
|
|
||||||
<li><a href="#" class="button small">Small</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h4>Stacked</h4>
|
|
||||||
<ul class="actions stacked">
|
|
||||||
<li><a href="#" class="button primary">Default</a></li>
|
|
||||||
<li><a href="#" class="button">Default</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h4>Stacked + Fit</h4>
|
|
||||||
<ul class="actions stacked">
|
|
||||||
<li><a href="#" class="button primary fit">Default</a></li>
|
|
||||||
<li><a href="#" class="button fit">Default</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
|
||||||
<section>
|
|
||||||
<header>
|
|
||||||
<h3>Form</h3>
|
|
||||||
</header>
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
<form method="post" action="#">
|
|
||||||
<div class="fields">
|
|
||||||
<div class="field half">
|
|
||||||
<label for="name">Name</label>
|
|
||||||
<input type="text" name="name" id="name" value="" />
|
|
||||||
</div>
|
|
||||||
<div class="field half">
|
|
||||||
<label for="email">Email</label>
|
|
||||||
<input type="email" name="email" id="email" value="" />
|
|
||||||
</div>
|
|
||||||
<div class="field">
|
|
||||||
<label for="department">Department</label>
|
|
||||||
<select name="department" id="department">
|
|
||||||
<option value="">- Category -</option>
|
|
||||||
<option value="1">Manufacturing</option>
|
|
||||||
<option value="2">Shipping</option>
|
|
||||||
<option value="3">Administration</option>
|
|
||||||
<option value="4">Human Resources</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
<div class="field third">
|
|
||||||
<input type="radio" id="priority-low" name="priority" checked />
|
|
||||||
<label for="priority-low">Low Priority</label>
|
|
||||||
</div>
|
|
||||||
<div class="field third">
|
|
||||||
<input type="radio" id="priority-normal" name="priority" />
|
|
||||||
<label for="priority-normal">Normal Priority</label>
|
|
||||||
</div>
|
|
||||||
<div class="field third">
|
|
||||||
<input type="radio" id="priority-high" name="priority" />
|
|
||||||
<label for="priority-high">High Priority</label>
|
|
||||||
</div>
|
|
||||||
<div class="field">
|
|
||||||
<label for="message">Message</label>
|
|
||||||
<textarea name="message" id="message" rows="6"></textarea>
|
|
||||||
</div>
|
|
||||||
<div class="field half">
|
|
||||||
<input type="checkbox" id="copy" name="copy" />
|
|
||||||
<label for="copy">Email me a copy of this message</label>
|
|
||||||
</div>
|
|
||||||
<div class="field half">
|
|
||||||
<input type="checkbox" id="human" name="human" checked />
|
|
||||||
<label for="human">I am a human and not a robot</label>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<ul class="actions">
|
|
||||||
<li><input type="submit" name="submit" id="submit" value="Send Message" /></li>
|
|
||||||
</ul>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
|
||||||
<section>
|
|
||||||
<header>
|
|
||||||
<h3>Table</h3>
|
|
||||||
</header>
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
<h4>Default</h4>
|
|
||||||
<div class="table-wrapper">
|
|
||||||
<table>
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th>Name</th>
|
|
||||||
<th>Description</th>
|
|
||||||
<th>Price</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td>Item 1</td>
|
|
||||||
<td>Ante turpis integer aliquet porttitor.</td>
|
|
||||||
<td>29.99</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Item 2</td>
|
|
||||||
<td>Vis ac commodo adipiscing arcu aliquet.</td>
|
|
||||||
<td>19.99</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Item 3</td>
|
|
||||||
<td> Morbi faucibus arcu accumsan lorem.</td>
|
|
||||||
<td>29.99</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Item 4</td>
|
|
||||||
<td>Vitae integer tempus condimentum.</td>
|
|
||||||
<td>19.99</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Item 5</td>
|
|
||||||
<td>Ante turpis integer aliquet porttitor.</td>
|
|
||||||
<td>29.99</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
<tfoot>
|
|
||||||
<tr>
|
|
||||||
<td colspan="2"></td>
|
|
||||||
<td>100.00</td>
|
|
||||||
</tr>
|
|
||||||
</tfoot>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<h4>Alternate</h4>
|
|
||||||
<div class="table-wrapper">
|
|
||||||
<table class="alt">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th>Name</th>
|
|
||||||
<th>Description</th>
|
|
||||||
<th>Price</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td>Item 1</td>
|
|
||||||
<td>Ante turpis integer aliquet porttitor.</td>
|
|
||||||
<td>29.99</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Item 2</td>
|
|
||||||
<td>Vis ac commodo adipiscing arcu aliquet.</td>
|
|
||||||
<td>19.99</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Item 3</td>
|
|
||||||
<td> Morbi faucibus arcu accumsan lorem.</td>
|
|
||||||
<td>29.99</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Item 4</td>
|
|
||||||
<td>Vitae integer tempus condimentum.</td>
|
|
||||||
<td>19.99</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Item 5</td>
|
|
||||||
<td>Ante turpis integer aliquet porttitor.</td>
|
|
||||||
<td>29.99</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
<tfoot>
|
|
||||||
<tr>
|
|
||||||
<td colspan="2"></td>
|
|
||||||
<td>100.00</td>
|
|
||||||
</tr>
|
|
||||||
</tfoot>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
|
||||||
<section>
|
|
||||||
<header>
|
|
||||||
<h3>Images</h3>
|
|
||||||
</header>
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
<h4>Fit</h4>
|
|
||||||
<span class="image fit"><img src="images/banner.jpg" alt="" /></span>
|
|
||||||
|
|
||||||
<h4>Left</h4>
|
|
||||||
<p><span class="image left"><img src="images/pic01.jpg" alt="" /></span>Lorem ipsum dolor sit accumsan interdum nisi, quis tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Vestibulum ante ipsum primis in faucibus magna blandit adipiscing eu felis iaculis volutpat lorem ipsum dolor sit amet dolor consequat.</p>
|
|
||||||
|
|
||||||
<h4>Right</h4>
|
|
||||||
<p><span class="image right"><img src="images/pic02.jpg" alt="" /></span>Lorem ipsum dolor sit accumsan interdum nisi, quis tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Vestibulum ante ipsum primis in faucibus magna blandit adipiscing eu felis iaculis volutpat lorem ipsum dolor sit amet dolor consequat.</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
|
||||||
<section>
|
|
||||||
<header>
|
|
||||||
<h3>Box</h3>
|
|
||||||
</header>
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
<div class="box">
|
|
||||||
<p>Felis sagittis eget tempus primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Magna sed etiam ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus lorem ipsum dolor sit amet nullam.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
|
||||||
<section class="wrapper style1 align-center" id="reference">
|
<section class="wrapper style1 align-center" id="reference">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<h2>Elements Reference</h2>
|
<h2>Elements Reference</h2>
|
||||||
<p>Oh, and this: a handy reference to all the modifiers supported by various elements.</p>
|
<p>Oh, and this: a handy reference to all the modifiers supported by various elements.</p>
|
||||||
<div class="index align-left">
|
<div class="index align-left">
|
||||||
|
|
||||||
|
<!-- Banner -->
|
||||||
<section id="reference-banner">
|
<section id="reference-banner">
|
||||||
<header>
|
<header>
|
||||||
<h3>Banner</h3>
|
<h3>Banner</h3>
|
||||||
@ -813,7 +24,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<!-- style1 -->
|
||||||
<section>
|
<section>
|
||||||
<h4><code>banner style1</code></h4>
|
<h4><code>banner style1</code></h4>
|
||||||
<p>A 50/50 vertical split between content and an image. Supports these modifiers:</p>
|
<p>A 50/50 vertical split between content and an image. Supports these modifiers:</p>
|
||||||
@ -962,7 +173,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<!-- style2 -->
|
||||||
<section>
|
<section>
|
||||||
<h4><code>banner style2</code></h4>
|
<h4><code>banner style2</code></h4>
|
||||||
<p>Boxed-in content set against an image background, and attached to either side of the screen or centered. Supports these modifiers:</p>
|
<p>Boxed-in content set against an image background, and attached to either side of the screen or centered. Supports these modifiers:</p>
|
||||||
@ -1115,7 +326,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<!-- style3 -->
|
||||||
<section>
|
<section>
|
||||||
<h4><code>banner style3</code></h4>
|
<h4><code>banner style3</code></h4>
|
||||||
<p>An image within a circular frame placed to the side of content. Supports these modifiers:</p>
|
<p>An image within a circular frame placed to the side of content. Supports these modifiers:</p>
|
||||||
@ -1296,7 +507,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<!-- style4 -->
|
||||||
<section>
|
<section>
|
||||||
<h4><code>banner style4</code></h4>
|
<h4><code>banner style4</code></h4>
|
||||||
<p>An image within a phone-shaped frame placed to the side of content. Supports these modifiers:</p>
|
<p>An image within a phone-shaped frame placed to the side of content. Supports these modifiers:</p>
|
||||||
@ -1488,7 +699,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<!-- style5 -->
|
||||||
<section>
|
<section>
|
||||||
<h4><code>banner style5</code></h4>
|
<h4><code>banner style5</code></h4>
|
||||||
<p>Content set directly against an image background. Supports these modifiers:</p>
|
<p>Content set directly against an image background. Supports these modifiers:</p>
|
||||||
@ -1627,7 +838,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<!-- Spotlight -->
|
||||||
<section id="reference-spotlight">
|
<section id="reference-spotlight">
|
||||||
<header>
|
<header>
|
||||||
<h3>Spotlight</h3>
|
<h3>Spotlight</h3>
|
||||||
@ -1646,7 +857,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<!-- style1 -->
|
||||||
<section>
|
<section>
|
||||||
<h4><code>spotlight style1</code></h4>
|
<h4><code>spotlight style1</code></h4>
|
||||||
<p>A 30/70 (or 70/30, depending on orientation) vertical split between content and an image. Supports these modifiers:</p>
|
<p>A 30/70 (or 70/30, depending on orientation) vertical split between content and an image. Supports these modifiers:</p>
|
||||||
@ -1788,7 +999,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<!-- style2 -->
|
||||||
<section>
|
<section>
|
||||||
<h4><code>spotlight style2</code></h4>
|
<h4><code>spotlight style2</code></h4>
|
||||||
<p>An image within a circular frame placed to the side of content. Supports these modifiers:</p>
|
<p>An image within a circular frame placed to the side of content. Supports these modifiers:</p>
|
||||||
@ -1962,7 +1173,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<!-- style3 -->
|
||||||
<section>
|
<section>
|
||||||
<h4><code>spotlight style3</code></h4>
|
<h4><code>spotlight style3</code></h4>
|
||||||
<p>An image within a phone-shaped frame placed to the side of content. Supports these modifiers:</p>
|
<p>An image within a phone-shaped frame placed to the side of content. Supports these modifiers:</p>
|
||||||
@ -2136,7 +1347,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<!-- style4 -->
|
||||||
<section>
|
<section>
|
||||||
<h4><code>spotlight style4</code></h4>
|
<h4><code>spotlight style4</code></h4>
|
||||||
<p>Boxed-in content set against an image background, and attached to either side of the screen or centered. Supports these modifiers:</p>
|
<p>Boxed-in content set against an image background, and attached to either side of the screen or centered. Supports these modifiers:</p>
|
||||||
@ -2293,7 +1504,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<!-- style5 -->
|
||||||
<section>
|
<section>
|
||||||
<h4><code>spotlight style5</code></h4>
|
<h4><code>spotlight style5</code></h4>
|
||||||
<p>Boxed-in content set against an image background. Supports these modifiers:</p>
|
<p>Boxed-in content set against an image background. Supports these modifiers:</p>
|
||||||
@ -2451,7 +1662,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<!-- Gallery -->
|
||||||
<section id="reference-gallery">
|
<section id="reference-gallery">
|
||||||
<header>
|
<header>
|
||||||
<h3>Gallery</h3>
|
<h3>Gallery</h3>
|
||||||
@ -2489,7 +1700,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<!-- style1 -->
|
||||||
<section>
|
<section>
|
||||||
<h4><code>gallery style1</code></h4>
|
<h4><code>gallery style1</code></h4>
|
||||||
<p>A grid of thumbnails with optional lightbox support. Supports these modifiers:</p>
|
<p>A grid of thumbnails with optional lightbox support. Supports these modifiers:</p>
|
||||||
@ -2537,7 +1748,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<!-- style2 -->
|
||||||
<section>
|
<section>
|
||||||
<h4><code>gallery style2</code></h4>
|
<h4><code>gallery style2</code></h4>
|
||||||
<p>A carousel of thumbnails with optional lightbox support. Supports these modifiers:</p>
|
<p>A carousel of thumbnails with optional lightbox support. Supports these modifiers:</p>
|
||||||
@ -2586,7 +1797,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<!-- Items -->
|
||||||
<section id="reference-items">
|
<section id="reference-items">
|
||||||
<header>
|
<header>
|
||||||
<h3>Items</h3>
|
<h3>Items</h3>
|
||||||
@ -2612,7 +1823,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<!-- style1 -->
|
||||||
<section>
|
<section>
|
||||||
<h4><code>items style1</code></h4>
|
<h4><code>items style1</code></h4>
|
||||||
<p>A grid of items separated by borders.</p>
|
<p>A grid of items separated by borders.</p>
|
||||||
@ -2653,7 +1864,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<!-- style2 -->
|
||||||
<section>
|
<section>
|
||||||
<h4><code>items style2</code></h4>
|
<h4><code>items style2</code></h4>
|
||||||
<p>An outlined grid of items separated by borders.</p>
|
<p>An outlined grid of items separated by borders.</p>
|
||||||
@ -2694,7 +1905,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
<!-- style3 -->
|
||||||
<section>
|
<section>
|
||||||
<h4><code>items style3</code></h4>
|
<h4><code>items style3</code></h4>
|
||||||
<p>A borderless grid of items.</p>
|
<p>A borderless grid of items.</p>
|
||||||
@ -2736,7 +1947,7 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<!-- Wrapper -->
|
||||||
<section id="reference-wrapper">
|
<section id="reference-wrapper">
|
||||||
<header>
|
<header>
|
||||||
<h3>Wrapper</h3>
|
<h3>Wrapper</h3>
|
||||||
@ -2796,41 +2007,3 @@ print 'It took ' + i + ' iterations to sort the deck.';
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer class="wrapper style1 align-center">
|
|
||||||
<div class="inner">
|
|
||||||
<ul class="icons">
|
|
||||||
<li><a target="_blank" href="https://github.com/caressofsteel/" class="icon brands style2 fa-github"><span class="label">Github</span></a></li>
|
|
||||||
<li><a target="_blank" href="https://twitter.com/caressofsteel_" class="icon brands style2 fa-twitter"><span class="label">Twitter</span></a></li>
|
|
||||||
<li><a target="_blank" href="https://instagram.com" class="icon brands style2 fa-instagram"><span class="label">Instagram</span></a></li>
|
|
||||||
<li><a target="_blank" href="https://linkedin.com" class="icon brands style2 fa-linkedin"><span class="label">LinkedIn</span></a></li>
|
|
||||||
<li><a target="_blank" href="mailto:caressofsteel@protonmail.com" class="fav icon style2 fa-envelope"><span class="label">Email</span></a></li>
|
|
||||||
</ul>
|
|
||||||
<p>Hugo Story © 2020 <a target="_blank" href="https://github.com/caressofsteel/">CaressOfSteel</a><span class="footerspacer icon fad fa-diamond"></span>
|
|
||||||
Ported from <a target="_blank" href="https://html5up.net/uploads/demos/story/">Story</a> by HTML5UP<span class="footerspacer icon fad fa-diamond"></span>
|
|
||||||
Images courtesy of <a target="_blank" href="https://unsplash.com">Unsplash</a></p>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src='./assets/js/bundle.min.js'></script>
|
|
||||||
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -8,8 +8,13 @@
|
|||||||
{{ with .Site.Params.social.linkedin }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-linkedin"><span class="label">LinkedIn</span></a></li>{{end}}
|
{{ with .Site.Params.social.linkedin }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-linkedin"><span class="label">LinkedIn</span></a></li>{{end}}
|
||||||
{{ with .Site.Params.social.email }}<li><a target="_blank" href="mailto:{{.}}" class="fav icon style2 fa-envelope"><span class="label">Email</span></a></li>{{end}}
|
{{ with .Site.Params.social.email }}<li><a target="_blank" href="mailto:{{.}}" class="fav icon style2 fa-envelope"><span class="label">Email</span></a></li>{{end}}
|
||||||
</ul>
|
</ul>
|
||||||
<p>Hugo Story © 2020 <a target="_blank" href="https://github.com/caressofsteel/">CaressOfSteel</a><span class="footerspacer icon fad fa-diamond"></span>
|
<p>Hugo Story © 2020 <a target="_blank" href="https://github.com/caressofsteel/">CaressOfSteel</a><span class="footerspacer icon fa-diamond"></span>
|
||||||
Ported from <a target="_blank" href="https://html5up.net/uploads/demos/story/">Story</a> by HTML5UP<span class="footerspacer icon fad fa-diamond"></span>
|
Ported from <a target="_blank" href="https://html5up.net/uploads/demos/story/">Story</a> by HTML5UP<span class="footerspacer icon fa-diamond"></span>
|
||||||
Images courtesy of <a target="_blank" href="https://unsplash.com">Unsplash</a></p>
|
Images courtesy of <a target="_blank" href="https://unsplash.com">Unsplash</a></p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
<!-- FontAwesome JS -->
|
||||||
|
{{ range .Site.Params.asset.fontawesome_js -}}
|
||||||
|
<script type="text/javascript" src="{{ . | absURL }}"></script>
|
||||||
|
{{- end }}
|
14
exampleSite/layouts/partials/gallery.html
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<!-- Gallery -->
|
||||||
|
<section class="wrapper style1 align-center" {{ with .id }} id="{{ . }}"{{ end }}>
|
||||||
|
<div class="inner">
|
||||||
|
<h2>{{ .title }}</h2>
|
||||||
|
<p>{{ .content | safeHTML }}</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Gallery -->
|
||||||
|
<div class="gallery {{ .style }}">
|
||||||
|
{{ range .pictures }}
|
||||||
|
{{ partial "picture" . }}
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
</section>
|
@ -5,21 +5,28 @@
|
|||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="author" content="">
|
<meta name="author" content="">
|
||||||
{{ if .Site.Params.favicon }}
|
{{ if .Site.Params.favicon }}
|
||||||
{{ partial "template/favicon" }}
|
{{ partial "favicon" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- CSS -->
|
<!-- CSS -->
|
||||||
{{ if .Site.IsServer }}
|
{{ if .Site.IsServer }}
|
||||||
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "scss/main.scss" . | toCSS (dict "targetPath" "assets/css/main.css" "outputStyle" "compressed" "enableSourceMap" false) }}
|
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "scss/main.scss" . | toCSS (dict "targetPath" "css/main.css" "outputStyle" "compressed" "enableSourceMap" false) }}
|
||||||
<link rel="stylesheet" href="{{ ($style).RelPermalink }}">
|
<link rel="stylesheet" href="{{ ($style).RelPermalink }}">
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "scss/main.scss" . | toCSS (dict "targetPath" "assets/css/main.css" "enableSourceMap" false) }}
|
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "scss/main.scss" . | toCSS (dict "targetPath" "css/main.css" "enableSourceMap" false) }}
|
||||||
<link rel="stylesheet" href="{{ ($style | minify).RelPermalink }}">
|
<link rel="stylesheet" href="{{ ($style | minify).RelPermalink }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Site.IsServer }}
|
{{ if .Site.IsServer }}
|
||||||
{{ $noscript := resources.Get "sass/noscript.scss" | resources.ExecuteAsTemplate "noscript.scss" . | toCSS (dict "targetPath" "assets/css/noscript.css" "enableSourceMap" false) }}
|
{{ $noscript := resources.Get "sass/noscript.scss" | resources.ExecuteAsTemplate "noscript.scss" . | toCSS (dict "targetPath" "css/noscript.css" "enableSourceMap" false) }}
|
||||||
<noscript><link rel="stylesheet" href="{{ ($noscript).RelPermalink }}" /></noscript>
|
<noscript><link rel="stylesheet" href="{{ ($noscript).RelPermalink }}" /></noscript>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $noscript := resources.Get "sass/noscript.scss" | resources.ExecuteAsTemplate "noscript.scss" . | toCSS (dict "targetPath" "assets/css/noscript.css" "enableSourceMap" false) }}
|
{{ $noscript := resources.Get "sass/noscript.scss" | resources.ExecuteAsTemplate "noscript.scss" . | toCSS (dict "targetPath" "css/noscript.css" "enableSourceMap" false) }}
|
||||||
<noscript><link rel="stylesheet" href="{{ ($noscript | minify).RelPermalink }}" /></noscript>
|
<noscript><link rel="stylesheet" href="{{ ($noscript | minify).RelPermalink }}" /></noscript>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
<!-- FontAwesome CSS -->
|
||||||
|
{{ range .Site.Params.asset.fontawesome_css -}}
|
||||||
|
<link rel="stylesheet" href="{{ . | absURL }}">
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
</head>
|
</head>
|
5
exampleSite/layouts/partials/item.html
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<section>
|
||||||
|
<span class="icon {{ .style }}"></span>
|
||||||
|
<h3>{{ .name }}</h3>
|
||||||
|
<p>{{ .content }}</p>
|
||||||
|
</section>
|
12
exampleSite/layouts/partials/items.html
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<!-- Items -->
|
||||||
|
<section class="wrapper style1 align-center">
|
||||||
|
<div class="inner">
|
||||||
|
{{ with .title }}<h2>{{ . }}</h2>{{ end }}
|
||||||
|
{{ with .content }}<p>{{ . | safeHTML }}</p>{{ end }}
|
||||||
|
<div class="items {{ .style }}">
|
||||||
|
{{ range .items }}
|
||||||
|
{{ partial "item" . }}
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
1663
exampleSite/layouts/partials/modifiers.html
Normal file
12
exampleSite/layouts/partials/picture.html
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<article>
|
||||||
|
<a href="{{ .image }}" class="image">
|
||||||
|
<img src="{{ .thumb }}" alt="" />
|
||||||
|
</a>
|
||||||
|
<div class="caption">
|
||||||
|
<h3>{{ .title }}</h3>
|
||||||
|
<p>{{ .content }}</p>
|
||||||
|
<ul class="actions fixed">
|
||||||
|
<li><span class="button small">{{ .button }}</span></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</article>
|
@ -8,7 +8,8 @@
|
|||||||
{{ $main := resources.Get "js/main.js" }}
|
{{ $main := resources.Get "js/main.js" }}
|
||||||
{{ $demo := resources.Get "js/demo.js" }}
|
{{ $demo := resources.Get "js/demo.js" }}
|
||||||
|
|
||||||
{{ $js := slice $jQuery $scrollex $scrolly $browser $breakpoints $util $main $demo | resources.Concat "assets/js/bundle.js" | minify }}
|
{{ $js := slice $jQuery $scrollex $scrolly $browser $breakpoints $util $main $demo | resources.Concat "js/bundle.js" | minify }}
|
||||||
|
|
||||||
<!-- Scripts -->
|
<!-- Scripts -->
|
||||||
<script src='{{ $js.RelPermalink }}'></script>
|
<script src='{{ $js.RelPermalink }}'></script>
|
||||||
|
|
13
exampleSite/layouts/partials/spotlight-01-left.html
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Spotlight -->
|
||||||
|
<section class="spotlight style1 orient-right content-align-left image-position-center onscroll-image-fade-in" id="first">
|
||||||
|
<div class="content">
|
||||||
|
<h2>Spotlight</h2>
|
||||||
|
<p>This is a <strong>Spotlight</strong> element, and it's generally used – as its name implies – to spotlight a particular feature, subject, or pretty much whatever. You can customize its <span class="demo-controls">appearance with a number of modifiers</span>, as well as assign it an optional <code>onload</code> or <code>onscroll</code> transition modifier (<a href="#reference-spotlight">details</a>).</p>
|
||||||
|
<ul class="actions stacked">
|
||||||
|
<li><a href="#" class="button">Learn More</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="image">
|
||||||
|
<img src="images/spotlight01.jpg" alt="" />
|
||||||
|
</div>
|
||||||
|
</section>
|
13
exampleSite/layouts/partials/spotlight-02-right.html
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Spotlight 02 Right -->
|
||||||
|
<section class="spotlight style1 orient-left content-align-left image-position-center onscroll-image-fade-in">
|
||||||
|
<div class="content">
|
||||||
|
<h2>Spotlight</h2>
|
||||||
|
<p>This is also a <strong>Spotlight</strong> element, and it's here because this demo would look a bit empty with just one spotlight. Like all spotlights, you can customize its <span class="demo-controls">appearance with a number of modifiers</span>, as well as assign it an optional <code>onload</code> or <code>onscroll</code> transition modifier (<a href="#reference-spotlight">details</a>).</p>
|
||||||
|
<ul class="actions stacked">
|
||||||
|
<li><a href="#" class="button">Learn More</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="image">
|
||||||
|
<img src="images/spotlight02.jpg" alt="" />
|
||||||
|
</div>
|
||||||
|
</section>
|
13
exampleSite/layouts/partials/spotlight-03-left.html
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Spotlight 03 Left -->
|
||||||
|
<section class="spotlight style1 orient-right content-align-left image-position-center onscroll-image-fade-in">
|
||||||
|
<div class="content">
|
||||||
|
<h2>Spotlight</h2>
|
||||||
|
<p>And yes, this is another <strong>Spotlight</strong> element, and it's also here because I need to fill a bit of space. Naturally, like any other spotlight, you can customize its <span class="demo-controls">appearance with a number of modifiers</span>, as well as assign it an optional <code>onload</code> or <code>onscroll</code> transition modifier (<a href="#reference-spotlight">details</a>).</p>
|
||||||
|
<ul class="actions stacked">
|
||||||
|
<li><a href="#" class="button">Learn More</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="image">
|
||||||
|
<img src="images/spotlight03.jpg" alt="" />
|
||||||
|
</div>
|
||||||
|
</section>
|
13
exampleSite/layouts/partials/spotlight.html
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Spotlight -->
|
||||||
|
<section class="spotlight {{ .style }}"{{ with .id }} id="{{ . }}"{{ end }}>
|
||||||
|
<div class="content">
|
||||||
|
{{ with .title }}<h2>{{ . }}</h2>{{ end }}
|
||||||
|
{{ with .content }}<p>{{ . | safeHTML }}</p>{{ end }}
|
||||||
|
{{ with .button }}<ul class="actions stacked">
|
||||||
|
<li><a href="{{ .link }}" class="button">{{ .label }}</a></li>
|
||||||
|
</ul>{{ end }}
|
||||||
|
</div>
|
||||||
|
{{ with .image }}<div class="image">
|
||||||
|
<img src="{{ . }}" alt="" />
|
||||||
|
</div>{{ end }}
|
||||||
|
</section>
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 477 KiB After Width: | Height: | Size: 477 KiB |
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 68 KiB |
6
exampleSite/static/css/fontawesome-all.min.css
vendored
Normal file
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 488 KiB After Width: | Height: | Size: 488 KiB |
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 110 KiB |
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 89 KiB |
Before Width: | Height: | Size: 133 KiB After Width: | Height: | Size: 133 KiB |
Before Width: | Height: | Size: 191 KiB After Width: | Height: | Size: 191 KiB |
Before Width: | Height: | Size: 113 KiB After Width: | Height: | Size: 113 KiB |
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 166 KiB After Width: | Height: | Size: 166 KiB |
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 98 KiB |
Before Width: | Height: | Size: 135 KiB After Width: | Height: | Size: 135 KiB |
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 95 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 75 KiB |
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 77 KiB |
Before Width: | Height: | Size: 392 KiB After Width: | Height: | Size: 392 KiB |
Before Width: | Height: | Size: 314 KiB After Width: | Height: | Size: 314 KiB |
Before Width: | Height: | Size: 505 KiB After Width: | Height: | Size: 505 KiB |
6
exampleSite/static/js/fontawesome-all.min.js
vendored
Normal file
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 105 KiB After Width: | Height: | Size: 105 KiB |
BIN
exampleSite/static/webfonts/fa-brands-400.ttf
Normal file
BIN
exampleSite/static/webfonts/fa-brands-400.woff2
Normal file
BIN
exampleSite/static/webfonts/fa-duotone-900.ttf
Normal file
BIN
exampleSite/static/webfonts/fa-duotone-900.woff2
Normal file
BIN
exampleSite/static/webfonts/fa-light-300.ttf
Normal file
BIN
exampleSite/static/webfonts/fa-light-300.woff2
Normal file
BIN
exampleSite/static/webfonts/fa-regular-400.ttf
Normal file
BIN
exampleSite/static/webfonts/fa-regular-400.woff2
Normal file
BIN
exampleSite/static/webfonts/fa-sharp-solid-900.ttf
Normal file
BIN
exampleSite/static/webfonts/fa-sharp-solid-900.woff2
Normal file
BIN
exampleSite/static/webfonts/fa-solid-900.ttf
Normal file
BIN
exampleSite/static/webfonts/fa-solid-900.woff2
Normal file
BIN
exampleSite/static/webfonts/fa-thin-100.ttf
Normal file
BIN
exampleSite/static/webfonts/fa-thin-100.woff2
Normal file
BIN
exampleSite/static/webfonts/fa-v4compatibility.ttf
Normal file
BIN
exampleSite/static/webfonts/fa-v4compatibility.woff2
Normal file
@ -7,7 +7,7 @@
|
|||||||
-->
|
-->
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
{{ partial "template/head" . }}
|
{{ partial "head" . }}
|
||||||
|
|
||||||
<body class="is-preload">
|
<body class="is-preload">
|
||||||
|
|
||||||
@ -18,7 +18,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ template "_internal/google_analytics.html" . }}
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
{{ partial "template/scripts" . }}
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
|
{{ partial "scripts" . }}
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -8,6 +8,6 @@
|
|||||||
{{ partial "items" site.Data.items }}
|
{{ partial "items" site.Data.items }}
|
||||||
{{ partial "elements" . }}
|
{{ partial "elements" . }}
|
||||||
{{ partial "elements_reference" . }}
|
{{ partial "elements_reference" . }}
|
||||||
{{ partial "template/footer" . }}
|
{{ partial "footer" . }}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
7
layouts/partials/favicon.html
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<meta name="msapplication-TileColor" content="#da532c">
|
||||||
|
<meta name="theme-color" content="#ffffff">
|
||||||
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||||
|
<link rel="manifest" href="/site.webmanifest">
|
||||||
|
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
|
20
layouts/partials/footer.html
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<!-- Footer -->
|
||||||
|
<footer class="wrapper style1 align-center">
|
||||||
|
<div class="inner">
|
||||||
|
<ul class="icons">
|
||||||
|
{{ with .Site.Params.social.github }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-github"><span class="label">Github</span></a></li>{{end}}
|
||||||
|
{{ with .Site.Params.social.twitter }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-twitter"><span class="label">Twitter</span></a></li>{{end}}
|
||||||
|
{{ with .Site.Params.social.instagram }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-instagram"><span class="label">Instagram</span></a></li>{{end}}
|
||||||
|
{{ with .Site.Params.social.linkedin }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-linkedin"><span class="label">LinkedIn</span></a></li>{{end}}
|
||||||
|
{{ with .Site.Params.social.email }}<li><a target="_blank" href="mailto:{{.}}" class="fav icon style2 fa-envelope"><span class="label">Email</span></a></li>{{end}}
|
||||||
|
</ul>
|
||||||
|
<p>Hugo Story © 2020 <a target="_blank" href="https://github.com/caressofsteel/">CaressOfSteel</a><span class="footerspacer icon fa-diamond"></span>
|
||||||
|
Ported from <a target="_blank" href="https://html5up.net/uploads/demos/story/">Story</a> by HTML5UP<span class="footerspacer icon fa-diamond"></span>
|
||||||
|
Images courtesy of <a target="_blank" href="https://unsplash.com">Unsplash</a></p>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!-- FontAwesome JS -->
|
||||||
|
{{ range .Site.Params.asset.fontawesome_js -}}
|
||||||
|
<script type="text/javascript" src="{{ . | absURL }}"></script>
|
||||||
|
{{- end }}
|
32
layouts/partials/head.html
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
<head>
|
||||||
|
<title>{{ .Site.Title }}</title>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="author" content="">
|
||||||
|
{{ if .Site.Params.favicon }}
|
||||||
|
{{ partial "favicon" }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- CSS -->
|
||||||
|
{{ if .Site.IsServer }}
|
||||||
|
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "scss/main.scss" . | toCSS (dict "targetPath" "css/main.css" "outputStyle" "compressed" "enableSourceMap" false) }}
|
||||||
|
<link rel="stylesheet" href="{{ ($style).RelPermalink }}">
|
||||||
|
{{ else }}
|
||||||
|
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "scss/main.scss" . | toCSS (dict "targetPath" "css/main.css" "enableSourceMap" false) }}
|
||||||
|
<link rel="stylesheet" href="{{ ($style | minify).RelPermalink }}">
|
||||||
|
{{ end }}
|
||||||
|
{{ if .Site.IsServer }}
|
||||||
|
{{ $noscript := resources.Get "sass/noscript.scss" | resources.ExecuteAsTemplate "noscript.scss" . | toCSS (dict "targetPath" "css/noscript.css" "enableSourceMap" false) }}
|
||||||
|
<noscript><link rel="stylesheet" href="{{ ($noscript).RelPermalink }}" /></noscript>
|
||||||
|
{{ else }}
|
||||||
|
{{ $noscript := resources.Get "sass/noscript.scss" | resources.ExecuteAsTemplate "noscript.scss" . | toCSS (dict "targetPath" "css/noscript.css" "enableSourceMap" false) }}
|
||||||
|
<noscript><link rel="stylesheet" href="{{ ($noscript | minify).RelPermalink }}" /></noscript>
|
||||||
|
{{end}}
|
||||||
|
|
||||||
|
<!-- FontAwesome CSS -->
|
||||||
|
{{ range .Site.Params.asset.fontawesome_css -}}
|
||||||
|
<link rel="stylesheet" href="{{ . | absURL }}">
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
</head>
|
15
layouts/partials/scripts.html
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
{{ $jQuery := resources.Get "js/jquery.min.js" }}
|
||||||
|
{{ $scrollex := resources.Get "js/jquery.scrollex.min.js" }}
|
||||||
|
{{ $scrolly := resources.Get "js/jquery.scrolly.min.js" }}
|
||||||
|
{{ $browser := resources.Get "js/browser.min.js" }}
|
||||||
|
{{ $breakpoints := resources.Get "js/breakpoints.min.js" }}
|
||||||
|
{{ $util := resources.Get "js/util.js" }}
|
||||||
|
{{ $main := resources.Get "js/main.js" }}
|
||||||
|
{{ $demo := resources.Get "js/demo.js" }}
|
||||||
|
|
||||||
|
{{ $js := slice $jQuery $scrollex $scrolly $browser $breakpoints $util $main $demo | resources.Concat "js/bundle.js" | minify }}
|
||||||
|
|
||||||
|
<!-- Scripts -->
|
||||||
|
<script src='{{ $js.RelPermalink }}'></script>
|
||||||
|
|
1
originalStorySite/assets/css/main.min.css
vendored
155
originalStorySite/assets/js/bundle.min.js
vendored
Before Width: | Height: | Size: 712 KiB |
Before Width: | Height: | Size: 2.5 MiB |