diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-27 16:27:35 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-27 16:27:35 -0500 |
commit | 61b167106a3a12e081e9a6378ce7d1abc2ae228c (patch) | |
tree | 39ab02c575e8f77ef0736eef956543b634d2bbdd /twentyeleven-fix.scss | |
parent | d374918177e9464b1eb1af76ca332f78d004f7db (diff) | |
parent | 0dfce348e4d118ed19bbcf8396a3f7b90fb0badc (diff) |
Merge ../twentyeleven-child
Conflicts:
.gitignore
Makefile
twentyeleven-fix.scss
Diffstat (limited to 'twentyeleven-fix.scss')
-rw-r--r-- | twentyeleven-fix.scss | 59 |
1 files changed, 36 insertions, 23 deletions
diff --git a/twentyeleven-fix.scss b/twentyeleven-fix.scss index 7c1d44d..bbfa208 100644 --- a/twentyeleven-fix.scss +++ b/twentyeleven-fix.scss @@ -1,35 +1,42 @@ -body #page header#branding #access { - ul { - :hover > ul, - :hover + ul, - :active > ul, - :active + ul, - :focus > ul, - :focus + ul { - display: block; +body { + padding: 0; + #page header#branding #access { + ul { + :hover > ul, + :hover + ul, + :active > ul, + :active + ul, + :focus > ul, + :focus + ul { + display: block; + } } } } +@mixin searchform_wide($border_width) { + position: relative !important; + top: auto !important; + bottom: auto !important; + left: auto !important; + right: auto !important; + width: 100%; + max-width: none; + .field { + float: none; + width: 100%; + display: block; + margin-left: -$border_width; + } +} + @media (max-width: 800px) { body #page header#branding { .only-search, #searchform { padding-right: 10px+28px;// matches twentyeleven values } #searchform { - position: relative !important; - top: auto !important; - bottom: auto !important; - left: auto !important; - right: auto !important; - width: 100%; - max-width: none; - .field { - float: none; - width: 100%; - display: block; - margin-left: -1px; // match border width - } + @include searchform_wide(1px); } #access { ul, div { @@ -55,4 +62,10 @@ body #page header#branding #access { } } } -}
\ No newline at end of file +} + +#ie6 { + body #page header#branding #searchform { + @include searchform_wide(1px); + } +} |