From 9a71d785746c454e67dbfa59d453aaa67e5f69b3 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 29 Sep 2011 16:41:33 -0400 Subject: use scss, save derived php files as patches, and inlude twentyeleven-fix.scss --- twentyeleven-fix.scss | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 twentyeleven-fix.scss (limited to 'twentyeleven-fix.scss') diff --git a/twentyeleven-fix.scss b/twentyeleven-fix.scss new file mode 100644 index 0000000..7c1d44d --- /dev/null +++ b/twentyeleven-fix.scss @@ -0,0 +1,58 @@ +body #page header#branding #access { + ul { + :hover > ul, + :hover + ul, + :active > ul, + :active + ul, + :focus > ul, + :focus + ul { + display: block; + } + } +} + +@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 + } + } + #access { + ul, div { + margin: 0; + padding: 0; + } + ul { + li { + float: none; + display: block; + width: 50%; + ul { + left: 100%; + top: 0; + } + ul { + width: 100%; + li, a { + width: auto; + } + } + } + } + } + } +} \ No newline at end of file -- cgit v1.2.3