Skip to content
Permalink
Browse files

minimalism

  • Loading branch information...
BenTheElder committed Jun 17, 2019
1 parent ff87cda commit c1450fdf84a6180da40b52e7968cd11ce8c71021
@@ -12,8 +12,6 @@ html {
margin: 0;
padding: 0;
font-size: 100%;
background-color: #105ae2;
color: white;
font-family: -apple-system, BlinkMacSystemFont, Roboto, Droid Sans, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}

@@ -23,7 +21,6 @@ body {
padding: 0;
font-size: 18px;
line-height: 1.5;
background-color: #105ae2;;
color: black;
min-height: 100%;
/* sticky footer */
@@ -162,8 +159,8 @@ a {
}


.tile a:hover, .tile a:focus,
.card a:hover, .card a:focus {
a:hover, a:focus,
a:hover, a:focus {
border-color: #105ae2;/*#1967D2;*/
/*background-color: #fdd83524;*/
}
@@ -195,15 +192,6 @@ a {
}
*/

a.white:hover,
.white a:hover,
.footer a:hover,
a.white:focus,
.white a:focus,
.footer a:focus {
border-bottom-color: white;
}

/* content layout and style */
.header {
line-height: normal;
@@ -257,7 +245,6 @@ a.white:focus,
.header-content a,
.footer a {
font-style: inherit;
color: inherit;
background-color: transparent;
font-size: inherit;
text-decoration: none;
@@ -268,57 +255,12 @@ a.white:focus,
padding: 0 .5em;
padding-bottom: 3px;
margin-bottom: 0;
border-bottom: none;
position: relative;
}
.footer a {
padding: 0 .2em;
padding: 0 .3em;
padding-bottom: 3px;
line-height: 1.6;
color: #00ff1f !important;
}

.header-content a:before,
.footer a:before {
display: block;
content: '';
position: absolute;
left: 0;
bottom: 0;
height: 3px;
background-color: white;
width: 100%;
visibility: hidden;
-webkit-transform: scaleX(0);
transform: scaleX(0);
-webkit-transform-style: preserve-3d;
-webkit-transition: -webkit-transform 250ms ease-in-out;
transform-style: preserve-3d;
transition: transform 250ms ease-in-out;
padding: 0;
margin: 0;
}
.footer a:before {
background-color: #00ff1f;
height: 2px;
}
.header-content a:hover:before,
.header-content a.current:before,
.footer a:hover:before,
.header-content a:focus:before,
.footer a:focus:before {
visibility: visible;
-webkit-transform: scaleX(1);
transform: scaleX(1);
}
.header-content a.current:before,
.footer a.current:before {
background-color: #00E676;
}

.header-content a:visited,
.footer a:visited {
color: white;
}

.header-content .nav span {
@@ -347,12 +289,11 @@ a.white:focus,
font-size: .9em;
font-weight: 500;
width: 100%;
background-color: #105ae2;
color: white;
position: relative;
margin: auto auto 0 auto;
margin-top: 0;
padding-top: .75em;
flex-shrink: 0;
border-top: 3px solid black;
}

.footer .nav {
@@ -470,8 +411,8 @@ img.with-border {

.tile .page-title,
.card .page-title {
margin: 0 auto;
/*margin-top: -.05em;*/
margin: 0.1em auto;
margin-bottom: 0.2em;
text-align: center;
line-height: 1.1;
}
@@ -2,7 +2,7 @@
title: Home
---
<img src="/images/ben_avatar_optim.jpg" class="circle-badge" style="width: 100%; max-width: 15em; margin-top: -.75em; margin-bottom: -.75em;" title="Ben in one of the Google ball pits" />
<p class="title centered" style="font-size: 1.75em">Benjamin Elder</p>
<p class="title centered" style="font-size: 1.75em"><a href="/about">Benjamin Elder</a></p>
<div class="" style="padding: .5em">
<table style="margin: 0 auto; font-size: 1.1em;">
<tbody>
@@ -1,5 +1,4 @@
{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
<div id="content" class="centered-text">
<div class="tile centered centered-text">
<!--<h1 class="centered"><span class="" style="
@@ -1,5 +1,4 @@
{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
<div id="content">
<div class="tile centered-text" style="">{{ partial "fancymarkdown.html" .Content }}
<p class="title centered centered-text" style="margin-top: -.5em">Posts</p>
@@ -22,5 +21,5 @@
</a>
{{ end }}{{ end }}
</div>
</div>
</div>
{{ partial "footer.html" . }}
@@ -1,5 +1,4 @@
{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
<div id="content">
<div class="tile">
<h1 class="page-title">{{.Title}}</h1>
@@ -1,6 +1,6 @@
<div class="footer">
<div class="nav"><a href="/posts">Posts</a> • <a href="/projects">Projects</a> • <a href="/about">About</a> • <a href="/posts/index.xml"><img src="/images/feed-icon-green.png" style="width:.75em; margin-top: -.2em" title="rss"></a></div>
<span class="copyright">{{ replace .Site.Copyright "{year}" now.Year }} <a class="nowrap" href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a><span style="padding-left: .25em; padding-right: .25em;">•</span><a class="nowrap" href="https://github.com/BenTheElder/site">Source on <span class="emoji" style="background-image:url(/images/GitHub-Mark-Light-120px-plus_green.png)" title=":github:">:github:</span></a>{{if .GitInfo}}@<a href="https://github.com/BenTheElder/site/commit/{{.GitInfo.Hash}}">{{.GitInfo.AbbreviatedHash}}</a>{{end}}</span> <span class="emoji" style="background-image:url(/images/slackmoji/ship_it_parrot.gif)" title=":ship_it_parrot:">:ship_it_parrot:</span>
<div class="nav"><a href="/">Home</a> • <a href="/posts">Posts</a> • <a href="/projects">Projects</a> • <a href="/posts/index.xml">RSS</a></div>
<span class="copyright">{{ replace `Copyright © 2015-{year} <a href="/about" class="inline-block">Benjamin Elder.</a>` "{year}" now.Year | safeHTML}}<a class="nowrap" href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a><span style="padding-left: .25em; padding-right: .25em;">•</span><a class="nowrap" href="https://github.com/BenTheElder/site">Source on GitHub</a>{{if .GitInfo}}@<a href="https://github.com/BenTheElder/site/commit/{{.GitInfo.Hash}}">{{.GitInfo.AbbreviatedHash}}</a>{{end}}</span> <span class="emoji" style="background-image:url(/images/slackmoji/ship_it_parrot.gif)" title=":ship_it_parrot:">:ship_it_parrot:</span>
</div>
</body>
</html>
@@ -1,9 +1,7 @@
{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
<div id="content">
<div class="tile">
<h1 class="page-title">Posts</h1>
<hr class="full-bleed" />
{{ range $i, $post := .Pages.ByDate.Reverse }}
{{ if .Params.draft }}{{ else }}
<a href="{{.Permalink}}" class="full-bleed list-item {{- if eq $i 0}} first {{- end}}">
@@ -1,5 +1,4 @@
{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
<div id="content">
<div class="tile blog-content">
{{ partial "fancymarkdown.html" .Content }}
@@ -1,5 +1,4 @@
{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
<div id="content">
<div class="tile blog-content">
<h1 class="page-title">{{if .Params.htmlTitle}}{{.Params.htmlTitle | safeHTML}}{{else}}{{.Title}}{{end}}{{if .Params.subtitle }}<span class="inline-block not-bold">:</span> <span class="inline not-bold"> {{.Params.subtitle}} </span>{{end}}</h1>{{range .Params.Categories}}<span class="category">{{. | safeHTML}}</span>{{end}}

0 comments on commit c1450fd

Please sign in to comment.
You can’t perform that action at this time.