Double down on CSS.
This commit is contained in:
parent
e7fc396e40
commit
ca2675d0d1
|
@ -2,7 +2,11 @@
|
|||
<body>
|
||||
{{ partial "navbar.html" . }}
|
||||
<div class="main wrapper clearfix">
|
||||
<h2>Tech notes</h2>
|
||||
<h2>Tech notes & 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" }}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<a href="{{.Permalink}}">
|
||||
<h3>{{.Title}}</h3>
|
||||
<h2>{{.Title}}</h2>
|
||||
<small>{{ .Date.Format "January, 02th 2006" }}</small>
|
||||
<hr/>
|
||||
{{ .Summary }}
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue