From: Ove Klykken Date: Thu, 12 Jun 2014 14:24:23 +0000 (-0400) Subject: Inside header image w header text and paragraph w rounded corners X-Git-Tag: v1.0^2~67 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=3f15ac1f10d5150fd0b624bb0be4cbf9311eb1eb;p=web%2FSooLocks.git Inside header image w header text and paragraph w rounded corners --- diff --git a/TMPheader.png b/TMPheader.png new file mode 100644 index 0000000..15e3954 Binary files /dev/null and b/TMPheader.png differ diff --git a/styles.css b/styles.css index 208e188..028756a 100644 --- a/styles.css +++ b/styles.css @@ -105,10 +105,14 @@ body { } } /* columns */ -#main { - background: white; +#mainParent { border-radius: 5px; + } +#main { padding: 30px; + background: white; + border-bottom-right-radius: 5px; + border-bottom-left-radius: 5px; } #barParent { padding-right: 0; @@ -129,6 +133,30 @@ body { #homeImg { margin: 1em 0; } +/* Inside header image and text */ +#insideHeader { + position: relative; + } +#insideHeader section { + position: absolute; + bottom: 0; + width: 720px; + background: rgba(6,88,146, .75); + color: rgba(255, 255, 255, .9); + padding: 0 20px; + } +#insideHeader h2 { + font-size: 20px; + color: rgba(255, 255, 255, .9); + margin: 0 0 0 0; + padding: 0; + } +#insideHeader p { + font-size: 14px; + margin: 0 0 .3em 0; + padding: 0; + } + /* Column */ @media only screen and (max-width: 40.063em) { #sidenav { @@ -164,6 +192,14 @@ body { margin: 2em auto; display: block; } +/* Inside header image section */ +#insideHeader { + border-top-left-radius: 5px; + border-top-right-radius: 5px; + width: 720px; + height: 250px; + overflow: hidden; + } /* Toolbox */ #toolbox h1, #toolbox h2 { diff --git a/templates/template.html b/templates/template.html index da9b6ae..d916348 100644 --- a/templates/template.html +++ b/templates/template.html @@ -90,21 +90,29 @@
-
-
- {toolboxContent:h} -
-
- +
+
+
+

Header text

+

This is an image from the Locks. It is awesome. It is cool.

+
+
+
+
+ {toolboxContent:h} +
+
+ +
-
+