From: Ove Klykken Date: Mon, 21 Jul 2014 15:17:28 +0000 (-0400) Subject: subnav marker. misc styles and template X-Git-Tag: VV1^2~83 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=c11175d0eaa3a562abbe3958470f3157832d7a82;p=web%2FCityofMI.git subnav marker. misc styles and template --- diff --git a/assets/subnavMarker.png b/assets/subnavMarker.png new file mode 100755 index 0000000..aaabf1a Binary files /dev/null and b/assets/subnavMarker.png differ diff --git a/styles.css b/styles.css index e3bc302..797d395 100755 --- a/styles.css +++ b/styles.css @@ -10,6 +10,9 @@ body { #header { position: relative; } +a { + text-decoration: underline; + } /* Logo */ #logo { margin-left: -27px; @@ -77,6 +80,7 @@ body { display: block; padding-left: 20px; padding-right: 20px; + text-decoration: none; } /* Slideshow */ #homeSlide { @@ -226,3 +230,59 @@ body { #eventItemWrapper .cEventCategory { display: block; } +/* Subnav */ +#subnav { + width: 223px; + background-color: rgb(43, 133, 168); + border: 2px solid white; + box-shadow: 1px 1px 2px rgba(0, 0, 0, .5); + } +#subnav h2 { + color: white; + font-family: 'Source Sans Pro', sans-serif; + font-weight: bold; + font-size: 22px; + text-align: center; + } +#subnav a { + color: white; + display: block; + text-decoration: none; + } +#subnav a:hover { + color: #9dc6af; + text-shadow: 1px 1px #000; + } +#subnav a#current { + background: url(assets/subnavMarker.png) no-repeat center left; + padding-left: 14px; + } +#subnav ul, +#subnav li { + list-style-type: none; + margin: 0; + padding: 0; + } +#subnav ul { + margin: 15px; + } +#subnav li { + display: block; + } +#main { + margin-top: 16px; + } +#breadcrumbs { + font-size: 12px; + color: rgba(0, 0, 0, .5); + } + + + + + + + + + + diff --git a/templates/template.html b/templates/template.html old mode 100644 new mode 100755 index 86948ca..460b7d3 --- a/templates/template.html +++ b/templates/template.html @@ -9,7 +9,7 @@ {topScripts:h} - + {if:isHomePage} @@ -63,9 +63,6 @@ -
@@ -77,7 +74,7 @@
-
-
- {toolboxContent:h} -
-
- -
+
+
+
+ +
+
+
+ {toolboxContent:h} +
+
+ +
+
+