1
0
Fork 0

Double down on CSS.

This commit is contained in:
Sebastian Schulze 2016-07-07 11:45:49 +02:00
parent e7fc396e40
commit ca2675d0d1
No known key found for this signature in database
GPG Key ID: 7EC07325206E3E55
3 changed files with 18 additions and 5 deletions

View File

@ -2,7 +2,11 @@
<body>
{{ partial "navbar.html" . }}
<div class="main wrapper clearfix">
<h2>Tech notes</h2>
<h2>Tech notes &amp; snippets</h2>
Random assortment of little snippets and hiccups I came them
useful (or at least amusing). Got something to add / correct?
I' love your feedback.
<div class="tech-notes clearfix">
{{ range where .Data.Pages "Section" "tech" }}
{{ .Render "summary" }}

View File

@ -1,5 +1,5 @@
<a href="{{.Permalink}}">
<h3>{{.Title}}</h3>
<h2>{{.Title}}</h2>
<small>{{ .Date.Format "January, 02th 2006" }}</small>
<hr/>
{{ .Summary }}

View File

@ -138,7 +138,6 @@ nav#main ul li.active a {
border: 0 !important;
}
div.pager {
text-align: center;
}
@ -162,12 +161,22 @@ article.summary a.anchor {
float: left;
height: 200px;
border: 1px solid #cdcdcd;
background-color: #fefefe;
border-radius: 5px;
overflow: hidden;
text-decoration: none;
color: inherit;
background: -moz-linear-gradient(top, #f2f2f2 0%, #ffffff 100%);
background: -webkit-linear-gradient(top, #f2f2f2 0%,#ffffff 100%);
background: linear-gradient(to bottom, #f2f2f2 0%,#ffffff 100%);
}
.tech-notes a:hover {
background-color: #CDCDCD;
background: #f2f2f2;
background: -moz-linear-gradient(top, #f2f2f2 0%, #ffffff 31%);
background: -webkit-linear-gradient(top, #f2f2f2 0%,#ffffff 31%);
background: linear-gradient(to bottom, #f2f2f2 0%,#ffffff 31%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#ffffff',GradientType=0 );
}