This commit is contained in:
Joseph Hutchinson
2018-03-19 07:31:18 -04:00
parent 40502c3010
commit fb363e94ce
2 changed files with 16 additions and 10 deletions

View File

@@ -1,10 +1,8 @@
<article class="card">
<div class="card-body">
<h2 class="post-title card-text">
<a href="{{ .Permalink }}" rel="bookmark" title="Link to {{ .Title }}">{{ .Title }}</a>
</h2>
<span class="post-date card-text">Published {{ .Date.Format "Jan 2, 2006" }}</span>
<p>{{ .Description }}</p>
{{ if .Truncated }}<a class="moretag card-text" href="{{ .Permalink }}">Continue reading</a>{{ end }}
</div>
<h2 class="card-title">
<a href="{{ .Permalink }}" rel="bookmark" title="Link to {{ .Title }}">{{ .Title }}</a>
</h2>
<span class="post-date">Published {{ .Date.Format "Jan 2, 2006" }}</span>
<p>{{ .Description }}</p>
{{ if .Truncated }}<a class="moretag" href="{{ .Permalink }}">Continue reading</a>{{ end }}
</article>

View File

@@ -2,7 +2,6 @@ body {
font-family: 'LatoLatinWeb', Avenir, HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
color: #3A3B3C;
font-size: 1rem;
line-height: 1.5;
margin: 0;
padding: 0;
}
@@ -51,11 +50,17 @@ img {
.card-columns {
display: grid;
grid-template-columns: 1fr;
grid-gap: 25px;
grid-gap: 30px;
justify-content: center;
}
.card {
background-color: white;
padding: 15px;
border-radius: 10px;
box-shadow: 0 20px 25px 0px rgba(0, 0, 0, 0.05);
}
.card-title {
margin: 5px 0;
}
blockquote {
border-left: 5px solid #D1D1D1;
@@ -88,6 +93,9 @@ hr {
border-bottom: 1px solid #D1D1D1;
margin-top: 3.125rem 0;
}
a {
text-decoration: none;
}
table {
color: #3A3B3C;
border-collapse: collapse;