diff options
author | raylu <raylu@mixpanel.com> | 2011-07-04 02:44:57 -0700 |
---|---|---|
committer | raylu <raylu@mixpanel.com> | 2011-07-04 02:44:57 -0700 |
commit | 47581aa5b4f85522a1ec171eae76da6105b3b954 (patch) | |
tree | 3306245d3b296b27435cc5b3766567625c9f0794 /webroot/css/home.css | |
parent | d8c9eac73efb7ed766763e972a4db6d46d0735e8 (diff) | |
download | otakuhub-47581aa5b4f85522a1ec171eae76da6105b3b954.tar.xz |
reorganize CSS... with fire
Diffstat (limited to 'webroot/css/home.css')
-rw-r--r-- | webroot/css/home.css | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/webroot/css/home.css b/webroot/css/home.css new file mode 100644 index 0000000..2cc3d8b --- /dev/null +++ b/webroot/css/home.css @@ -0,0 +1,75 @@ +#scrollwrapper { + padding: 15px 20px; + border: 1px solid #ccc; + float: left; + margin: 10px 25px; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; +} +.scrollable { + height: 330px; + overflow: hidden; + position: relative; + width: 800px; + float: left; +} +.scrollable .items { + clear: both; + position: absolute; + width: 20000em; +} +.items div { + float: left; + width: 740px; +} +.scrollable img { + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + background-color: #fff; + border: 1px solid #ccc; + float: left; + height: 300px; + margin-right: 15px; +} +.scrollable .active { + border: 2px solid #000; + cursor: default; + position: relative; +} +a.browse { + background: url(../img/scrollable.png) no-repeat; + display: block; + width: 30px; + height: 30px; + margin: 150px 10px; + cursor: pointer; + font-size: 1px; + position: absolute; +} +a.right { + background-position: 0 -30px; + clear:right; + margin-right: 0px; + right:25px; +} +a.right:hover { + background-position:-30px -30px; +} +a.right:active { + background-position:-60px -30px; +} +a.left { + margin-left: 0px; + left:25px; +} +a.left:hover { + background-position:-30px 0; +} +a.left:active { + background-position:-60px 0; +} +a.disabled { + visibility: hidden !important; +} |