Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
animations, style and tweaking some pages
- Loading branch information
1 parent
d8f4872
commit e0659c0
Showing
15 changed files
with
218 additions
and
14 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 was deleted.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
$xsmall: 576px; | ||
$small: 768px; | ||
$normal: 992px; | ||
$wide: 1200px; | ||
$wide: 1200px; | ||
|
||
$primaryHighlightColour: #02bdd5; | ||
$primaryTextColour: #555; | ||
$primaryHeaderColour: #333; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
@keyframes fadeInUp { | ||
0% { | ||
opacity: 0; | ||
transform: translateY(20px); | ||
} | ||
|
||
100% { | ||
opacity: 1; | ||
transform: translateY(0); | ||
} | ||
} | ||
|
||
.fadeInUp { | ||
animation-name: fadeInUp; | ||
} | ||
|
||
@keyframes fadeOutUp { | ||
0% { | ||
opacity: 1; | ||
transform: translateY(0); | ||
} | ||
|
||
100% { | ||
opacity: 0; | ||
transform: translateY(-20px); | ||
} | ||
} | ||
|
||
.fadeOutUp { | ||
animation-name: fadeOutUp; | ||
} | ||
|
||
@keyframes fadeInLeft { | ||
0% { | ||
opacity: 0; | ||
transform: translateX(-20px); | ||
} | ||
|
||
100% { | ||
opacity: 1; | ||
transform: translateX(0); | ||
} | ||
} | ||
|
||
.fadeInLeft { | ||
animation-name: fadeInLeft; | ||
} | ||
|
||
@keyframes fadeInRight { | ||
0% { | ||
opacity: 0; | ||
transform: translateX(20px); | ||
} | ||
|
||
100% { | ||
opacity: 1; | ||
transform: translateX(0); | ||
} | ||
} | ||
|
||
.fadeInRight { | ||
animation-name: fadeInRight; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.series { | ||
font-size: 0.7em; | ||
font-style: italic; | ||
border-bottom: 1px solid #ccc; | ||
color: #ddd; | ||
} | ||
.series .series-intro { | ||
margin-bottom: 1em; | ||
} |
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,28 @@ | ||
{{ define "main" }} | ||
|
||
<section class="main"> | ||
<header> | ||
<div class="container"> | ||
<h1>{{ .Title }}</h1> | ||
</div> | ||
</header> | ||
<section class="container"> | ||
<article> | ||
<section> | ||
{{ .Content }} | ||
</section> | ||
</article> | ||
</section> | ||
|
||
<footer> | ||
{{ if and (.IsPage) (.GitInfo) }} | ||
<small class="gray"><em>Published: {{ .Page.Lastmod }}, Version: <a href="https://github.com/aaronpowell/aaronpowell.github.io/commit/{{ .GitInfo.AbbreviatedHash }}" target="_blank">{{ .GitInfo.AbbreviatedHash }}</a></em></small> | ||
{{ else }} | ||
<small class="gray"><em>Published: {{ .Page.Lastmod }}</em></small> | ||
{{ end }} | ||
</footer> | ||
|
||
</section> | ||
|
||
|
||
{{ end }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{{ if .Params.series }} | ||
{{ $.Scratch.Add "current_link" .Permalink }} | ||
{{ $.Scratch.Add "series_index" 1 }} | ||
<div class="series"> | ||
<p class="series-intro"> | ||
{{ range first 1 (where .Site.RegularPages.ByDate "Params.series" .Params.series) }} | ||
{{ $.Params.series_intro }} | ||
{{ end }} | ||
</p> | ||
<ul> | ||
{{ range where .Site.RegularPages.ByDate "Params.series" .Params.series }} | ||
<li> | ||
{{ if eq ($.Scratch.Get "current_link") .Permalink }} | ||
Part {{ $.Scratch.Get "series_index" }} - {{ .Params.series_title }} (this post) | ||
{{ else }} | ||
<a href="{{ .Permalink }}" title="Part {{ $.Scratch.Get "series_index" }} - {{ .Params.series_title }}">Part {{ $.Scratch.Get "series_index" }} - {{ .Params.series_title }}</a> | ||
{{ end }} | ||
{{ $.Scratch.Add "series_index" 1 }} | ||
</li> | ||
{{ end }} | ||
</ul> | ||
</div> | ||
{{ end }} |