summaryrefslogtreecommitdiff
path: root/twentyeleven-fix.scss
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-09-29 16:41:33 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-09-29 16:41:33 -0400
commit9a71d785746c454e67dbfa59d453aaa67e5f69b3 (patch)
treeb375446b4aae1305f7304b080a6f1504cb522bcd /twentyeleven-fix.scss
parent8191ee2ef1beadec0ce61651f8001ba91bc626c5 (diff)
use scss, save derived php files as patches, and inlude twentyeleven-fix.scss
Diffstat (limited to 'twentyeleven-fix.scss')
-rw-r--r--twentyeleven-fix.scss58
1 files changed, 58 insertions, 0 deletions
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