From b6e7b9c023572b3e82e6d9b0437415986674a23d Mon Sep 17 00:00:00 2001 From: Ove Klykken Date: Fri, 20 Jun 2014 12:48:54 -0400 Subject: [PATCH] misc stuff for the top right area in different widths --- assets/spyglass.png | Bin 0 -> 438 bytes css/foundation.css | 8 +++-- styles.css | 63 +++++++++++++++++++++++++++++++++++----- templates/template.html | 19 +++++++----- 4 files changed, 73 insertions(+), 17 deletions(-) create mode 100644 assets/spyglass.png diff --git a/assets/spyglass.png b/assets/spyglass.png new file mode 100644 index 0000000000000000000000000000000000000000..59c4c4d5919eba98c0ce06da22ebbe6846b868c0 GIT binary patch literal 438 zcmV;n0ZIOeP)FcBE}_Tn}6t`X%Z$3=~Gu(Use6pB^ifClBBlnin1Pt)9rSXo(`o{ z*HwFIPNxP;0w&GMJg=mGoYl(u`drGWzyU>39LHHK7Dzk{Lz<>#S&9rIKXgq-OC0ch zpAeGg`T2aF&*$6iR#nwFjztXdGBhv)6#yI#htuiDgCef$uGj0Ts>X5T4B{yljh2d{ zU;sO;!fZAZ>mZ(r!?|28;^*u2dcWT%lgZ;4`K|AJltO#l14%I9|C33Q#4rq|8#OJ< z!W~MQrg>mweyi&`iXuz`(aZxt)3nWIgLI-!Sxk^+8Kwl$(17!Z2jme!qtY@f4f)ddJ$f1%|nUhl%)i gc9gvFFMJCy0G+whq3zQK-v9sr07*qoM6N<$g8bdVUjP6A literal 0 HcmV?d00001 diff --git a/css/foundation.css b/css/foundation.css index 452db98..e4b4428 100644 --- a/css/foundation.css +++ b/css/foundation.css @@ -270,6 +270,10 @@ select { position: relative; padding-left: 0.9375em; padding-right: 0.9375em; + + padding-left: 0em; + padding-right: 0em; + float: left; } .small-1 { @@ -497,8 +501,8 @@ select { .columns { position: relative; padding-left: 0.9375em; - padding-right: 0.9375em; - float: left; } + padding-right: 0.9375em; + float: left; } .medium-1 { width: 8.33333%; } diff --git a/styles.css b/styles.css index b4c63a3..ddec649 100644 --- a/styles.css +++ b/styles.css @@ -51,20 +51,69 @@ body { display: none; } } -.vcard { +/* Top Right */ +#topright { color: white; border: 0; float: right; + margin: 16px 0 0 0; + width: 220px; } -.vcard a { +#topright a { color: white; - border-left: 1px solid white; - padding-left: 10px; margin-left: 5px; + text-decoration: underline; + } +#topright span { + margin-left: 5px; + } +#search { + position: relative; + height: 21px; + width: 193px; + border: 1px solid #aaa; + background: #f8f7f1; + border-radius: 5px; + margin: 10px 0 0 0; + } +#search input[type=text] { + color: #5A91CE; + height: 21px; + background: transparent; + border: 0; + margin: 0; + width: 175px; } -.vcard input[type="text"] { - border-radius: 10px; - margin-top: 10px; +#search ::-webkit-input-placeholder { font-size: 12px; } +#search ::-moz-placeholder { font-size: 12px; } /* firefox 19+ */ +#search :-ms-input-placeholder { font-size: 12px; } /* ie */ +#search input:-moz-placeholder { font-size: 12px; } +#search input[type=submit] { + position: absolute; + right: 2px; + top: 2px; + position: absolute; +height: 16px; +width: 17px; +background: url(assets/spyglass.png) no-repeat scroll transparent; +text-indent: -9999px; +border: 0; +cursor: pointer; + } +@media only screen and (max-width: 40.063em) { + #topright { + width: 100%; + } + #search { + margin-top: 0; + width: 140px; + } + #search input[type=text] { + 125px; + } + #topright { + font-size: 12px; + } } /* small logo */ #logoSmall { diff --git a/templates/template.html b/templates/template.html index ac08d11..61e8c43 100644 --- a/templates/template.html +++ b/templates/template.html @@ -28,7 +28,7 @@ $(function() {
-

Soo Locks Boat Tours

+

Soo Locks Boat Tours

-
+

Sault Ste. Marie, Michigan

-
-
-
- (800) 432-6301 +
+
+
+ (800) 432-6301| Contact
-
- +
+
-- 2.17.1