revises layouts and refactors SCSS styles
This commit is contained in:
parent
a557ee73fc
commit
7029ccd4f5
17 changed files with 741 additions and 596 deletions
|
@ -1,22 +1,14 @@
|
||||||
<div>
|
<div class="post--navigation post--navigation-single">
|
||||||
<ul class="post__nav">
|
{{ with .PrevInSection -}}
|
||||||
<li class="post__nav--next">
|
<a href="{{ .RelPermalink }}" class="post--navigation-prev">
|
||||||
{{ with .NextInSection -}}
|
<i aria-hidden="true" class="fa fa-chevron-left"></i>
|
||||||
<a href="{{ .RelPermalink }}">
|
<span>{{ .Title }}</span>
|
||||||
<span class="next__heading">NEXT</span>
|
</a>
|
||||||
<span>{{ .Title }}</span>
|
{{- end }}
|
||||||
</a>
|
{{ with .NextInSection -}}
|
||||||
<i class="fas fa-chevron-right"></i>
|
<a href="{{ .RelPermalink }}" class="post--navigation-next">
|
||||||
{{- end }}
|
<span>{{ .Title }}</span>
|
||||||
</li>
|
<i aria-hidden="true" class="fa fa-chevron-right"></i>
|
||||||
<li class="post__nav--previous">
|
</a>
|
||||||
{{ with .PrevInSection -}}
|
{{- end }}
|
||||||
<span class="previous__heading">PREVIOUS</span>
|
|
||||||
<i class="fas fa-chevron-left"></i>
|
|
||||||
<a href="{{ .RelPermalink }}">
|
|
||||||
<span class="previous__title">{{ .Title }}</span>
|
|
||||||
</a>
|
|
||||||
{{- end }}
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
<br/>
|
<br/>
|
||||||
{{ $subtotal := sub $total 1 }} <i class="fas fa-tags"></i>
|
{{ $subtotal := sub $total 1 }} <i class="fas fa-tags"></i>
|
||||||
{{ range $i, $tag := . }}
|
{{ range $i, $tag := . }}
|
||||||
<a class="post__tag" href="{{ "/tags/" | relURL }}{{ $tag | urlize }}">#{{ $tag | lower }}</a>
|
<a class="post__tag" href="{{ "/tags/" | relURL }}{{ $tag | urlize }}">{{ $tag | lower }}</a>
|
||||||
{{ if lt $i $subtotal }} {{ end }}
|
{{ if lt $i $subtotal }} {{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -31,4 +31,4 @@
|
||||||
<br/>
|
<br/>
|
||||||
<i class="fas fa-clock"></i> {{ .ReadingTime }} min read
|
<i class="fas fa-clock"></i> {{ .ReadingTime }} min read
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar text-center">
|
<div class="sidebar">
|
||||||
<div class="container {{ with .Site.Params.sidebarSticky -}}sidebar-sticky{{- end }}">
|
<div class="container {{ with .Site.Params.sidebarSticky -}}sidebar-sticky{{- end }}">
|
||||||
<div class="sidebar-about">
|
<div class="sidebar-about">
|
||||||
<div class="site__title">
|
<div class="site__title">
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<section class="social text-center">
|
<section class="social">
|
||||||
{{ with .Site.Params.social.twitter -}}
|
{{ with .Site.Params.social.twitter -}}
|
||||||
<a href="https://twitter.com/{{.}}"><i class="fab fa-twitter fa-lg" aria-hidden="true"></i></a>
|
<a href="https://twitter.com/{{.}}"><i class="fab fa-twitter fa-lg" aria-hidden="true"></i></a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
<a href="https://stackoverflow.com/users/{{.}}"><i class="fab fa-stack-overflow fa-lg" aria-hidden="true"></i></a>
|
<a href="https://stackoverflow.com/users/{{.}}"><i class="fab fa-stack-overflow fa-lg" aria-hidden="true"></i></a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ with .Site.Params.social.medium}}
|
{{ with .Site.Params.social.medium}}
|
||||||
<a href="https://medium.com/{{.}}"><i class="fab fa-medium fa-lg" aria-hidden="true"></i></a>
|
<a href="https://medium.com/@{{.}}"><i class="fab fa-medium fa-lg" aria-hidden="true"></i></a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ with .Site.Params.social.xing -}}
|
{{ with .Site.Params.social.xing -}}
|
||||||
<a href="https://www.xing.com/profile/{{.}}"><i class="fab fa-xing fa-lg" aria-hidden="true"></i></a>
|
<a href="https://www.xing.com/profile/{{.}}"><i class="fab fa-xing fa-lg" aria-hidden="true"></i></a>
|
||||||
|
|
|
@ -4,6 +4,12 @@
|
||||||
@import "poole/layout";
|
@import "poole/layout";
|
||||||
@import "poole/posts";
|
@import "poole/posts";
|
||||||
// hyde-hyde
|
// hyde-hyde
|
||||||
@import 'hyde-hyde/themes';
|
@import 'hyde-hyde/mixins';
|
||||||
@import 'hyde-hyde/projects';
|
@import 'hyde-hyde/base';
|
||||||
|
@import 'hyde-hyde/theme';
|
||||||
|
@import 'hyde-hyde/sidebar';
|
||||||
|
@import 'hyde-hyde/post';
|
||||||
|
@import 'hyde-hyde/code';
|
||||||
|
@import 'hyde-hyde/gist';
|
||||||
|
@import 'hyde-hyde/project';
|
||||||
@import 'hyde-hyde/customised';
|
@import 'hyde-hyde/customised';
|
||||||
|
|
111
static-src/scss/hyde-hyde/_base.scss
Normal file
111
static-src/scss/hyde-hyde/_base.scss
Normal file
|
@ -0,0 +1,111 @@
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4 {
|
||||||
|
font-weight: $heading-font-weight;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: $h1-font-size;
|
||||||
|
line-height: $h1-line-height;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: $h2-font-size;
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: $h3-font-size;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
font-size: $h4-font-size;
|
||||||
|
}
|
||||||
|
|
||||||
|
%quotebox {
|
||||||
|
padding: .8889rem;
|
||||||
|
margin-top: 1.4em;
|
||||||
|
margin-left: 0px;
|
||||||
|
margin-right: 0px;
|
||||||
|
border-radius: 6px;
|
||||||
|
border-left-width: 6px;
|
||||||
|
border-left-style: solid;
|
||||||
|
border-right: 6px solid transparent;
|
||||||
|
border-right-width: 6px;
|
||||||
|
border-right-style: solid;
|
||||||
|
border-right-color: rgba(0, 0, 0, 0) transparent;
|
||||||
|
color: #7a7a7a;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
background-color: #fafafa;
|
||||||
|
border-left-color: #e6e6e6;
|
||||||
|
@extend %quotebox;
|
||||||
|
}
|
||||||
|
|
||||||
|
.important {
|
||||||
|
background-color: #fbf8e8;
|
||||||
|
border-left-color: #fee450;
|
||||||
|
@extend %quotebox;
|
||||||
|
}
|
||||||
|
|
||||||
|
.warning {
|
||||||
|
background-color: #f2dbdc;
|
||||||
|
border-left-color: #ae272f;
|
||||||
|
@extend %quotebox;
|
||||||
|
}
|
||||||
|
|
||||||
|
kbd {
|
||||||
|
padding: .1em .6em;
|
||||||
|
border: 1px solid $gray-2;
|
||||||
|
font-size: 0.8em;
|
||||||
|
line-height: 1.4;
|
||||||
|
background-color: #fafbfc;
|
||||||
|
color: $gray-9;
|
||||||
|
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px $white inset;
|
||||||
|
border-radius: 3px;
|
||||||
|
display: inline-block;
|
||||||
|
margin: 0 .1em;
|
||||||
|
text-shadow: 0 1px 0 $white;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
//border-bottom: 1px dotted;
|
||||||
|
color: $link-color;
|
||||||
|
text-decoration: none;
|
||||||
|
word-wrap: break-word;
|
||||||
|
&.sidebar-nav-item {
|
||||||
|
&:hover {
|
||||||
|
@include link-no-decoration();
|
||||||
|
}
|
||||||
|
&:focus {
|
||||||
|
@include link-no-decoration();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&:focus {
|
||||||
|
@include link-hover();
|
||||||
|
&.tag {
|
||||||
|
@include link-no-decoration();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&:hover {
|
||||||
|
@include link-hover();
|
||||||
|
&.tag {
|
||||||
|
@include link-no-decoration();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.tag {
|
||||||
|
@include link-no-decoration();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pull-right {
|
||||||
|
float: right;
|
||||||
|
}
|
44
static-src/scss/hyde-hyde/_code.scss
Normal file
44
static-src/scss/hyde-hyde/_code.scss
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
pre {
|
||||||
|
border: 1px solid $gray-1;
|
||||||
|
border-radius: 2px;
|
||||||
|
tab-size: 2;
|
||||||
|
code {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
%code-font {
|
||||||
|
font-family: $code-font-family;
|
||||||
|
font-size: $code-font-size;
|
||||||
|
line-height: $code-line-height;
|
||||||
|
}
|
||||||
|
|
||||||
|
%code-in-rounded-box {
|
||||||
|
border-radius: 3px;
|
||||||
|
padding: 2px 4px;
|
||||||
|
color: $code-color;
|
||||||
|
background-color: $code-background-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
%code-style-codersblock {
|
||||||
|
padding: 2px 4px;
|
||||||
|
border: 1px dashed #adb5db;
|
||||||
|
background-color: $gray-1;
|
||||||
|
}
|
||||||
|
|
||||||
|
-code {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
@extend %code-font;
|
||||||
|
@extend %code-in-rounded-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
@extend %code-font;
|
||||||
|
@extend %code-style-codersblock;
|
||||||
|
}
|
||||||
|
|
||||||
|
// highlight.js
|
||||||
|
.hljs {
|
||||||
|
white-space: pre;
|
||||||
|
border:none;
|
||||||
|
}
|
|
@ -1,7 +1,8 @@
|
||||||
@media(min-width: 48em) {
|
@media(min-width: 48em) {
|
||||||
html {
|
html,body {
|
||||||
-webkit-text-size-adjust: 100%; // iOS
|
-webkit-text-size-adjust: 100%; // iOS
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
box-direction: normal;
|
||||||
}
|
}
|
||||||
.sidebar {
|
.sidebar {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
@ -35,7 +36,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@media(min-width: 58em) {
|
@media(min-width: 58em) {
|
||||||
html {
|
html,body {
|
||||||
text-size-adjust: none;
|
text-size-adjust: none;
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
@ -43,81 +44,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
%link-hover {
|
|
||||||
color: $link-hover-color;
|
|
||||||
border-bottom: 1px dotted $gray-4;
|
|
||||||
text-decoration: none;
|
|
||||||
background: transparent;
|
|
||||||
background-color: transparent;
|
|
||||||
word-wrap: break-word;
|
|
||||||
}
|
|
||||||
%link-no-decoration {
|
|
||||||
border-style: none;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar {
|
|
||||||
background-color: $sidebar-color;
|
|
||||||
color: rgb(255, 255, 255);
|
|
||||||
color: rgba(255, 255, 255, 0.5);
|
|
||||||
padding: 2rem 1rem;
|
|
||||||
text-align: center;
|
|
||||||
a {
|
|
||||||
color: $gray-1;
|
|
||||||
border: none;
|
|
||||||
&:hover {
|
|
||||||
@extend %link-no-decoration;
|
|
||||||
}
|
|
||||||
&:focus {
|
|
||||||
@extend %link-no-decoration;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar-nav {
|
|
||||||
list-style: none;
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
margin-top: 2rem;
|
|
||||||
padding-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar-nav-item {
|
|
||||||
display: block;
|
|
||||||
line-height: 1.75;
|
|
||||||
.active {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
//border-bottom: 1px dotted;
|
|
||||||
color: $link-color;
|
|
||||||
text-decoration: none;
|
|
||||||
word-wrap: break-word;
|
|
||||||
&.sidebar-nav-item {
|
|
||||||
&:hover {
|
|
||||||
@extend %link-no-decoration;
|
|
||||||
}
|
|
||||||
&:focus {
|
|
||||||
@extend %link-no-decoration;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&:focus {
|
|
||||||
@extend %link-hover;
|
|
||||||
&.tag {
|
|
||||||
@extend %link-no-decoration;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&:hover {
|
|
||||||
@extend %link-hover;
|
|
||||||
&.tag {
|
|
||||||
@extend %link-no-decoration;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&.tag {
|
|
||||||
@extend %link-no-decoration;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
padding-bottom: 2rem;
|
padding-bottom: 2rem;
|
||||||
|
@ -136,151 +62,12 @@ a {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media(max-width: 768px) {
|
@media(max-width: 48rem) {
|
||||||
.hidden-tablet {
|
.hidden-tablet {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
h4 {
|
|
||||||
font-weight: $heading-font-weight;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
font-size: $h1-font-size;
|
|
||||||
line-height: $h1-line-height;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
font-size: $h2-font-size;
|
|
||||||
margin-bottom: .5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
font-size: $h3-font-size;
|
|
||||||
}
|
|
||||||
|
|
||||||
h4 {
|
|
||||||
font-size: $h4-font-size;
|
|
||||||
}
|
|
||||||
|
|
||||||
%quotebox {
|
|
||||||
padding: .8889rem;
|
|
||||||
margin-top: 1.4em;
|
|
||||||
margin-left: 0px;
|
|
||||||
margin-right: 0px;
|
|
||||||
border-radius: 6px;
|
|
||||||
border-left-width: 6px;
|
|
||||||
border-left-style: solid;
|
|
||||||
border-right: 6px solid transparent;
|
|
||||||
border-right-width: 6px;
|
|
||||||
border-right-style: solid;
|
|
||||||
border-right-color: rgba(0, 0, 0, 0) transparent;
|
|
||||||
color: #7a7a7a;
|
|
||||||
}
|
|
||||||
|
|
||||||
blockquote {
|
|
||||||
background-color: #fafafa;
|
|
||||||
border-left-color: #e6e6e6;
|
|
||||||
@extend %quotebox;
|
|
||||||
}
|
|
||||||
|
|
||||||
.important {
|
|
||||||
background-color: #fbf8e8;
|
|
||||||
border-left-color: #fee450;
|
|
||||||
@extend %quotebox;
|
|
||||||
}
|
|
||||||
|
|
||||||
.warning {
|
|
||||||
background-color: #f2dbdc;
|
|
||||||
border-left-color: #ae272f;
|
|
||||||
@extend %quotebox;
|
|
||||||
}
|
|
||||||
|
|
||||||
.img--circle {
|
|
||||||
border-radius: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.img--headshot {
|
|
||||||
height: 115px;
|
|
||||||
width: 115px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.img--caption {
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.site__title {
|
|
||||||
font-size: $site__title-font-size;
|
|
||||||
margin-bottom: .5rem;
|
|
||||||
a:hover {
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.site__description {
|
|
||||||
font-size: 1.285rem;
|
|
||||||
font-weight: 300;
|
|
||||||
}
|
|
||||||
|
|
||||||
.social {
|
|
||||||
a {
|
|
||||||
border: none;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-center {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre {
|
|
||||||
border: 1px solid #eee;
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 1px;
|
|
||||||
tab-size: 2;
|
|
||||||
code {
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 2px 4px;
|
|
||||||
white-space: pre-wrap;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
%code-in-box {
|
|
||||||
border-radius: 3px;
|
|
||||||
padding: 2px 4px;
|
|
||||||
color: $code-color;
|
|
||||||
background-color: $code-background-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
code {
|
|
||||||
font-family: $code-font-family;
|
|
||||||
white-space: pre-wrap;
|
|
||||||
font-size: $code-font-size;
|
|
||||||
line-height: $code-line-height;
|
|
||||||
@extend %code-in-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
li code {
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 2px 4px;
|
|
||||||
white-space: pre-wrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
td code {
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 2px 4px;
|
|
||||||
white-space: pre-wrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.copyright {
|
|
||||||
font-size: $copyright-font-size;
|
|
||||||
}
|
|
||||||
|
|
||||||
.element--center {
|
.element--center {
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
@ -291,32 +78,6 @@ td code {
|
||||||
font-size: $section__title-font-size;
|
font-size: $section__title-font-size;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post__meta {
|
|
||||||
font-size: $meta-font-size;
|
|
||||||
color: $meta-color;
|
|
||||||
font-weight: $meta-font-weight;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post__category {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post__tag {
|
|
||||||
background: $tag-background-color;
|
|
||||||
border-radius: 2px;
|
|
||||||
color: $tag-color;
|
|
||||||
font-size: $tag-font-size;
|
|
||||||
font-weight: bold;
|
|
||||||
padding: 2px 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post__subtitle {
|
|
||||||
display: block;
|
|
||||||
font-size: $post__subtitle-font-size;
|
|
||||||
font-style: italic;
|
|
||||||
padding: 0 0 1rem 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-list__item {
|
.post-list__item {
|
||||||
margin-bottom: 3em;
|
margin-bottom: 3em;
|
||||||
}
|
}
|
||||||
|
@ -339,85 +100,6 @@ td code {
|
||||||
margin-top: .2rem;
|
margin-top: .2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.post__nav {
|
|
||||||
font-size: .85rem;
|
|
||||||
background-color: $gray-1;
|
|
||||||
border-top: 2px solid $gray-2;
|
|
||||||
border-bottom: 2px solid $gray-2;
|
|
||||||
width: 100%;
|
|
||||||
list-style: none;
|
|
||||||
display: table;
|
|
||||||
table-layout: fixed;
|
|
||||||
li {
|
|
||||||
width: 50%;
|
|
||||||
display: table-cell;
|
|
||||||
text-align: center;
|
|
||||||
i {
|
|
||||||
padding: .8rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media(max-width: 719px) {
|
|
||||||
ul.post__nav {
|
|
||||||
li {
|
|
||||||
width: 100%;
|
|
||||||
display: table-cell;
|
|
||||||
padding-top: 1rem;
|
|
||||||
padding-bottom: 1rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.post__nav--next {
|
|
||||||
float: right;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
.next__heading {
|
|
||||||
display: block;
|
|
||||||
color: #aaa;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.post__nav--previous {
|
|
||||||
float: left;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
.previous__heading {
|
|
||||||
display: block;
|
|
||||||
color: #aaa;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment--heading {
|
|
||||||
font-size: 1.5rem;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
.pull-right {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
kbd {
|
|
||||||
padding: .1em .6em;
|
|
||||||
border: 1px solid $gray-2;
|
|
||||||
font-size: 0.8em;
|
|
||||||
line-height: 1.4;
|
|
||||||
background-color: #fafbfc;
|
|
||||||
color: $gray-9;
|
|
||||||
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px $white inset;
|
|
||||||
border-radius: 3px;
|
|
||||||
display: inline-block;
|
|
||||||
margin: 0 .1em;
|
|
||||||
text-shadow: 0 1px 0 $white;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
// highlight.js
|
|
||||||
.hljs {
|
|
||||||
white-space: pre;
|
|
||||||
}
|
|
||||||
|
|
||||||
#references~ol {
|
#references~ol {
|
||||||
font-size: .9rem;
|
font-size: .9rem;
|
||||||
}
|
}
|
||||||
|
|
57
static-src/scss/hyde-hyde/_gist.scss
Normal file
57
static-src/scss/hyde-hyde/_gist.scss
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
/*
|
||||||
|
// https://codersblock.com/blog/customizing-github-gists
|
||||||
|
//
|
||||||
|
body .gist {
|
||||||
|
.gist-file {
|
||||||
|
margin-bottom: 0;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
.gist-data {
|
||||||
|
border-bottom: none;
|
||||||
|
border-radius: 0;
|
||||||
|
background-color: $gray-3;
|
||||||
|
}
|
||||||
|
.blob-wrapper {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
.highlight {
|
||||||
|
background-color: transparent;
|
||||||
|
font-family: Droid Sans Mono, monospace;
|
||||||
|
font-size: 14px;
|
||||||
|
td {
|
||||||
|
border: none;
|
||||||
|
padding: 5px 15px !important;
|
||||||
|
line-height: 1;
|
||||||
|
font-family: inherit;
|
||||||
|
font-size: inherit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
tr {
|
||||||
|
&:first-child td {
|
||||||
|
padding-top: 15px !important;
|
||||||
|
}
|
||||||
|
&:last-child td {
|
||||||
|
padding-bottom: 15px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.blob-num {
|
||||||
|
color: #ced4da;
|
||||||
|
background-color: #495057;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
.gist-meta {
|
||||||
|
//display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
body .gist {
|
||||||
|
.gist-data {
|
||||||
|
background-color: $gray-0;
|
||||||
|
}
|
||||||
|
.highlight {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
td {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
}
|
|
@ -10,3 +10,17 @@
|
||||||
-ms-transform: rotate($deg);
|
-ms-transform: rotate($deg);
|
||||||
-o-transform: rotate($deg);
|
-o-transform: rotate($deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@mixin link-no-decoration() {
|
||||||
|
border-style: none;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin link-hover() {
|
||||||
|
color: $link-hover-color;
|
||||||
|
border-bottom: 1px dotted $gray-4;
|
||||||
|
text-decoration: none;
|
||||||
|
background: transparent;
|
||||||
|
background-color: transparent;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
83
static-src/scss/hyde-hyde/_post.scss
Normal file
83
static-src/scss/hyde-hyde/_post.scss
Normal file
|
@ -0,0 +1,83 @@
|
||||||
|
.post__meta {
|
||||||
|
font-size: $meta-font-size;
|
||||||
|
color: $meta-color;
|
||||||
|
font-weight: $meta-font-weight;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post__category {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post__tag {
|
||||||
|
background: $tag-background-color;
|
||||||
|
border-radius: 2px;
|
||||||
|
color: $tag-color;
|
||||||
|
font-size: $tag-font-size;
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 2px 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post__subtitle {
|
||||||
|
display: block;
|
||||||
|
font-size: $post__subtitle-font-size;
|
||||||
|
font-style: italic;
|
||||||
|
padding: 0 0 1rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post--navigation {
|
||||||
|
width: 800px;
|
||||||
|
max-width: calc(100% - 40px);
|
||||||
|
margin: 0 auto;
|
||||||
|
margin-top: 60px;
|
||||||
|
a {
|
||||||
|
font-size: .8rem;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 15px;
|
||||||
|
border: 2px solid $post--navigation-color;
|
||||||
|
line-height: 1.25;
|
||||||
|
text-transform: uppercase;
|
||||||
|
&:hover {
|
||||||
|
padding: 14px;
|
||||||
|
border-width: 3px;
|
||||||
|
}
|
||||||
|
&:nth-child(2) {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
&:first-child:last-child {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.fa {
|
||||||
|
font-size: .8rem;
|
||||||
|
}
|
||||||
|
.post--navigation-prev {
|
||||||
|
text-align: left;
|
||||||
|
.fa {
|
||||||
|
padding-right: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.post--navigation-next {
|
||||||
|
text-align: right;
|
||||||
|
.fa {
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and(min-width: 34rem) {
|
||||||
|
.post--navigation {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
a {
|
||||||
|
width: calc(50% - 10px);
|
||||||
|
&:nth-child(2) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.post--navigation-single a {
|
||||||
|
text-transform: none;
|
||||||
|
}
|
73
static-src/scss/hyde-hyde/_sidebar.scss
Normal file
73
static-src/scss/hyde-hyde/_sidebar.scss
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
.sidebar {
|
||||||
|
background-color: $sidebar-color;
|
||||||
|
color: rgb(255, 255, 255);
|
||||||
|
color: rgba(255, 255, 255, 0.5);
|
||||||
|
padding: 2rem 1rem;
|
||||||
|
text-align: center;
|
||||||
|
a {
|
||||||
|
color: $gray-1;
|
||||||
|
border: none;
|
||||||
|
&:hover {
|
||||||
|
@include link-no-decoration();
|
||||||
|
}
|
||||||
|
&:focus {
|
||||||
|
@include link-no-decoration();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.sidebar-about {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-nav {
|
||||||
|
text-align: center;
|
||||||
|
list-style: none;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
margin-top: 2rem;
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-nav-item {
|
||||||
|
display: block;
|
||||||
|
line-height: 1.75;
|
||||||
|
.active {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.site__title {
|
||||||
|
font-size: $site__title-font-size;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
a:hover {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.site__description {
|
||||||
|
font-size: 1.285rem;
|
||||||
|
font-weight: 300;
|
||||||
|
}
|
||||||
|
|
||||||
|
.social {
|
||||||
|
text-align: center;
|
||||||
|
a {
|
||||||
|
@include link-no-decoration();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.img--circle {
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.img--headshot {
|
||||||
|
height: 115px;
|
||||||
|
width: 115px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.img--caption {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.copyright {
|
||||||
|
text-align: center;
|
||||||
|
font-size: $copyright-font-size;
|
||||||
|
}
|
|
@ -1,3 +1,4 @@
|
||||||
|
$gray-0: #fafafa;
|
||||||
$gray-1: #f9f9f9;
|
$gray-1: #f9f9f9;
|
||||||
$gray-2: #eee;
|
$gray-2: #eee;
|
||||||
$gray-4: #ccc;
|
$gray-4: #ccc;
|
||||||
|
@ -71,6 +72,9 @@ $site__title-font-size: 3rem;
|
||||||
|
|
||||||
$copyright-font-size: 0.7rem;
|
$copyright-font-size: 0.7rem;
|
||||||
|
|
||||||
|
// post navigation
|
||||||
|
$post--navigation-color: #c2255c;
|
||||||
|
|
||||||
// portfolio
|
// portfolio
|
||||||
$project__title-font-size: $h2-font-size;
|
$project__title-font-size: $h2-font-size;
|
||||||
$project__subtitle-font-size-big: $h3-font-size;
|
$project__subtitle-font-size-big: $h3-font-size;
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
* {
|
* {
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
box-sizing: border-box; }
|
box-sizing: border-box; }
|
||||||
|
|
||||||
html,
|
html,
|
||||||
|
@ -106,6 +108,107 @@ footer {
|
||||||
.related-posts li a:hover small {
|
.related-posts li a:hover small {
|
||||||
color: inherit; }
|
color: inherit; }
|
||||||
|
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4 {
|
||||||
|
font-weight: 400; }
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 2.15rem;
|
||||||
|
line-height: 1.25;
|
||||||
|
margin-bottom: 1rem; }
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 1.85rem;
|
||||||
|
margin-bottom: .5rem; }
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 1.5rem; }
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
font-size: 1.3rem; }
|
||||||
|
|
||||||
|
blockquote, .important, .warning {
|
||||||
|
padding: .8889rem;
|
||||||
|
margin-top: 1.4em;
|
||||||
|
margin-left: 0px;
|
||||||
|
margin-right: 0px;
|
||||||
|
border-radius: 6px;
|
||||||
|
border-left-width: 6px;
|
||||||
|
border-left-style: solid;
|
||||||
|
border-right: 6px solid transparent;
|
||||||
|
border-right-width: 6px;
|
||||||
|
border-right-style: solid;
|
||||||
|
border-right-color: rgba(0, 0, 0, 0) transparent;
|
||||||
|
color: #7a7a7a; }
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
background-color: #fafafa;
|
||||||
|
border-left-color: #e6e6e6; }
|
||||||
|
|
||||||
|
.important {
|
||||||
|
background-color: #fbf8e8;
|
||||||
|
border-left-color: #fee450; }
|
||||||
|
|
||||||
|
.warning {
|
||||||
|
background-color: #f2dbdc;
|
||||||
|
border-left-color: #ae272f; }
|
||||||
|
|
||||||
|
kbd {
|
||||||
|
padding: .1em .6em;
|
||||||
|
border: 1px solid #eee;
|
||||||
|
font-size: 0.8em;
|
||||||
|
line-height: 1.4;
|
||||||
|
background-color: #fafbfc;
|
||||||
|
color: #313131;
|
||||||
|
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
|
||||||
|
border-radius: 3px;
|
||||||
|
display: inline-block;
|
||||||
|
margin: 0 .1em;
|
||||||
|
text-shadow: 0 1px 0 #fff;
|
||||||
|
white-space: nowrap; }
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #268bd2;
|
||||||
|
text-decoration: none;
|
||||||
|
word-wrap: break-word; }
|
||||||
|
a.sidebar-nav-item:hover {
|
||||||
|
border-style: none;
|
||||||
|
text-decoration: none; }
|
||||||
|
a.sidebar-nav-item:focus {
|
||||||
|
border-style: none;
|
||||||
|
text-decoration: none; }
|
||||||
|
a:focus {
|
||||||
|
color: #515151;
|
||||||
|
border-bottom: 1px dotted #ccc;
|
||||||
|
text-decoration: none;
|
||||||
|
background: transparent;
|
||||||
|
background-color: transparent;
|
||||||
|
word-wrap: break-word; }
|
||||||
|
a:focus.tag {
|
||||||
|
border-style: none;
|
||||||
|
text-decoration: none; }
|
||||||
|
a:hover {
|
||||||
|
color: #515151;
|
||||||
|
border-bottom: 1px dotted #ccc;
|
||||||
|
text-decoration: none;
|
||||||
|
background: transparent;
|
||||||
|
background-color: transparent;
|
||||||
|
word-wrap: break-word; }
|
||||||
|
a:hover.tag {
|
||||||
|
border-style: none;
|
||||||
|
text-decoration: none; }
|
||||||
|
a.tag {
|
||||||
|
border-style: none;
|
||||||
|
text-decoration: none; }
|
||||||
|
|
||||||
|
.text-center {
|
||||||
|
text-align: center; }
|
||||||
|
|
||||||
|
.pull-right {
|
||||||
|
float: right; }
|
||||||
|
|
||||||
.theme-base-08 .sidebar {
|
.theme-base-08 .sidebar {
|
||||||
background-color: #ac4142; }
|
background-color: #ac4142; }
|
||||||
|
|
||||||
|
@ -178,6 +281,218 @@ footer {
|
||||||
.theme-base-0f .related-posts li a:hover {
|
.theme-base-0f .related-posts li a:hover {
|
||||||
color: #8f5536; }
|
color: #8f5536; }
|
||||||
|
|
||||||
|
.sidebar {
|
||||||
|
background-color: #300030;
|
||||||
|
color: white;
|
||||||
|
color: rgba(255, 255, 255, 0.5);
|
||||||
|
padding: 2rem 1rem;
|
||||||
|
text-align: center; }
|
||||||
|
.sidebar a {
|
||||||
|
color: #f9f9f9;
|
||||||
|
border: none; }
|
||||||
|
.sidebar a:hover {
|
||||||
|
border-style: none;
|
||||||
|
text-decoration: none; }
|
||||||
|
.sidebar a:focus {
|
||||||
|
border-style: none;
|
||||||
|
text-decoration: none; }
|
||||||
|
.sidebar .sidebar-about {
|
||||||
|
text-align: center; }
|
||||||
|
|
||||||
|
.sidebar-nav {
|
||||||
|
text-align: center;
|
||||||
|
list-style: none;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
margin-top: 2rem;
|
||||||
|
padding-left: 0; }
|
||||||
|
|
||||||
|
.sidebar-nav-item {
|
||||||
|
display: block;
|
||||||
|
line-height: 1.75; }
|
||||||
|
.sidebar-nav-item .active {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.site__title {
|
||||||
|
font-size: 3rem;
|
||||||
|
margin-bottom: 0.5rem; }
|
||||||
|
.site__title a:hover {
|
||||||
|
border: none; }
|
||||||
|
|
||||||
|
.site__description {
|
||||||
|
font-size: 1.285rem;
|
||||||
|
font-weight: 300; }
|
||||||
|
|
||||||
|
.social {
|
||||||
|
text-align: center; }
|
||||||
|
.social a {
|
||||||
|
border-style: none;
|
||||||
|
text-decoration: none; }
|
||||||
|
|
||||||
|
.img--circle {
|
||||||
|
border-radius: 50%; }
|
||||||
|
|
||||||
|
.img--headshot {
|
||||||
|
height: 115px;
|
||||||
|
width: 115px; }
|
||||||
|
|
||||||
|
.img--caption {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.copyright {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 0.7rem; }
|
||||||
|
|
||||||
|
.post__meta {
|
||||||
|
font-size: 0.8rem;
|
||||||
|
color: #878787;
|
||||||
|
font-weight: 300; }
|
||||||
|
|
||||||
|
.post__category {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.post__tag {
|
||||||
|
background: #eee;
|
||||||
|
border-radius: 2px;
|
||||||
|
color: #606570;
|
||||||
|
font-size: 0.667rem;
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 2px 6px; }
|
||||||
|
|
||||||
|
.post__subtitle {
|
||||||
|
display: block;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
font-style: italic;
|
||||||
|
padding: 0 0 1rem 0; }
|
||||||
|
|
||||||
|
.post--navigation {
|
||||||
|
width: 800px;
|
||||||
|
max-width: calc(100% - 40px);
|
||||||
|
margin: 0 auto;
|
||||||
|
margin-top: 60px; }
|
||||||
|
.post--navigation a {
|
||||||
|
font-size: .8rem;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 15px;
|
||||||
|
border: 2px solid #c2255c;
|
||||||
|
line-height: 1.25;
|
||||||
|
text-transform: uppercase; }
|
||||||
|
.post--navigation a:hover {
|
||||||
|
padding: 14px;
|
||||||
|
border-width: 3px; }
|
||||||
|
.post--navigation a:nth-child(2) {
|
||||||
|
margin-top: 10px; }
|
||||||
|
.post--navigation a:first-child:last-child {
|
||||||
|
width: 100%; }
|
||||||
|
.post--navigation .fa {
|
||||||
|
font-size: .8rem; }
|
||||||
|
.post--navigation .post--navigation-prev {
|
||||||
|
text-align: left; }
|
||||||
|
.post--navigation .post--navigation-prev .fa {
|
||||||
|
padding-right: 10px; }
|
||||||
|
.post--navigation .post--navigation-next {
|
||||||
|
text-align: right; }
|
||||||
|
.post--navigation .post--navigation-next .fa {
|
||||||
|
padding-left: 10px; }
|
||||||
|
|
||||||
|
@media only screen and (min-width: 34rem) {
|
||||||
|
.post--navigation {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between; }
|
||||||
|
.post--navigation a {
|
||||||
|
width: calc(50% - 10px); }
|
||||||
|
.post--navigation a:nth-child(2) {
|
||||||
|
margin-top: 0; } }
|
||||||
|
|
||||||
|
.post--navigation-single a {
|
||||||
|
text-transform: none; }
|
||||||
|
|
||||||
|
pre {
|
||||||
|
border: 1px solid #f9f9f9;
|
||||||
|
border-radius: 2px;
|
||||||
|
tab-size: 2; }
|
||||||
|
pre code {
|
||||||
|
white-space: pre-wrap; }
|
||||||
|
|
||||||
|
-code, code {
|
||||||
|
font-family: "SF-Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Roboto Mono", "Ubuntu Mono", "Courier New", Courier, monospace;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
line-height: 1.4; }
|
||||||
|
|
||||||
|
-code {
|
||||||
|
border-radius: 3px;
|
||||||
|
padding: 2px 4px;
|
||||||
|
color: #bf616a;
|
||||||
|
background-color: #f9f2f4; }
|
||||||
|
|
||||||
|
code {
|
||||||
|
padding: 2px 4px;
|
||||||
|
border: 1px dashed #adb5db;
|
||||||
|
background-color: #f9f9f9; }
|
||||||
|
|
||||||
|
-code {
|
||||||
|
white-space: pre-wrap; }
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
white-space: pre;
|
||||||
|
border: none; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
// https://codersblock.com/blog/customizing-github-gists
|
||||||
|
//
|
||||||
|
body .gist {
|
||||||
|
.gist-file {
|
||||||
|
margin-bottom: 0;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
.gist-data {
|
||||||
|
border-bottom: none;
|
||||||
|
border-radius: 0;
|
||||||
|
background-color: $gray-3;
|
||||||
|
}
|
||||||
|
.blob-wrapper {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
.highlight {
|
||||||
|
background-color: transparent;
|
||||||
|
font-family: Droid Sans Mono, monospace;
|
||||||
|
font-size: 14px;
|
||||||
|
td {
|
||||||
|
border: none;
|
||||||
|
padding: 5px 15px !important;
|
||||||
|
line-height: 1;
|
||||||
|
font-family: inherit;
|
||||||
|
font-size: inherit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
tr {
|
||||||
|
&:first-child td {
|
||||||
|
padding-top: 15px !important;
|
||||||
|
}
|
||||||
|
&:last-child td {
|
||||||
|
padding-bottom: 15px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.blob-num {
|
||||||
|
color: #ced4da;
|
||||||
|
background-color: #495057;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
.gist-meta {
|
||||||
|
//display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
body .gist .gist-data {
|
||||||
|
background-color: #fafafa; }
|
||||||
|
|
||||||
|
body .gist .highlight {
|
||||||
|
background-color: transparent; }
|
||||||
|
|
||||||
|
body .gist td {
|
||||||
|
border: none; }
|
||||||
|
|
||||||
.portfolio__content section {
|
.portfolio__content section {
|
||||||
margin-bottom: 1.765rem; }
|
margin-bottom: 1.765rem; }
|
||||||
|
|
||||||
|
@ -226,8 +541,7 @@ footer {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #479fc8;
|
background-color: #479fc8;
|
||||||
-webkit-transform: rotate(45deg) translate3d(0, 0, 0);
|
transform: rotate(45deg) translate3d(0, 0, 0); }
|
||||||
transform: rotate(45deg) translate3d(0, 0, 0); }
|
|
||||||
.project__featured-image .ribbon .text:before {
|
.project__featured-image .ribbon .text:before {
|
||||||
border-left: 5px solid transparent;
|
border-left: 5px solid transparent;
|
||||||
border-right: 5px solid transparent;
|
border-right: 5px solid transparent;
|
||||||
|
@ -297,9 +611,11 @@ footer {
|
||||||
height: auto; }
|
height: auto; }
|
||||||
|
|
||||||
@media (min-width: 48em) {
|
@media (min-width: 48em) {
|
||||||
html {
|
html,
|
||||||
|
body {
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
font-size: 16px; }
|
font-size: 16px;
|
||||||
|
box-direction: normal; }
|
||||||
.sidebar {
|
.sidebar {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
@ -324,54 +640,13 @@ footer {
|
||||||
margin-right: 20rem; } }
|
margin-right: 20rem; } }
|
||||||
|
|
||||||
@media (min-width: 58em) {
|
@media (min-width: 58em) {
|
||||||
html {
|
html,
|
||||||
-webkit-text-size-adjust: none;
|
body {
|
||||||
-moz-text-size-adjust: none;
|
text-size-adjust: none;
|
||||||
-ms-text-size-adjust: none;
|
|
||||||
text-size-adjust: none;
|
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 1.611em; } }
|
line-height: 1.611em; } }
|
||||||
|
|
||||||
a:focus, a:hover {
|
|
||||||
color: #515151;
|
|
||||||
border-bottom: 1px dotted #ccc;
|
|
||||||
text-decoration: none;
|
|
||||||
background: transparent;
|
|
||||||
background-color: transparent;
|
|
||||||
word-wrap: break-word; }
|
|
||||||
|
|
||||||
.sidebar a:hover, .sidebar a:focus, a.sidebar-nav-item:hover, a.sidebar-nav-item:focus, a.tag:focus, a.tag:hover, a.tag {
|
|
||||||
border-style: none;
|
|
||||||
text-decoration: none; }
|
|
||||||
|
|
||||||
.sidebar {
|
|
||||||
background-color: #300030;
|
|
||||||
color: white;
|
|
||||||
color: rgba(255, 255, 255, 0.5);
|
|
||||||
padding: 2rem 1rem;
|
|
||||||
text-align: center; }
|
|
||||||
.sidebar a {
|
|
||||||
color: #f9f9f9;
|
|
||||||
border: none; }
|
|
||||||
|
|
||||||
.sidebar-nav {
|
|
||||||
list-style: none;
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
margin-top: 2rem;
|
|
||||||
padding-left: 0; }
|
|
||||||
|
|
||||||
.sidebar-nav-item {
|
|
||||||
display: block;
|
|
||||||
line-height: 1.75; }
|
|
||||||
.sidebar-nav-item .active {
|
|
||||||
font-weight: bold; }
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: #268bd2;
|
|
||||||
text-decoration: none;
|
|
||||||
word-wrap: break-word; }
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
padding-bottom: 2rem;
|
padding-bottom: 2rem;
|
||||||
padding-top: 2rem; }
|
padding-top: 2rem; }
|
||||||
|
@ -385,121 +660,10 @@ a {
|
||||||
margin-left: 4rem;
|
margin-left: 4rem;
|
||||||
margin-right: 22rem; } }
|
margin-right: 22rem; } }
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 48rem) {
|
||||||
.hidden-tablet {
|
.hidden-tablet {
|
||||||
display: none; } }
|
display: none; } }
|
||||||
|
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
h4 {
|
|
||||||
font-weight: 400; }
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
font-size: 2.15rem;
|
|
||||||
line-height: 1.25;
|
|
||||||
margin-bottom: 1rem; }
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
font-size: 1.85rem;
|
|
||||||
margin-bottom: .5rem; }
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
font-size: 1.5rem; }
|
|
||||||
|
|
||||||
h4 {
|
|
||||||
font-size: 1.3rem; }
|
|
||||||
|
|
||||||
blockquote, .important, .warning {
|
|
||||||
padding: .8889rem;
|
|
||||||
margin-top: 1.4em;
|
|
||||||
margin-left: 0px;
|
|
||||||
margin-right: 0px;
|
|
||||||
border-radius: 6px;
|
|
||||||
border-left-width: 6px;
|
|
||||||
border-left-style: solid;
|
|
||||||
border-right: 6px solid transparent;
|
|
||||||
border-right-width: 6px;
|
|
||||||
border-right-style: solid;
|
|
||||||
border-right-color: rgba(0, 0, 0, 0) transparent;
|
|
||||||
color: #7a7a7a; }
|
|
||||||
|
|
||||||
blockquote {
|
|
||||||
background-color: #fafafa;
|
|
||||||
border-left-color: #e6e6e6; }
|
|
||||||
|
|
||||||
.important {
|
|
||||||
background-color: #fbf8e8;
|
|
||||||
border-left-color: #fee450; }
|
|
||||||
|
|
||||||
.warning {
|
|
||||||
background-color: #f2dbdc;
|
|
||||||
border-left-color: #ae272f; }
|
|
||||||
|
|
||||||
.img--circle {
|
|
||||||
border-radius: 50%; }
|
|
||||||
|
|
||||||
.img--headshot {
|
|
||||||
height: 115px;
|
|
||||||
width: 115px; }
|
|
||||||
|
|
||||||
.img--caption {
|
|
||||||
font-style: italic; }
|
|
||||||
|
|
||||||
.site__title {
|
|
||||||
font-size: 3rem;
|
|
||||||
margin-bottom: .5rem; }
|
|
||||||
.site__title a:hover {
|
|
||||||
border: none; }
|
|
||||||
|
|
||||||
.site__description {
|
|
||||||
font-size: 1.285rem;
|
|
||||||
font-weight: 300; }
|
|
||||||
|
|
||||||
.social a {
|
|
||||||
border: none;
|
|
||||||
text-decoration: none; }
|
|
||||||
|
|
||||||
.text-center {
|
|
||||||
text-align: center; }
|
|
||||||
|
|
||||||
pre {
|
|
||||||
border: 1px solid #eee;
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 1px;
|
|
||||||
-moz-tab-size: 2;
|
|
||||||
-o-tab-size: 2;
|
|
||||||
tab-size: 2; }
|
|
||||||
pre code {
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 2px 4px;
|
|
||||||
white-space: pre-wrap; }
|
|
||||||
|
|
||||||
code {
|
|
||||||
border-radius: 3px;
|
|
||||||
padding: 2px 4px;
|
|
||||||
color: #bf616a;
|
|
||||||
background-color: #f9f2f4; }
|
|
||||||
|
|
||||||
code {
|
|
||||||
font-family: "SF-Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Roboto Mono", "Ubuntu Mono", "Courier New", Courier, monospace;
|
|
||||||
white-space: pre-wrap;
|
|
||||||
font-size: 0.9rem;
|
|
||||||
line-height: 1.4; }
|
|
||||||
|
|
||||||
li code {
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 2px 4px;
|
|
||||||
white-space: pre-wrap; }
|
|
||||||
|
|
||||||
td code {
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 2px 4px;
|
|
||||||
white-space: pre-wrap; }
|
|
||||||
|
|
||||||
.copyright {
|
|
||||||
font-size: 0.7rem; }
|
|
||||||
|
|
||||||
.element--center {
|
.element--center {
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
@ -508,28 +672,6 @@ td code {
|
||||||
.section__title {
|
.section__title {
|
||||||
font-size: 2.15rem; }
|
font-size: 2.15rem; }
|
||||||
|
|
||||||
.post__meta {
|
|
||||||
font-size: 0.8rem;
|
|
||||||
color: #878787;
|
|
||||||
font-weight: 300; }
|
|
||||||
|
|
||||||
.post__category {
|
|
||||||
font-weight: bold; }
|
|
||||||
|
|
||||||
.post__tag {
|
|
||||||
background: #eee;
|
|
||||||
border-radius: 2px;
|
|
||||||
color: #606570;
|
|
||||||
font-size: 0.667rem;
|
|
||||||
font-weight: bold;
|
|
||||||
padding: 2px 6px; }
|
|
||||||
|
|
||||||
.post__subtitle {
|
|
||||||
display: block;
|
|
||||||
font-size: 1.5rem;
|
|
||||||
font-style: italic;
|
|
||||||
padding: 0 0 1rem 0; }
|
|
||||||
|
|
||||||
.post-list__item {
|
.post-list__item {
|
||||||
margin-bottom: 3em; }
|
margin-bottom: 3em; }
|
||||||
|
|
||||||
|
@ -548,69 +690,6 @@ td code {
|
||||||
margin-bottom: .2rem;
|
margin-bottom: .2rem;
|
||||||
margin-top: .2rem; }
|
margin-top: .2rem; }
|
||||||
|
|
||||||
ul.post__nav {
|
|
||||||
font-size: .85rem;
|
|
||||||
background-color: #f9f9f9;
|
|
||||||
border-top: 2px solid #eee;
|
|
||||||
border-bottom: 2px solid #eee;
|
|
||||||
width: 100%;
|
|
||||||
list-style: none;
|
|
||||||
display: table;
|
|
||||||
table-layout: fixed; }
|
|
||||||
ul.post__nav li {
|
|
||||||
width: 50%;
|
|
||||||
display: table-cell;
|
|
||||||
text-align: center; }
|
|
||||||
ul.post__nav li i {
|
|
||||||
padding: .8rem; }
|
|
||||||
|
|
||||||
@media (max-width: 719px) {
|
|
||||||
ul.post__nav li {
|
|
||||||
width: 100%;
|
|
||||||
display: table-cell;
|
|
||||||
padding-top: 1rem;
|
|
||||||
padding-bottom: 1rem; } }
|
|
||||||
|
|
||||||
.post__nav--next {
|
|
||||||
float: right;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0; }
|
|
||||||
.post__nav--next .next__heading {
|
|
||||||
display: block;
|
|
||||||
color: #aaa; }
|
|
||||||
|
|
||||||
.post__nav--previous {
|
|
||||||
float: left;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px; }
|
|
||||||
.post__nav--previous .previous__heading {
|
|
||||||
display: block;
|
|
||||||
color: #aaa; }
|
|
||||||
|
|
||||||
.comment--heading {
|
|
||||||
font-size: 1.5rem;
|
|
||||||
text-transform: uppercase; }
|
|
||||||
|
|
||||||
.pull-right {
|
|
||||||
float: right; }
|
|
||||||
|
|
||||||
kbd {
|
|
||||||
padding: .1em .6em;
|
|
||||||
border: 1px solid #eee;
|
|
||||||
font-size: 0.8em;
|
|
||||||
line-height: 1.4;
|
|
||||||
background-color: #fafbfc;
|
|
||||||
color: #313131;
|
|
||||||
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
|
|
||||||
border-radius: 3px;
|
|
||||||
display: inline-block;
|
|
||||||
margin: 0 .1em;
|
|
||||||
text-shadow: 0 1px 0 #fff;
|
|
||||||
white-space: nowrap; }
|
|
||||||
|
|
||||||
.hljs {
|
|
||||||
white-space: pre; }
|
|
||||||
|
|
||||||
#references ~ ol {
|
#references ~ ol {
|
||||||
font-size: .9rem; }
|
font-size: .9rem; }
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue