urban-static 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +674 -0
- data/README.md +58 -0
- data/_includes/footer.html +13 -0
- data/_includes/head.html +23 -0
- data/_includes/header.html +37 -0
- data/_includes/js.html +23 -0
- data/_includes/nav.html +44 -0
- data/_includes/nav_link.html +10 -0
- data/_includes/styles.html +4 -0
- data/_layouts/compress.html +11 -0
- data/_layouts/content.html +32 -0
- data/_layouts/default.html +41 -0
- data/_layouts/page.html +53 -0
- data/_layouts/post.html +5 -0
- data/_sass/urban-static.scss +618 -0
- data/assets/css/bootstrap.min.css +5 -0
- data/assets/js/libs/bootstrap.js +2306 -0
- data/assets/js/libs/bootstrap.min.js +7 -0
- data/assets/js/libs/jquery.easing.min.js +44 -0
- data/assets/js/libs/jquery.js +4 -0
- data/assets/js/urban-static.js +359 -0
- metadata +22 -1
data/README.md
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
# urban-static
|
2
|
+
|
3
|
+
Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes` and your sass in `_sass`. To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your Jekyll site's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem "urban-static"
|
13
|
+
```
|
14
|
+
|
15
|
+
And add this line to your Jekyll site:
|
16
|
+
|
17
|
+
```yaml
|
18
|
+
theme: urban-static
|
19
|
+
```
|
20
|
+
|
21
|
+
And then execute:
|
22
|
+
|
23
|
+
$ bundle
|
24
|
+
|
25
|
+
Or install it yourself as:
|
26
|
+
|
27
|
+
$ gem install urban-static
|
28
|
+
|
29
|
+
## Usage
|
30
|
+
|
31
|
+
TODO: Write usage instructions here. Describe your available layouts, includes, and/or sass.
|
32
|
+
|
33
|
+
Todo:
|
34
|
+
* update bootstrap to v4 (js & scss)
|
35
|
+
* update jquery & easing plugin
|
36
|
+
* split out theme scss files
|
37
|
+
* split out custom javascript (into library stuff vs custom page stuff vs settings)
|
38
|
+
* lity - video light box
|
39
|
+
|
40
|
+
## Contributing
|
41
|
+
|
42
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/nanorepublica/urban-static. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
43
|
+
|
44
|
+
## Development
|
45
|
+
|
46
|
+
To set up your environment to develop this theme, run `bundle install`.
|
47
|
+
|
48
|
+
You theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
49
|
+
|
50
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `assets` and `_sass` tracked with Git will be released.
|
51
|
+
|
52
|
+
## License
|
53
|
+
|
54
|
+
The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
55
|
+
|
56
|
+
## Inspiration
|
57
|
+
|
58
|
+
This theme was inspired by Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com)
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Footer -->
|
2
|
+
<footer>
|
3
|
+
<div class="container text-center">
|
4
|
+
{% if site.footer_image %}
|
5
|
+
<div class="row">
|
6
|
+
<div class="col-sm-offset-4 col-sm-4 col-xs-6 col-xs-offset-3">
|
7
|
+
<img class="img-responsive" src="{{ site.footer_image }}" />
|
8
|
+
</div>
|
9
|
+
</div>
|
10
|
+
{% endif %}
|
11
|
+
<p>Copyright © {{ site.footer }} {{ site.time | date: '%Y' }}</p>
|
12
|
+
</div>
|
13
|
+
</footer>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
5
|
+
<meta name="viewport" content="width=device-width">
|
6
|
+
<meta name="description" content="{{ site.description }}">
|
7
|
+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
|
8
|
+
|
9
|
+
<!-- Custom CSS & Bootstrap Core CSS - Uses Bootswatch Flatly Theme: http://bootswatch.com/flatly/ -->
|
10
|
+
<link rel="stylesheet" href="{{ "/assets/css/bootstrap.min.css" | prepend: site.baseurl }}">
|
11
|
+
<link rel="shortcut icon" href="{{ "/img/favicon.png" | prepend: site.baseurl }}" />
|
12
|
+
<!-- Custom Fonts -->
|
13
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
|
14
|
+
|
15
|
+
{% include styles.html %}
|
16
|
+
|
17
|
+
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
18
|
+
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
19
|
+
<!--[if lt IE 9]>
|
20
|
+
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
21
|
+
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
22
|
+
<![endif]-->
|
23
|
+
</head>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
<!-- Intro Header -->
|
2
|
+
<header class="intro intro-{{ page.key }}">
|
3
|
+
<div class="intro-body">
|
4
|
+
<div class="container">
|
5
|
+
<div class="row">
|
6
|
+
<div class="col-md-{{ page.header.width|default:8 }} col-md-offset-{{ page.header.offset|default:2 }}">
|
7
|
+
|
8
|
+
<h1 class="brand-heading">{{ page.header.title }}</h1>
|
9
|
+
<p class="sub-head">{{ page.header.subtitle }}</p>
|
10
|
+
{% if page.header.cta %}
|
11
|
+
<p class="intro-text">
|
12
|
+
<a type="button" name="button" class="btn btn-lg btn-default" href="{{ page.header.cta }}">
|
13
|
+
{{ page.header.subsubtitle }}
|
14
|
+
</a>
|
15
|
+
</p>
|
16
|
+
{% else %}
|
17
|
+
<p class="intro-text">{{ page.header.subsubtitle }}</p>
|
18
|
+
{% endif %}
|
19
|
+
{% if page.header.down-arrow %}
|
20
|
+
{% if page.key == "home" %}
|
21
|
+
<a href="#{{ site.site-map[page.key].sections[0] }}" class="btn btn-circle page-scroll">
|
22
|
+
<i class="fa fa-angle-double-down animated"></i>
|
23
|
+
</a>
|
24
|
+
{% elsif page.layout == "page" %}
|
25
|
+
<a href="#anchor" class="btn btn-circle page-scroll">
|
26
|
+
<i class="fa fa-angle-double-down animated"></i>
|
27
|
+
</a>
|
28
|
+
{% endif %}
|
29
|
+
{% endif %}
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
</header>
|
35
|
+
{% if page.sticky-header|default: true %}
|
36
|
+
<div id="sticky-header"></div>
|
37
|
+
{% endif %}
|
data/_includes/js.html
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min.js"></script> -->
|
2
|
+
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> -->
|
3
|
+
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/marked/0.3.5/marked.min.js"></script> -->
|
4
|
+
<!-- jQuery Version 1.11.0 -->
|
5
|
+
<script>
|
6
|
+
var map_center_lat = {{ site.map-center-lat }},
|
7
|
+
map_center_lng = {{ site.map-center-lng }};
|
8
|
+
</script>
|
9
|
+
<script src="{{ "/assets/js/libs/jquery.js" | prepend: site.baseurl }}"></script>
|
10
|
+
|
11
|
+
<!-- Bootstrap Core JavaScript -->
|
12
|
+
<script src="{{ "/assets/js/libs/bootstrap.min.js" | prepend: site.baseurl }}"></script>
|
13
|
+
|
14
|
+
<!-- Plugin JavaScript -->
|
15
|
+
<script src="{{ "/assets/js/libs/jquery.easing.min.js" | prepend: site.baseurl }}"></script>
|
16
|
+
|
17
|
+
<!-- Google Maps API Key - Use your own API key to enable the map feature. More information on the Google Maps API can be found at https://developers.google.com/maps/ -->
|
18
|
+
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyB-fjiF76Uh_s7gIZ7-KDfKWPQZWaMZNrk"></script>
|
19
|
+
|
20
|
+
<!-- Custom Theme JavaScript -->
|
21
|
+
<script src="{{ "/assets/js/urban-static.js" | prepend: site.baseurl }}"></script>
|
22
|
+
|
23
|
+
{% include extra_js.html %}
|
data/_includes/nav.html
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
<!-- Navigation -->
|
2
|
+
<nav class="navbar navbar-custom navbar-fixed-top nav-{{ page.key }}" role="navigation">
|
3
|
+
<div class="container">
|
4
|
+
<div class="navbar-header">
|
5
|
+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
|
6
|
+
<i class="fa fa-bars"></i>
|
7
|
+
</button>
|
8
|
+
<a class="navbar-brand page-scroll" href="/#page-top">
|
9
|
+
<i class="fa {{ site.site-icon }}"></i> {{ site.title }}
|
10
|
+
</a>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<!-- Collect the nav links, forms, and other content for toggling -->
|
14
|
+
<div class="collapse navbar-collapse navbar-right navbar-main-collapse">
|
15
|
+
<ul class="nav navbar-nav">
|
16
|
+
<!-- Hidden li included to remove active class from about link when scrolled up past about section -->
|
17
|
+
<li class="hidden">
|
18
|
+
<a href="#page-top"></a>
|
19
|
+
</li>
|
20
|
+
|
21
|
+
{% for item in site.site-map[page.key].menu %}
|
22
|
+
<li {% if site.site-map[item].submenu %}class="dropdown"{% endif %}>
|
23
|
+
{% if item == "home" %}
|
24
|
+
<a class="page-scroll" href="/">{{ site.site-map[item].title }}</a>
|
25
|
+
{% elsif site.site-map[item].submenu %}
|
26
|
+
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{ site.site-map[item].title }}</a>
|
27
|
+
<ul id="dropdown-menu-{{item}}" class="dropdown-menu">
|
28
|
+
{% for subitem in site.site-map[item].submenu %}
|
29
|
+
<li>
|
30
|
+
{% include nav_link.html item=subitem %}
|
31
|
+
</li>
|
32
|
+
{% endfor %}
|
33
|
+
</ul>
|
34
|
+
{% else %}
|
35
|
+
{% include nav_link.html item=item %}
|
36
|
+
{% endif %}
|
37
|
+
</li>
|
38
|
+
{% endfor %}
|
39
|
+
</ul>
|
40
|
+
</div>
|
41
|
+
<!-- /.navbar-collapse -->
|
42
|
+
</div>
|
43
|
+
<!-- /.container -->
|
44
|
+
</nav>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{% if site.site-map[include.item].path %}
|
2
|
+
<!-- the path must exist as a thing -->
|
3
|
+
<a class="page-scroll" href="/{{ site.site-map[include.item].path }}">{{ site.site-map[include.item].title }}</a>
|
4
|
+
{% elsif site.site-map[include.item].menu %}
|
5
|
+
<a class="page-scroll" href="/pages/{{ include.item }}">{{ site.site-map[include.item].title }}</a>
|
6
|
+
{% elsif site.site-map[include.item].redirect %}
|
7
|
+
<a target="_blank" href="{{ site.site-map[include.item].redirect }}">{{ site.site-map[include.item].title }}</a>
|
8
|
+
{% else %}
|
9
|
+
<a class="page-scroll" href="/sections/{{ include.item }}">{{ site.site-map[include.item].title }}</a>
|
10
|
+
{% endif %}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
<link href="https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" rel="stylesheet" type="text/css">
|
2
|
+
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
|
3
|
+
<link href='https://fonts.googleapis.com/css?family=Marck+Script' rel='stylesheet' type='text/css'>
|
4
|
+
<link href='https://fonts.googleapis.com/css?family=Dancing+Script:400,700' rel='stylesheet' type='text/css'>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
---
|
2
|
+
#
|
3
|
+
# Jekyll layout that compresses HTML
|
4
|
+
# v1.1.1
|
5
|
+
# http://jch.penibelst.de/
|
6
|
+
# © 2015 Anatol Broder
|
7
|
+
# MIT License
|
8
|
+
#
|
9
|
+
---
|
10
|
+
|
11
|
+
{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if site.compress_html.comments.size == 2 %}{% assign _comment_befores = _content | split: site.compress_html.comments.first %}{% for _comment_before in _comment_befores %}{% assign _comment_content = _comment_before | split: site.compress_html.comments.last | first %}{% if _comment_content %}{% capture _comment %}{{ site.compress_html.comments.first }}{{ _comment_content }}{{ site.compress_html.comments.last }}{% endcapture %}{% assign _content = _content | remove: _comment %}{% endif %}{% endfor %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% case _pres.size %}{% when 2 %}{% capture _content %}{{ _content }}<pre{{ _pres.first }}</pre>{{ _pres.last | split: " " | join: " " }}{% endcapture %}{% when 1 %}{% capture _content %}{{ _content }}{{ _pres.last | split: " " | join: " " }}{% endcapture %}{% endcase %}{% endfor %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{{ _content }}{% endif %}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
layout: compress
|
3
|
+
---
|
4
|
+
|
5
|
+
<!DOCTYPE html>
|
6
|
+
<html>
|
7
|
+
{% include head.html %}
|
8
|
+
{% if site.site-map[page.key].js %}
|
9
|
+
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top" onload="init{{ page.key | replace: '-', '_' }}()">
|
10
|
+
{% else %}
|
11
|
+
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top" onload="init()">
|
12
|
+
{% endif %}
|
13
|
+
{% include nav.html %}
|
14
|
+
|
15
|
+
<!-- About Section -->
|
16
|
+
<section id="{{ page.key }}" class="container content-section text-center">
|
17
|
+
<div class="row">
|
18
|
+
<div class="container">
|
19
|
+
|
20
|
+
<div class="col-lg-8 col-lg-offset-2">
|
21
|
+
|
22
|
+
{{ content }}
|
23
|
+
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
</section>
|
28
|
+
|
29
|
+
{% include footer.html %}
|
30
|
+
{% include js.html %}
|
31
|
+
</body>
|
32
|
+
</html>
|
@@ -0,0 +1,41 @@
|
|
1
|
+
---
|
2
|
+
layout: compress
|
3
|
+
---
|
4
|
+
|
5
|
+
<!DOCTYPE html>
|
6
|
+
<html>
|
7
|
+
{% include head.html %}
|
8
|
+
{% if site.site-map[page.key].js %}
|
9
|
+
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top" onload="init{{ page.key | replace: '-', '_' }}()">
|
10
|
+
{% else %}
|
11
|
+
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top" onload="init()">
|
12
|
+
{% endif %}
|
13
|
+
{% include nav.html %}
|
14
|
+
|
15
|
+
{% include header.html %}
|
16
|
+
|
17
|
+
{% for order in site.site-map[page.key].sections %}
|
18
|
+
{% for page in site.pages %}
|
19
|
+
{% assign name = page.name | remove: '.md' %}
|
20
|
+
|
21
|
+
{% if name == order %}
|
22
|
+
<section id="{{ name }}" class="content-section text-center">
|
23
|
+
<div class="{{ name }}-section">
|
24
|
+
<div class="container">
|
25
|
+
<div class="row">
|
26
|
+
<div class="col-lg-8 col-lg-offset-2">
|
27
|
+
{{ page.content | markdownify }}
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
</div>
|
33
|
+
</section>
|
34
|
+
{% endif %}
|
35
|
+
{% endfor %}
|
36
|
+
{% endfor %}
|
37
|
+
|
38
|
+
{% include footer.html %}
|
39
|
+
{% include js.html %}
|
40
|
+
</body>
|
41
|
+
</html>
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
---
|
2
|
+
layout: compress
|
3
|
+
---
|
4
|
+
<!DOCTYPE html>
|
5
|
+
<html>
|
6
|
+
{% include head.html %}
|
7
|
+
{% if site.site-map[page.key].js %}
|
8
|
+
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top" onload="init{{ page.key | replace: '-', '_' }}()">
|
9
|
+
{% else %}
|
10
|
+
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top" onload="init()">
|
11
|
+
{% endif %}
|
12
|
+
{% include nav.html %}
|
13
|
+
|
14
|
+
{% include header.html %}
|
15
|
+
|
16
|
+
<!-- About Section -->
|
17
|
+
<div id="anchor"></div>
|
18
|
+
<section id="{{ page.key }}" class="container detail-section">
|
19
|
+
<div class="row">
|
20
|
+
|
21
|
+
<div class="col-lg-12">
|
22
|
+
|
23
|
+
{{ content|markdownify }}
|
24
|
+
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
</section>
|
28
|
+
|
29
|
+
{% for order in site.site-map[page.key].sections %}
|
30
|
+
{% for page in site.pages %}
|
31
|
+
{% assign name = page.name | remove: '.md' %}
|
32
|
+
|
33
|
+
{% if name == order %}
|
34
|
+
<section id="{{ name }}" class="content-section text-center">
|
35
|
+
<div class="{{ name }}-section">
|
36
|
+
<div class="container">
|
37
|
+
<div class="row">
|
38
|
+
<div class="col-lg-8 col-lg-offset-2">
|
39
|
+
{{ page.content | markdownify }}
|
40
|
+
</div>
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
</div>
|
44
|
+
</div>
|
45
|
+
</section>
|
46
|
+
{% endif %}
|
47
|
+
{% endfor %}
|
48
|
+
{% endfor %}
|
49
|
+
|
50
|
+
{% include footer.html %}
|
51
|
+
{% include js.html %}
|
52
|
+
</body>
|
53
|
+
</html>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,618 @@
|
|
1
|
+
body {
|
2
|
+
width: 100%;
|
3
|
+
height: 100%;
|
4
|
+
font-family: $font-family-base;
|
5
|
+
color: #0c0c0c;
|
6
|
+
background-color: $brand-color;
|
7
|
+
}
|
8
|
+
|
9
|
+
html {
|
10
|
+
width: 100%;
|
11
|
+
height: 100%;
|
12
|
+
}
|
13
|
+
|
14
|
+
h1, .h1,
|
15
|
+
h2, .h2,
|
16
|
+
h3, .h3,
|
17
|
+
h4, .h4,
|
18
|
+
h5, .h5,
|
19
|
+
h6, .h6 {
|
20
|
+
margin: 0 0 35px;
|
21
|
+
font-family: $font-family-serif;
|
22
|
+
text-transform: uppercase;
|
23
|
+
letter-spacing: 1px;
|
24
|
+
}
|
25
|
+
|
26
|
+
p {
|
27
|
+
margin: 0 0 25px;
|
28
|
+
font-size: 18px;
|
29
|
+
line-height: 1.5;
|
30
|
+
}
|
31
|
+
|
32
|
+
@media(min-width:993px) {
|
33
|
+
p {
|
34
|
+
margin: 0 0 35px;
|
35
|
+
font-size: 25px;
|
36
|
+
line-height: 1.6;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
a {
|
41
|
+
color: darken($brand-secondary, 30%);
|
42
|
+
-webkit-transition: all .2s ease-in-out;
|
43
|
+
-moz-transition: all .2s ease-in-out;
|
44
|
+
transition: all .2s ease-in-out;
|
45
|
+
}
|
46
|
+
|
47
|
+
a:hover,
|
48
|
+
a:focus {
|
49
|
+
text-decoration: none;
|
50
|
+
color: $brand-secondary;
|
51
|
+
}
|
52
|
+
|
53
|
+
.light {
|
54
|
+
font-weight: 400;
|
55
|
+
}
|
56
|
+
|
57
|
+
.navbar-custom {
|
58
|
+
margin-bottom: 0;
|
59
|
+
border-bottom: 1px solid rgba(0,0,0,.3);
|
60
|
+
text-transform: uppercase;
|
61
|
+
font-family: $font-family-sans-serif;
|
62
|
+
background-color: $brand-color;
|
63
|
+
}
|
64
|
+
|
65
|
+
.navbar-custom .navbar-brand {
|
66
|
+
font-weight: 700;
|
67
|
+
}
|
68
|
+
|
69
|
+
.navbar-custom .navbar-brand:focus {
|
70
|
+
outline: 0;
|
71
|
+
}
|
72
|
+
|
73
|
+
.navbar-custom .navbar-brand .navbar-toggle {
|
74
|
+
padding: 4px 6px;
|
75
|
+
font-size: 16px;
|
76
|
+
color: #fcfcfc;
|
77
|
+
}
|
78
|
+
|
79
|
+
.navbar-custom .navbar-brand .navbar-toggle:focus,
|
80
|
+
.navbar-custom .navbar-brand .navbar-toggle:active {
|
81
|
+
outline: 0;
|
82
|
+
}
|
83
|
+
|
84
|
+
.navbar-custom a {
|
85
|
+
color: #0c0c0c;
|
86
|
+
}
|
87
|
+
|
88
|
+
.navbar-custom .nav li.active {
|
89
|
+
outline: none;
|
90
|
+
background-color: rgba(255,255,255,.3);
|
91
|
+
}
|
92
|
+
|
93
|
+
.navbar-custom .nav li a {
|
94
|
+
-webkit-transition: background .3s ease-in-out;
|
95
|
+
-moz-transition: background .3s ease-in-out;
|
96
|
+
transition: background .3s ease-in-out;
|
97
|
+
}
|
98
|
+
|
99
|
+
.navbar-custom .nav li a:hover,
|
100
|
+
.navbar-custom .nav li a:focus,
|
101
|
+
.navbar-custom .nav li a.active {
|
102
|
+
outline: 0;
|
103
|
+
background-color: rgba(255,255,255,.3);
|
104
|
+
}
|
105
|
+
|
106
|
+
.dropdown-toggle {
|
107
|
+
cursor: pointer;
|
108
|
+
}
|
109
|
+
|
110
|
+
.dropdown-toggle + .dropdown-menu {
|
111
|
+
/*display: block;*/
|
112
|
+
padding: 0;
|
113
|
+
}
|
114
|
+
|
115
|
+
.dropdown-menu {
|
116
|
+
background-color: transparent;
|
117
|
+
min-width: 50px;
|
118
|
+
border-radius: 0px;
|
119
|
+
border: 0px;
|
120
|
+
box-shadow: none;
|
121
|
+
width: 100%;
|
122
|
+
/*padding: 0;*/
|
123
|
+
/*text-align: center;*/
|
124
|
+
}
|
125
|
+
|
126
|
+
.dropdown-menu>li>a {
|
127
|
+
padding-top: 10px;
|
128
|
+
padding-bottom: 10px;
|
129
|
+
}
|
130
|
+
|
131
|
+
.dropdown-menu>li>a:hover {
|
132
|
+
background-color: $brand-color;
|
133
|
+
/*border-bottom: 1px solid rgba(0,0,0,.3);*/
|
134
|
+
}
|
135
|
+
|
136
|
+
|
137
|
+
@media(min-width:993px) {
|
138
|
+
.navbar {
|
139
|
+
padding: 20px 0;
|
140
|
+
border-bottom: 0;
|
141
|
+
letter-spacing: 1px;
|
142
|
+
background: 0 0;
|
143
|
+
-webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
|
144
|
+
-moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
|
145
|
+
transition: background .5s ease-in-out,padding .5s ease-in-out;
|
146
|
+
}
|
147
|
+
|
148
|
+
.top-nav-collapse {
|
149
|
+
padding: 0;
|
150
|
+
background-color: $brand-color;
|
151
|
+
}
|
152
|
+
|
153
|
+
.navbar-custom a {
|
154
|
+
color: $navbar-font-color;
|
155
|
+
}
|
156
|
+
|
157
|
+
.navbar-custom.top-nav-collapse {
|
158
|
+
border-bottom: 1px solid rgba(0,0,0,.3);
|
159
|
+
}
|
160
|
+
|
161
|
+
.navbar-custom.top-nav-collapse a {
|
162
|
+
color: #0c0c0c;
|
163
|
+
}
|
164
|
+
|
165
|
+
.dropdown-toggle:hover + .dropdown-menu, .dropdown-menu:hover {
|
166
|
+
display: block;
|
167
|
+
}
|
168
|
+
|
169
|
+
.dropdown-menu {
|
170
|
+
background-color: transparent;
|
171
|
+
min-width: 50px;
|
172
|
+
border-radius: 0px;
|
173
|
+
border: 0px;
|
174
|
+
box-shadow: none;
|
175
|
+
width: 100%;
|
176
|
+
padding: 0;
|
177
|
+
text-align: center;
|
178
|
+
}
|
179
|
+
|
180
|
+
.dropdown-menu>li>a {
|
181
|
+
color: #fcfcfc;
|
182
|
+
padding: 15px;
|
183
|
+
}
|
184
|
+
|
185
|
+
.dropdown-menu>li>a:hover {
|
186
|
+
background-color: $brand-color;
|
187
|
+
}
|
188
|
+
|
189
|
+
}
|
190
|
+
|
191
|
+
.intro {
|
192
|
+
display: table;
|
193
|
+
width: 100%;
|
194
|
+
height: auto;
|
195
|
+
padding: 100px 0;
|
196
|
+
text-align: center;
|
197
|
+
color: $intro-font-color;
|
198
|
+
background-color: $brand-color;
|
199
|
+
}
|
200
|
+
|
201
|
+
@mixin intro-image($image, $font-colour: $black) {
|
202
|
+
background: url($image) no-repeat top center / cover scroll;
|
203
|
+
color: $font-colour;
|
204
|
+
}
|
205
|
+
|
206
|
+
|
207
|
+
.intro .intro-body {
|
208
|
+
font-family: $font-family-serif;
|
209
|
+
display: table-cell;
|
210
|
+
vertical-align: middle;
|
211
|
+
}
|
212
|
+
|
213
|
+
.intro .intro-body .brand-heading {
|
214
|
+
font-family: $font-family-serif;
|
215
|
+
font-size: 40px;
|
216
|
+
|
217
|
+
}
|
218
|
+
|
219
|
+
.intro .intro-body .sub-head {
|
220
|
+
font-size: 43px;
|
221
|
+
}
|
222
|
+
|
223
|
+
.intro .intro-body .intro-text {
|
224
|
+
font-size: 38px;
|
225
|
+
}
|
226
|
+
|
227
|
+
@media(min-width:993px) {
|
228
|
+
.intro {
|
229
|
+
height: 100%;
|
230
|
+
padding: 0;
|
231
|
+
}
|
232
|
+
|
233
|
+
.intro .intro-body .brand-heading {
|
234
|
+
font-size: 70px;
|
235
|
+
white-space: nowrap;
|
236
|
+
}
|
237
|
+
.intro .intro-body .sub-head {
|
238
|
+
font-size: 43px;
|
239
|
+
}
|
240
|
+
|
241
|
+
.intro .intro-body .intro-text {
|
242
|
+
font-size: 30px;
|
243
|
+
}
|
244
|
+
}
|
245
|
+
|
246
|
+
@media(min-width:1024px) {
|
247
|
+
.intro {
|
248
|
+
height: 100%;
|
249
|
+
padding: 0;
|
250
|
+
}
|
251
|
+
|
252
|
+
.intro .intro-body .brand-heading {
|
253
|
+
font-size: 100px;
|
254
|
+
white-space: nowrap;
|
255
|
+
}
|
256
|
+
.intro .intro-body .sub-head {
|
257
|
+
font-size: 43px;
|
258
|
+
}
|
259
|
+
|
260
|
+
.intro .intro-body .intro-text {
|
261
|
+
font-size: 40px;
|
262
|
+
}
|
263
|
+
}
|
264
|
+
|
265
|
+
#anchor {
|
266
|
+
position: relative;
|
267
|
+
top: -150px;
|
268
|
+
}
|
269
|
+
|
270
|
+
.btn-circle {
|
271
|
+
width: 70px;
|
272
|
+
height: 70px;
|
273
|
+
margin-top: 15px;
|
274
|
+
padding: 7px 16px;
|
275
|
+
border: 2px solid $intro-font-color;
|
276
|
+
border-radius: 35px;
|
277
|
+
font-size: 40px;
|
278
|
+
color: $intro-font-color;
|
279
|
+
background: 0 0;
|
280
|
+
-webkit-transition: background .3s ease-in-out;
|
281
|
+
-moz-transition: background .3s ease-in-out;
|
282
|
+
transition: background .3s ease-in-out;
|
283
|
+
}
|
284
|
+
|
285
|
+
.btn-circle:hover,
|
286
|
+
.btn-circle:focus {
|
287
|
+
outline: 0;
|
288
|
+
color: $intro-font-color;
|
289
|
+
background: rgba(255,255,255,.1);
|
290
|
+
}
|
291
|
+
|
292
|
+
.intro-ceremony .btn-circle {
|
293
|
+
color: #fcfcfc;
|
294
|
+
border-color: #fcfcfc;
|
295
|
+
}
|
296
|
+
|
297
|
+
.btn-circle i.animated {
|
298
|
+
-webkit-transition-property: -webkit-transform;
|
299
|
+
-webkit-transition-duration: 1s;
|
300
|
+
-moz-transition-property: -moz-transform;
|
301
|
+
-moz-transition-duration: 1s;
|
302
|
+
}
|
303
|
+
|
304
|
+
.btn-circle:hover i.animated {
|
305
|
+
-webkit-animation-name: pulse;
|
306
|
+
-moz-animation-name: pulse;
|
307
|
+
-webkit-animation-duration: 1.5s;
|
308
|
+
-moz-animation-duration: 1.5s;
|
309
|
+
-webkit-animation-iteration-count: infinite;
|
310
|
+
-moz-animation-iteration-count: infinite;
|
311
|
+
-webkit-animation-timing-function: linear;
|
312
|
+
-moz-animation-timing-function: linear;
|
313
|
+
}
|
314
|
+
|
315
|
+
@-webkit-keyframes pulse {
|
316
|
+
0% {
|
317
|
+
-webkit-transform: scale(1);
|
318
|
+
transform: scale(1);
|
319
|
+
}
|
320
|
+
|
321
|
+
50% {
|
322
|
+
-webkit-transform: scale(1.2);
|
323
|
+
transform: scale(1.2);
|
324
|
+
}
|
325
|
+
|
326
|
+
100% {
|
327
|
+
-webkit-transform: scale(1);
|
328
|
+
transform: scale(1);
|
329
|
+
}
|
330
|
+
}
|
331
|
+
|
332
|
+
@-moz-keyframes pulse {
|
333
|
+
0% {
|
334
|
+
-moz-transform: scale(1);
|
335
|
+
transform: scale(1);
|
336
|
+
}
|
337
|
+
|
338
|
+
50% {
|
339
|
+
-moz-transform: scale(1.2);
|
340
|
+
transform: scale(1.2);
|
341
|
+
}
|
342
|
+
|
343
|
+
100% {
|
344
|
+
-moz-transform: scale(1);
|
345
|
+
transform: scale(1);
|
346
|
+
}
|
347
|
+
}
|
348
|
+
|
349
|
+
#sticky-header {
|
350
|
+
width: 100%;
|
351
|
+
background: url(/img/yellow-sage-banner-1.png) repeat-x left top scroll;
|
352
|
+
background-size: 20%;
|
353
|
+
height: 100px;
|
354
|
+
}
|
355
|
+
|
356
|
+
@media(min-width:993px) {
|
357
|
+
#sticky-header {
|
358
|
+
width: 100%;
|
359
|
+
background: url(/img/yellow-sage-banner-1.png) repeat-x left top scroll;
|
360
|
+
background-size: 20%;
|
361
|
+
height: 100px;
|
362
|
+
}
|
363
|
+
}
|
364
|
+
|
365
|
+
@media(min-width:1400px) {
|
366
|
+
#sticky-header {
|
367
|
+
width: 100%;
|
368
|
+
background: url(/img/yellow-sage-banner-1.png) repeat-x left top scroll;
|
369
|
+
background-size: auto 100px;
|
370
|
+
height: 100px;
|
371
|
+
}
|
372
|
+
}
|
373
|
+
|
374
|
+
.content-section {
|
375
|
+
padding-top: 100px;
|
376
|
+
}
|
377
|
+
|
378
|
+
|
379
|
+
.contact-section {
|
380
|
+
font-family: $font-family-serif;
|
381
|
+
}
|
382
|
+
|
383
|
+
#map {
|
384
|
+
width: 100%;
|
385
|
+
height: 200px;
|
386
|
+
margin-top: 100px;
|
387
|
+
}
|
388
|
+
|
389
|
+
@media(min-width:993px) {
|
390
|
+
.content-section {
|
391
|
+
padding-top: 200px;
|
392
|
+
}
|
393
|
+
|
394
|
+
.how_long-section {
|
395
|
+
padding: 80px 0;
|
396
|
+
}
|
397
|
+
|
398
|
+
#map {
|
399
|
+
height: 400px;
|
400
|
+
margin-top: 250px;
|
401
|
+
}
|
402
|
+
}
|
403
|
+
|
404
|
+
.btn {
|
405
|
+
text-transform: uppercase;
|
406
|
+
font-family: $font-family-sans-serif;
|
407
|
+
font-weight: 400;
|
408
|
+
-webkit-transition: all .3s ease-in-out;
|
409
|
+
-moz-transition: all .3s ease-in-out;
|
410
|
+
transition: all .3s ease-in-out;
|
411
|
+
}
|
412
|
+
|
413
|
+
@mixin button ($colour, $inverse:false) {
|
414
|
+
border: 1px solid $colour;
|
415
|
+
@if $inverse {
|
416
|
+
color: $text-color;
|
417
|
+
} @else {
|
418
|
+
color: $colour;
|
419
|
+
}
|
420
|
+
background-color: transparent;
|
421
|
+
}
|
422
|
+
|
423
|
+
@mixin button-interact($colour, $inverse:false) {
|
424
|
+
border: 1px solid $colour;
|
425
|
+
outline: 0;
|
426
|
+
@if $inverse {
|
427
|
+
color: $background-color;
|
428
|
+
} @else {
|
429
|
+
color: $text-color;
|
430
|
+
}
|
431
|
+
background-color: transparentize($colour, 0.7);
|
432
|
+
}
|
433
|
+
|
434
|
+
.btn-default {
|
435
|
+
@include button($brand-primary);
|
436
|
+
}
|
437
|
+
|
438
|
+
.btn-default:hover,
|
439
|
+
.btn-default:focus {
|
440
|
+
@include button-interact($brand-primary);
|
441
|
+
}
|
442
|
+
|
443
|
+
.btn-secondary {
|
444
|
+
@include button($brand-secondary, $inverse:$btn-secondary-inverse);
|
445
|
+
}
|
446
|
+
|
447
|
+
.btn-secondary:hover,
|
448
|
+
.btn-secondary:focus {
|
449
|
+
@include button-interact($brand-secondary, $inverse:$btn-secondary-inverse);
|
450
|
+
}
|
451
|
+
|
452
|
+
ul.banner-social-buttons {
|
453
|
+
margin-top: 0;
|
454
|
+
}
|
455
|
+
|
456
|
+
ul.banner-social-buttons li {
|
457
|
+
margin-bottom: 15px;
|
458
|
+
}
|
459
|
+
|
460
|
+
@media(max-width:1199px) {
|
461
|
+
ul.banner-social-buttons {
|
462
|
+
margin-top: 15px;
|
463
|
+
}
|
464
|
+
}
|
465
|
+
|
466
|
+
@media(max-width:993px) {
|
467
|
+
ul.banner-social-buttons li {
|
468
|
+
display: block;
|
469
|
+
margin-bottom: 20px;
|
470
|
+
padding: 0;
|
471
|
+
}
|
472
|
+
|
473
|
+
ul.banner-social-buttons li:last-child {
|
474
|
+
margin-bottom: 0;
|
475
|
+
}
|
476
|
+
}
|
477
|
+
|
478
|
+
footer {
|
479
|
+
padding: 50px 0;
|
480
|
+
}
|
481
|
+
|
482
|
+
footer p {
|
483
|
+
font-family: $font-family-serif;
|
484
|
+
margin: 0;
|
485
|
+
}
|
486
|
+
|
487
|
+
::-moz-selection {
|
488
|
+
text-shadow: none;
|
489
|
+
background: #0c0c0c;
|
490
|
+
background: rgba(255,255,255,.2);
|
491
|
+
}
|
492
|
+
|
493
|
+
::selection {
|
494
|
+
text-shadow: none;
|
495
|
+
background: #0c0c0c;
|
496
|
+
background: rgba(255,255,255,.2);
|
497
|
+
}
|
498
|
+
|
499
|
+
img::selection {
|
500
|
+
background: 0 0;
|
501
|
+
}
|
502
|
+
|
503
|
+
img::-moz-selection {
|
504
|
+
background: 0 0;
|
505
|
+
}
|
506
|
+
|
507
|
+
body {
|
508
|
+
webkit-tap-highlight-color: rgba(255,255,255,.2);
|
509
|
+
}
|
510
|
+
|
511
|
+
table {
|
512
|
+
font-size: 20px;
|
513
|
+
}
|
514
|
+
|
515
|
+
.detail-section {
|
516
|
+
margin-top: 30px;
|
517
|
+
}
|
518
|
+
|
519
|
+
.detail-section p {
|
520
|
+
font-size: 18px;
|
521
|
+
margin-bottom: 10px;
|
522
|
+
}
|
523
|
+
|
524
|
+
.detail-section a img {
|
525
|
+
border: solid #0c0c0c 1px;
|
526
|
+
}
|
527
|
+
|
528
|
+
.detail-section ul {
|
529
|
+
font-size: 18px;
|
530
|
+
margin-bottom: 20px;
|
531
|
+
}
|
532
|
+
|
533
|
+
.detail-section #map {
|
534
|
+
margin-top: 10px;
|
535
|
+
margin-bottom: 10px;
|
536
|
+
height: auto;
|
537
|
+
line-height: 2;
|
538
|
+
}
|
539
|
+
|
540
|
+
.info-list {
|
541
|
+
font-size: 18px;
|
542
|
+
/*width: 60%;*/
|
543
|
+
}
|
544
|
+
|
545
|
+
.info-list dd {
|
546
|
+
margin-left: 20px;
|
547
|
+
margin-bottom: 10px;
|
548
|
+
}
|
549
|
+
|
550
|
+
#c3map {
|
551
|
+
width: 100%;
|
552
|
+
height: 400px;
|
553
|
+
border: solid 1px black;
|
554
|
+
}
|
555
|
+
|
556
|
+
#downingpano,
|
557
|
+
#downingmap {
|
558
|
+
width: 50%;
|
559
|
+
height: 400px;
|
560
|
+
border: solid 1px black;
|
561
|
+
float: left;
|
562
|
+
}
|
563
|
+
|
564
|
+
.love-hearts p {
|
565
|
+
font-size: 20px;
|
566
|
+
}
|
567
|
+
|
568
|
+
.love-hearts #us1 {
|
569
|
+
width: 250px;
|
570
|
+
float: left;
|
571
|
+
margin: 10px;
|
572
|
+
}
|
573
|
+
|
574
|
+
.love-hearts #us2 {
|
575
|
+
width: 250px;
|
576
|
+
float: right;
|
577
|
+
margin: 10px;
|
578
|
+
}
|
579
|
+
|
580
|
+
.love-hearts #us3 {
|
581
|
+
width: 400px;
|
582
|
+
margin: 10px;
|
583
|
+
margin-left: auto;
|
584
|
+
margin-right: auto;
|
585
|
+
|
586
|
+
}
|
587
|
+
|
588
|
+
.error {
|
589
|
+
color: #af0000;
|
590
|
+
}
|
591
|
+
|
592
|
+
.subnavbar {
|
593
|
+
color: #0c0c0c;
|
594
|
+
font-family: $font-family-sans-serif;
|
595
|
+
margin-bottom: 30px;
|
596
|
+
border-bottom: 1px solid #0c0c0c;
|
597
|
+
}
|
598
|
+
|
599
|
+
.subnavbar a {
|
600
|
+
color: #0c0c0c;
|
601
|
+
}
|
602
|
+
|
603
|
+
.subnavbar a:hover,
|
604
|
+
.subnavbar a:focus,
|
605
|
+
.submenuactive {
|
606
|
+
background-color: rgba(255,255,255,.3) !important;
|
607
|
+
outline: 0;
|
608
|
+
}
|
609
|
+
|
610
|
+
.sub-anchor {
|
611
|
+
position: absolute;
|
612
|
+
top: -100px;
|
613
|
+
left: -100px;
|
614
|
+
}
|
615
|
+
|
616
|
+
.form-extra-padding {
|
617
|
+
padding-top: 7px;
|
618
|
+
}
|