aboutsummaryrefslogtreecommitdiff
path: root/themes/classic/sass/default/partials
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-06-08 18:58:00 -0400
committerBrandon Mathis <brandon@imathis.com>2011-06-08 18:58:00 -0400
commita20dc08e105e85171bf5466cacb475b3bbcd8820 (patch)
tree153d76296a1713b2a905027a1d7646d890b655ba /themes/classic/sass/default/partials
parent901f4d7f29696df7f8254d58dc35fe7e2947da10 (diff)
downloadmy_new_personal_website-a20dc08e105e85171bf5466cacb475b3bbcd8820.tar.xz
my_new_personal_website-a20dc08e105e85171bf5466cacb475b3bbcd8820.zip
1. Added support for styled subtitle in header
2. Added javascript detection for placeholder 3. Added backup style for search field with no-placeholder support
Diffstat (limited to 'themes/classic/sass/default/partials')
-rw-r--r--themes/classic/sass/default/partials/_header.scss8
-rw-r--r--themes/classic/sass/default/partials/_navigation.scss11
2 files changed, 15 insertions, 4 deletions
diff --git a/themes/classic/sass/default/partials/_header.scss b/themes/classic/sass/default/partials/_header.scss
index 63a58c6a..4cc92e4f 100644
--- a/themes/classic/sass/default/partials/_header.scss
+++ b/themes/classic/sass/default/partials/_header.scss
@@ -1,5 +1,5 @@
body > header {
- background-color: $header_bg;
+ background-color: $header-bg;
h1 {
display: inline-block;
margin: 0;
@@ -8,4 +8,10 @@ body > header {
text-decoration: none;
}
}
+ h2 {
+ margin: .2em 0 0;
+ @extend .sans;
+ font-size: 1em;
+ color: $subtitle-color;
+ }
}
diff --git a/themes/classic/sass/default/partials/_navigation.scss b/themes/classic/sass/default/partials/_navigation.scss
index eeafb928..4abb6a2a 100644
--- a/themes/classic/sass/default/partials/_navigation.scss
+++ b/themes/classic/sass/default/partials/_navigation.scss
@@ -12,9 +12,9 @@ body > nav {
@include background-clip(padding-box);
margin: 0; padding: 0;
.search {
- padding: .25em .5em 0;
+ padding: .3em .5em 0;
font-size: .85em;
- line-height: 1em;
+ line-height: 1.1em;
width: 95%;
@include border-radius(.5em);
@include background-clip(padding-box);
@@ -41,7 +41,6 @@ body > nav {
ul {
@include horizontal-list(0);
float: left;
- //float: right;
display: block;
padding-top: .25em;
}
@@ -92,6 +91,12 @@ body > nav {
}
}
}
+.no-placeholder {
+ body > nav .search {
+ background: lighten($nav-bg, 15) image-url('search.png') .3em .25em no-repeat;
+ text-indent: 1.3em;
+ }
+}
.maskImage {
ul[role=subscription] { li, a { border: 0; padding: 0; }}
a[rel=subscribe-rss]{