-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
video embed shortcode, project single page with meta
- Loading branch information
Showing
17 changed files
with
215 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
www/wp-content/themes/ation2016/src/styles/components/_footer.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,3 @@ | ||
footer { | ||
border-top: 1px solid $light-grey; | ||
font-family: $header-font; | ||
.footer-links { | ||
ul { | ||
list-style-type: none; | ||
margin-left: 0; | ||
padding-left: 0; | ||
li { | ||
display: inline-block; | ||
color: $grey; | ||
font-family: inherit; | ||
padding-right: 20px; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 54 additions & 6 deletions
60
www/wp-content/themes/ation2016/src/styles/type/_typography.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,61 @@ | ||
h1, h2, h3, h4, h5, h6 { | ||
$p-font-size: 18px; | ||
$p-color: $grey; | ||
|
||
$footer-font-size: 12px; | ||
$footer-link-color: $grey; | ||
|
||
$link-color: $orange; | ||
|
||
|
||
h1, h2, h3, h4, h5, h6, p, li, aside { | ||
font-family: $header-font; | ||
&.grey { | ||
color: $grey; | ||
} | ||
} | ||
|
||
h1, h2, h3, h4, h5, h6 { | ||
margin-bottom: 0.7em; | ||
} | ||
|
||
p, li, span { | ||
font-family: $body-font; | ||
p { | ||
margin-bottom: 20px; | ||
&:first-of-type { | ||
margin-top: 20px; | ||
} | ||
} | ||
|
||
p, li { | ||
color: $p-color; | ||
font-size: $p-font-size; | ||
&.large { | ||
font-size: $p-font-size + 4px; | ||
//margin-top: 1em; | ||
//margin-bottom: 1em; | ||
} | ||
} | ||
|
||
a { | ||
color: $link-color; | ||
&:hover { | ||
color: darken( $link-color, 10% ); | ||
} | ||
} | ||
|
||
#content { | ||
p, li, span { | ||
font-size: 18px; | ||
.footer-links { | ||
ul { | ||
list-style-type: none; | ||
margin: 0; | ||
padding: 0; | ||
li { | ||
display: inline-block; | ||
padding-right: 20px; | ||
color: $p-color; | ||
font-size: $footer-font-size; | ||
line-height: ($footer-font-size * 2) + 12px; | ||
a,a:hover { | ||
color: $footer-link-color; | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
www/wp-content/themes/ation2016/src/styles/utility/_embeds.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.video-contain { | ||
position: relative; | ||
padding-bottom: 53%; | ||
padding-top: 30px; | ||
height: 0; | ||
overflow: hidden; | ||
|
||
iframe { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
} |
3 changes: 1 addition & 2 deletions
3
www/wp-content/themes/ation2016/static/scripts/cells-by-row.min.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
3 changes: 1 addition & 2 deletions
3
www/wp-content/themes/ation2016/static/scripts/imagesLoaded.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
43 changes: 43 additions & 0 deletions
43
www/wp-content/themes/ation2016/templates/single-project.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{% extends "base.twig" %} | ||
|
||
{% block content %} | ||
|
||
<div class="content-wrapper"> | ||
<article class="post-type-{{post.post_type}} container" id="post-{{post.ID}}"> | ||
<section class="article-content"> | ||
<div class="row"> | ||
<div class="col-xs-12"> | ||
<h1 class="article-h1 grey">Case Study: {{post.title}}</h1> | ||
</div> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="col-xs-12"> | ||
{{ post.content }} | ||
</div> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="col-xs-12"> | ||
<p class="large">Services: | ||
{% for service in post.terms('service') %} | ||
<a href="{{ service.link }}">{{ service.name }}</a>{% if not loop.last %}, {% endif %} | ||
{% endfor %} | ||
</p> | ||
</div> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="col-xs-12"> | ||
<p class="large">Credits: | ||
{% for member in post.get_field('members') %} | ||
<a href="{{ TimberPost(member).link }}">{{member.post_title}}</a>{% if not loop.last %}, {% endif %} | ||
{% endfor %} | ||
</p> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
</article> | ||
</div><!-- /content-wrapper --> | ||
{% endblock %} |
Oops, something went wrong.