diff options
author | rekado <rekado@elephly.net> | 2013-01-24 17:05:17 +0800 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2013-01-24 17:05:17 +0800 |
commit | f5f793124fe7ae9950b0fd9457374946b3b6c294 (patch) | |
tree | c9a96b01f6e9572acb702928e5d2426e449cef5f /css/mobile.css |
use Hakyll instead of middleman
Diffstat (limited to 'css/mobile.css')
-rw-r--r-- | css/mobile.css | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/css/mobile.css b/css/mobile.css new file mode 100644 index 0000000..532c573 --- /dev/null +++ b/css/mobile.css @@ -0,0 +1,46 @@ +@media only screen and (max-device-width: 480px) { + div#aside { + display: none; + position: relative; + height: auto; } + + div#mobilemenu { + display: block; + clear: both; + overflow: auto; + vertical-align: center; + background: #eee; + border-bottom: 3px solid #333333; + margin-bottom: 1em; } + div#mobilemenu a { + background: #fff; + font-size: 1.2em; + width: 25%; + padding: 10px; + margin: 5px; + float: left; + -moz-border-radius: 10px; + border-radius: 10px; + text-align: center; } + + div#page { + display: block; + float: none; + clear: both; + padding: 1em; } + div#page p { + width: auto; } + + div#frame { + width: auto; } + + div#logo { + display: none; } + + ul.archive li { + margin-bottom: 0.5em; } + ul.archive li a { + padding: 10px; } + + p.back a { + padding: 5px; } } |