layout and things

This commit is contained in:
Kameron Kenny 2019-02-14 14:44:31 -05:00
parent cd6b80224f
commit 65f34e020d
10 changed files with 94 additions and 46 deletions

View File

@ -19,16 +19,25 @@ linkedin_username: kameronkenny
google_analytics: "UA-118953072-1"
favorite_books:
- name: "Extreme Ownership: How U.S. Navy SEALs Lead and Win"
- name: "Extreme Ownership"
subtitle: "How U.S. Navy SEALs Lead and Win"
url: 'https://books.google.com/books?id=tpspDwAAQBAJ'
author: "Jocko Willink, Leif Babin"
- name: "Multipliers"
url: 'https://books.google.com/books?id=kF26e_S6l_cC'
author: "Liz Wiseman, Greg McKeown"
- name: "The Phoenix Project"
url: 'https://books.google.com/books?id=_An-CAAAQBAJ'
author: "Gene Kim, Kevin Behr, George Spafford"
currently_reading:
- name: "The Captain Class: A New Theory on Leadership"
- name: "The Captain Class"
subtitle: "A New Theory on Leadership"
url: 'https://books.google.com/books?id=pKD4DAAAQBAJ'
author: "Sam Walker"
work_disclaimer: "This site contains my thoughts and opinions, and doesn't reflect those of the company I work for."
copyright: "Copyright 2019, Kameron Kenny"
# Build settings
markdown: kramdown

View File

@ -1,30 +1,34 @@
<footer>
<div class="site-footer">
<div class="wrapper">
<div class="footer-content">
<span class="footer-heading">{{ site.title }}</span><br />
<a href="{{site.github.owner_url }}">Github</a><br />
<a href="{{site.github.owner_url }}"><img width="25px" src="/assets/images/octocat.jpg"> Github</a><br />
{% if site.twitter_username %}
<a href="https://twitter.com/{{ site.twitter_username }}">Twitter</a><br />
<a href="https://twitter.com/{{ site.twitter_username }}"><img width="25px" src="/assets/images/twitter.png"> Twitter</a><br />
{% endif %}
{% if site.linkedin_username %}
<a href="https://linkedin.com/in/{{ site.linkedin_username }}">LinkedIn</a><br />
<a href="https://linkedin.com/in/{{ site.linkedin_username }}"><img width="25px" src="/assets/images/linkedin.png"> LinkedIn</a><br />
{% endif %}
<p></p>
{% if site.copyright %}
<div class="copyright">
{{ site.copyright }}
</div>
{% endif %}
{% if site.work_disclaimer %}
<div class="disclaimer">
{{ site.work_disclaimer }}
</div>
{% endif %}
</div>
</div>
<br />
<br />
<br />
<br />
<div class="wrapper">
<!---
<p>{{ site.description | default: site.github.project_tagline }}</p>
-->
<p>
</p>
<span class="credits left">Project maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></span><br />
<span class="credits right">Hosted on GitHub Pages</span>
</div>
</footer>
{% if site.google_analytics %}
<script>

View File

@ -1,3 +1,4 @@
<body>
<div id="header">
<div id="title" class="topnav">
<a href="{{ site.url }}">{{ site.title | default: site.github.repository_name }}</a>
@ -9,6 +10,3 @@
</div>
</div><!-- end header -->
<div class="wrapper">
<section>

View File

@ -1,10 +1,8 @@
{% include head.html %}
<body>
{% include header.html %}
<div class="wrapper">
<section>
{{ content }}
</section>
</div>
{% include footer.html %}

View File

@ -1,10 +1,4 @@
{% include head.html %}
<body>
{% include header.html %}
{{ content }}
</section>
</div>
{% include footer.html %}
---
layout: default
---
{{ content }}

View File

@ -15,13 +15,19 @@ My current focus is leading a large distributed team on a journey into Infrastru
## Favorite Books
{% for book in site.favorite_books %}
- _[{{ book.name }}]({{ book.url }})_
<div class="book">
[{{ book.name }}]({{ book.url }}) <br />
_[{{ book.subtitle }}]({{ book.url }})_ <br />
By: {{ book.author }}
</div>
{% endfor %}
## Currently Reading
{% for book in site.currently_reading %}
- _[{{ book.name }}]({{ book.url }})_
<div class="book">
[{{ book.name }}]({{ book.url }}) <br />
_[{{ book.subtitle }}]({{ book.url }})_ <br />
By: {{ book.author }}
</div>
{% endfor %}
#### Disclaimer
_I work for a large company. This site contains my thoughts and opinions, and doesn't necessarily reflect the company I work for._

View File

@ -5,6 +5,7 @@
.topnav {
background-color: #333;
max-width: 750px;
}
/* Style the links inside the navigation bar */
@ -29,16 +30,54 @@
color: white;
}
.wrapper {
max-width: 650px;
margin: 0 auto;
position: relative;
padding: 0 20px;
padding-bottom: 10.5rem;
}
.site-footer {
width: 100%;
border-top: 1px solid gray;
padding: 3px 0;
position:fixed;
background: url(../images/nav-bg.gif) #353535;
position: fixed;
bottom: 0;
height: 10.5rem;
background: #353535;
}
.footer-content {
max-width: 750px; margin: 0 auto; position: relative; padding: 0 20px;
}
.footer-heading {
font-size: 18px;
}
.disclaimer, .copyright {
padding: 3px;
font-size: 10px;
}
.book {
border: 3px;
padding: 2px;
margin: 2px;
}
.dumb {
width: 100px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#footer {
position: absolute;
bottom: 0;
width: 100%;
height: 2.5rem;
background: #353535;
}

BIN
assets/images/linkedin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
assets/images/octocat.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
assets/images/twitter.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB