From 764d0e85acf7613a6c23c3c034f0454f2e531dc2 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sat, 2 Mar 2013 10:01:52 +0100 Subject: [PATCH] Add featured projects section --- public_html/static/css/style.css | 40 ++++++++++++++++++++++++++++++++ public_html/templates/index.tpl | 40 ++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/public_html/static/css/style.css b/public_html/static/css/style.css index b846718..64cdcdf 100644 --- a/public_html/static/css/style.css +++ b/public_html/static/css/style.css @@ -851,3 +851,43 @@ a.button:hover border: 1px solid #587532; background-color: #F1FFD0; } + +/************************************** + * FEATURED * + **************************************/ + +.featured +{ + border-top: 1px solid #838383; + padding-top: 12px; +} + +.featured .feature +{ + float: left; + background-color: black; + border: 1px solid silver; + margin: 3px; +} + +.featured .feature img +{ + width: 145px; + display: block; +} + +.featured .feature a.go +{ + display: block; + background-color: #699336; + color: white; + font-size: 15px; + font-weight: bold; + text-decoration: none; + padding: 6px 7px; +} + +.featured .feature a.go:hover +{ + background-color: #4FA22A; +} diff --git a/public_html/templates/index.tpl b/public_html/templates/index.tpl index fdc7652..7c68495 100644 --- a/public_html/templates/index.tpl +++ b/public_html/templates/index.tpl @@ -66,4 +66,44 @@
+