summaryrefslogtreecommitdiffstats
path: root/sass/parts/_header.scss
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-01-24 18:23:47 +0100
committerSkyArrow <tommy351@gmail.com>2012-01-24 18:23:47 +0100
commit7c05b0a627b22f227084d5144e9eb0879c920a68 (patch)
tree73491895f8a94d437332e7a1a8026b2eca0f2c08 /sass/parts/_header.scss
parenta63d03908153e5d0f2825d5972d726e92f2ad92c (diff)
downloadoctopress-theme-jeyzu-7c05b0a627b22f227084d5144e9eb0879c920a68.zip
octopress-theme-jeyzu-7c05b0a627b22f227084d5144e9eb0879c920a68.tar.gz
<select> menu for mobile devices
Diffstat (limited to 'sass/parts/_header.scss')
-rw-r--r--sass/parts/_header.scss16
1 files changed, 14 insertions, 2 deletions
diff --git a/sass/parts/_header.scss b/sass/parts/_header.scss
index a258e9d..3f73710 100644
--- a/sass/parts/_header.scss
+++ b/sass/parts/_header.scss
@@ -27,8 +27,8 @@ header{
}
}
>a{
- padding: 35px 30px 35px 0;
- margin-top: -35px;
+ padding: 38px 30px 38px 0;
+ margin-top: -38px;
background: image-url('detail.png') right center no-repeat;
&:only-child{
padding-right: 0;
@@ -77,6 +77,10 @@ header{
}
}
}
+ select{
+ display: none;
+ margin-bottom: 10px;
+ }
}
.search{
input[type="text"]{
@@ -183,6 +187,14 @@ header{
@media screen and (max-width: 600px){
header{
+ nav{
+ >ul{
+ display: none;
+ }
+ select{
+ display: block;
+ }
+ }
.social{
display: none;
}