diff options
author | Ugnich Anton | 2012-12-26 12:24:56 +0700 |
---|---|---|
committer | Ugnich Anton | 2012-12-26 12:24:56 +0700 |
commit | adc8967345f8a603159f4212b71a11133d27d65e (patch) | |
tree | 80e30c82a66e3d781cd7d9f05edecc4d5e03b147 /web/style3.css | |
parent | e7bb9f71fa5401c3f07e97f0ad1ea21b7b8897ac (diff) |
CSS optimization
Diffstat (limited to 'web/style3.css')
-rw-r--r-- | web/style3.css | 63 |
1 files changed, 31 insertions, 32 deletions
diff --git a/web/style3.css b/web/style3.css index fcc3c718..7a302320 100644 --- a/web/style3.css +++ b/web/style3.css @@ -1,4 +1,4 @@ -html,body,h1,h2,ul,li,form,input,textarea { margin: 0; padding: 0; } +html,body,div,h1,h2,ul,li,form,input,textarea { margin: 0; padding: 0; } html,input { font-family: sans-serif; font-size: 12pt; } html { background: #EEEEE5; color: #000; } h1,h2 { font-weight: normal; } @@ -6,7 +6,8 @@ ul { list-style-type: none; } a { text-decoration: none; color: #069; } img { border: none; } -#header,#topwrapper { width: 1000px; margin: 0 auto; } +#header, #topwrapper { width: 1000px; margin: 0 auto; } +#content, #footer { width: 600px; margin: 0 auto; } /********/ @@ -24,38 +25,36 @@ img { border: none; } #nav-right a:hover { background: #444; } #nav-right .wide { padding: 0 20px; } #nav-right img { max-width: 32px; max-height: 32px; vertical-align: middle; margin: 0 4px 0 0; } -#nav-right .ico24 { width: 24px; height: 24px; background: url(//static.juick.com/icons24.png) no-repeat; padding: 12px 0; } +#nav-right .ico24 { width: 24px; height: 24px; padding: 12px 0; background: url(//static.juick.com/icons24.png) no-repeat; } /********/ #topwrapper { position: relative; } #wrapper { width: 100%; float: left; } -#content { width: 600px; margin: 0 auto; padding: 0; } -#content li { background-repeat: no-repeat; } /********/ -#geomap { margin-top: 1em; width: 570px; height: 360px; overflow: hidden; } - -#content .msg { padding: 15px; margin: 8px 0 16px 0; width: 570px; border: 1px solid #EEE; background: #FFF; } -#content .msgthread { margin-bottom: 0; border-bottom-color: #CCC; } -#content .msg-avatar { float: left; } -#content .msg-avatar img { width: 48px; height: 48px; vertical-align: top; } -#content .msg-ts { float: right; font-size: small; vertical-align: top; } -#content .msg-ts, .msg-ts>a { color: #999; } -#content .msg-menu { margin: 0 0 0 6px; padding: 2px 0; } -#content .msg-menu img { vertical-align: top; } -#content .msg-header { margin-left: 58px; overflow: hidden; } -#content .msg-place { font-size: small; margin: 8px 0 8px 58px; color: #999; } -#content .msg-txt { margin: 8px 0 8px 58px; overflow: hidden; } -#content .msg-media { text-align: center; margin: 8px 0 0px 58px; } -#content .msg-links { font-size: small; margin: 8px 0 0 68px; color: #999; } -#content .msg-comments { margin: 10px 0 0 58px; padding: 5px 0 0 10px; overflow: hidden; font-size: small; border-top: 1px solid #DDD; color: #AAA; } -#content .msg-comment { margin: 8px 0 0 58px; } -#content .msg-comment textarea { width: 505px; padding: 2px; resize: vertical; vertical-align: top; min-height: 12pt; height: 12pt; border: 1px solid #DDD; } -#content .msg-comment textarea.narrow { width: 450px; } -#content .msg-comment input { border: 1px solid #CCC; width: 50px; margin-left: 6px; vertical-align: top; background: #EEE; color: #999; } -#content .msg-recomms { margin: 10px 0 0 68px; overflow: hidden; font-size: small; color: #AAA; } +#geomap { width: 570px; height: 360px; margin-top: 1em; overflow: hidden; } + +.msg { padding: 15px; margin: 8px 0 16px 0; width: 570px; border: 1px solid #EEE; background: #FFF; } +.msgthread { margin-bottom: 0; border-bottom-color: #CCC; } +.msg-avatar { float: left; } +.msg-avatar img { width: 48px; height: 48px; vertical-align: top; } +.msg-ts { float: right; font-size: small; vertical-align: top; } +.msg-ts, .msg-ts>a { color: #999; } +.msg-menu { margin: 0 0 0 6px; padding: 2px 0; } +.msg-menu img { vertical-align: top; } +.msg-header { margin-left: 58px; overflow: hidden; } +.msg-place { font-size: small; margin: 8px 0 8px 58px; color: #999; } +.msg-txt { margin: 8px 0 8px 58px; overflow: hidden; } +.msg-media { text-align: center; margin: 8px 0 0px 58px; } +.msg-links { font-size: small; margin: 8px 0 0 68px; color: #999; } +.msg-comments { margin: 10px 0 0 58px; padding: 5px 0 0 10px; overflow: hidden; font-size: small; border-top: 1px solid #DDD; color: #AAA; } +.msg-comment { margin: 8px 0 0 58px; } +.msg-comment textarea { width: 505px; padding: 2px; resize: vertical; vertical-align: top; min-height: 12pt; height: 12pt; border: 1px solid #DDD; } +.msg-comment .narrow { width: 450px; } +.msg-comment input { border: 1px solid #CCC; width: 50px; margin-left: 6px; vertical-align: top; background: #EEE; color: #999; } +.msg-recomms { margin: 10px 0 0 68px; overflow: hidden; font-size: small; color: #AAA; } .mtoolbar { width: 600px; margin-left: 1px; background: #E5E5DD; } .mtoolbar ul { padding: 5px; } @@ -63,11 +62,11 @@ img { border: none; } .mtoolbar a { padding: 5px; } .mtoolbar div { display: inline-block; width: 16px; height: 16px; background: url(//static.juick.com/toolbar-icons.png) no-repeat; vertical-align: middle; margin: 5px; } -#content textarea.newmessage { width: 570px; padding: 2px; resize: vertical; border: 1px solid #DDD; } +.newmessage { width: 570px; padding: 2px; resize: vertical; border: 1px solid #DDD; } /* textarea */ -table.users { width: 100%; margin: 10px 0; } -table.users td { width: 33%; padding: 6px 0; overflow: hidden; } -table.users img { width: 32px; height: 32px; vertical-align: middle; margin-right: 6px; } +.users { width: 100%; margin: 10px 0; } /* table */ +.users td { width: 33%; padding: 6px 0; overflow: hidden; } /* table */ +.users img { width: 32px; height: 32px; vertical-align: middle; margin-right: 6px; } /* table */ .title2 { padding: 10px 20px; margin: 20px 0; background: #DDDDD0; } .title2-right { float: right; line-height: 24px; } @@ -101,12 +100,12 @@ table.users img { width: 32px; height: 32px; vertical-align: middle; margin-righ #dialogw { display: none; position: fixed; top: 40%; left: 30%; width: 350px; padding: 20px; background: #EEEEE5; border: 1px solid #999; } #dialogl,#dialogn { padding: 5px; margin: 3px 0 20px; border: 1px solid #DDD; background: #F5F5E9; } #dialogw li { float: left; margin: 5px 10px 0 0; } -#dialogw li>a { display: block; width: 32px; height: 32px; background: url(//static.juick.com/sharesocial.png); } +#dialogw a { display: block; width: 32px; height: 32px; background: url(//static.juick.com/sharesocial.png); } #sharetw { background-position: -32px 0; } #sharevk { background-position: -64px 0; } #sharegp { background-position: -96px 0; } /********/ -#footer { clear: both; width: 600px; margin: 0 auto; font-size: small; padding: 15px 0 10px 0; color: #999; } +#footer { clear: both; font-size: small; padding: 15px 0 10px 0; color: #999; } #footer-right { float: right; } |