/* Theme Name: Blue Ocean Theme URI: http://www.andersnoren.se/wordpress-themes/ Description: A fresh, clean and simple WordPress theme, featuring widget support, nested comments, custom background and built-in buttons for sharing posts on Facebook, Twitter and Digg. Author: Anders Norén Author URI: http://www.andersnoren.se Version: 1.0 License: GNU General Public License v2.0 License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: blue, white, light, two-columns, fixed-width, custom-background, threaded-comments, sticky-post */ /* SETTING IT UP ----------------------------------- */ body { background:#eee; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size:14px; margin:0; padding:0; color:#111; } body a { color:#C00; text-decoration:none; } body a:hover { color:#830000; } .wrapper { margin-top:20px; margin-bottom:20px; width:920px; padding:20px; padding-top:1px; background:#FFF; margin-left:auto; margin-right:auto; } .content { background:#FFF; width:640px; float:left; } img { border:none; } /* HEADER ------------------------------------- */ .header { margin-top:0px; } .header_image { background:url(images/header.jpg); width:920px; height:200px; margin-top:20px; } .header h1, .header h2 { width:auto; background:#4b5c7d; float:left; color:#FFF; text-shadow: #000 0 1px 1px; } .header h1 { margin-top:-155px; margin-left:46px; padding-top:10px; padding-bottom:10px; padding-left:14px; padding-right:25px; font-size:40px; } .header h2 { margin-top:-100px; margin-left:46px; padding-top:10px; padding-bottom:10px; padding-left:14px; padding-right:25px; font-size:28px; } .header a, .header a:hover, .header a:visited { color:#FFF; text-decoration:none; } /* MENU ------------------------------------- */ .header .menu ul { background: none repeat scroll 0 0 #DBE2ED; overflow: hidden; padding: 0 5px; width: 910px; } .header .menu ul li { display: inline-block; float: left; font-size: 14px; list-style-type: none; padding-top:5px; margin:10px 6px 6px 0; } .header .menu ul li.rss { float: right; margin-right:-2px; padding-bottom:2px; } .header .menu ul li a { color:#111; text-decoration:none; padding:10px; } .header .menu ul li a:hover { background:#b8c7e1; } .header .menu ul li img { margin-top:-4px; overflow:hidden; border:none; } .header .menu ul li.rss a { padding:0; padding-right:9px; } .header .menu ul li.rss a:hover { background:#dbe2ed; text-decoration:none; } .header .menu ul ul { display: none; position: absolute; left: 0; top: 168%; background: #dbe2ed; min-width:100px; max-width:200px; } .header .menu li:hover > ul { display: block; } .header .menu li ul li { display: block; } .header .menu ul ul ul { position: absolute; left: 100%; top: 0; } .header .menu { white-space:nowrap; } /* POST_META -------------------------------- */ .content .post .post_meta a, .content .post .post_meta a:visited, .content .post a.comments, .content .post a.comments:visited { color:#FFF; text-decoration:none; } .content .post .post_meta a:hover, .content .post a.comments:hover { text-decoration:underline; } .content .post .post_info { width:640px; margin-bottom:50px; } .content .post .post_meta { width:485px; height:21px; padding:5px; padding-bottom:0px; float:left; background:#4f5e7b; color:#FFF; font-size:14px; margin-bottom:10px; } .content .post .post_meta span, .content .post .share { font-family:Georgia, "Times New Roman", Times, serif; text-transform:lowercase; font-style:italic; font-size:12px; color:#FFF; } .content .post .share { float:left; height:20px; padding-top:3px; margin-left:5px; margin-bottom:15px; padding-left:5px; padding-right:5px; background:#FFF; color:#111; width:100px; } .content .post .share span { line-height:20px; } .content .post .share img { float:right; margin-left:1px; margin-right:1px; border:none; padding-top:-5px !important; vertical-align:baseline; } .content .post .post_comments { float:right; background:url(images/comments_icon.png); } .content .post a.comments .post_comments { height:27px; width:26px; text-align:center; padding-top:5px; } /* POST ------------------------------------- */ .content .post { width:640px; } .content h2.post_header, .content h2.page_header { font-size:28px; font-family:Georgia, "Times New Roman", Times, serif; font-style:italic; font-weight:normal; clear:both; margin-bottom:5px; margin-top:0; } .content .post h2.post_header a, .content .post h2.page_header a { text-decoration:none; color:#4b5c7d; } .content .post .post_content p { font-size:14px; line-height:21px; } .content .post .post_content { margin-bottom:40px; } .content .post .post_content p:last-child { margin-bottom:10px; } .content .post .post_content img { max-width:640px; } .content .post .post_content dl.gallery-item { margin-top:0px !important; height:150px; margin-bottom:30px; } .content .post .post_content dt.gallery-icon { height:150px !important; } .content .post .post_content li { line-height:22px; } .content:last-child { margin-bottom:-20px; } .post .categories_tags { padding-top:0px; padding-bottom:0px; border-top:1px solid #DDD; color:#666; margin-bottom:40px; } .post .categories_tags p:first-child { margin-top:5px !important; margin-bottom:5px; padding:0; } .post .categories_tags p:last-child { padding-bottom:5px !important; margin-top:5px; padding:0; border-bottom:1px solid #DDD; } /* GENERAL POST FORMATTING ----------------- */ .wp-caption { padding: 7px 7px; border: 1px solid #DDD; font-size: 12px; color: #999; font-family:Georgia, "Times New Roman", Times, serif; font-style: italic; text-align:center; margin-bottom:5px; } p.wp-caption-text { margin:10px 0 0 0 !important; padding:0; line-height: 14px !important; } .gallery-caption { width:150px; margin-top:8px; font-family:Georgia, "Times New Roman", Times, serif; font-style:italic; font-size:12px; color:#999; } .aligncenter { text-align:center; } /* COMMENTS -------------------------------- */ .comments { width:640px !important; overflow:hidden; } .comments h2.post_header { font-size:22px; margin-bottom:20px; } .comment { width:640px; margin-bottom:20px; padding-bottom:20px; border-bottom:1px solid #ddd; } .comment p.author_name { margin-bottom:3px; font-weight:bold; } .comment span.comment_date { font-size:14px; color:#999; font-weight:normal; } .comment p { line-height:22px; margin-top:3px; padding-bottom:3px; padding-left:60px; margin-bottom:0px; width:560px; } .comment img.avatar { float:left; width:40px; height:40px; margin-right: 5px; padding:5px; border: 1px solid #DDD; } /* PAGE --------------------------------------------- */ .content h2.archive_header { padding-bottom:10px; margin-bottom:10px; border-bottom:1px solid #DDD; } /* RESPOND ------------------------------------------ */ .respond { margin-top:40px; } .respond textarea, .respond input { font-size:14px; font-family:Helvetica, Arial, sans-serif; padding:8px; border: 3px solid #DDD; margin-bottom:10px; } .respond input { width:300px; } .respond textarea { width:624px; } .respond label { font-size:14px; font-family:Helvetica, Arial, sans-serif; margin-left:10px; } .respond #submit { color:#FFF; margin-top:15px; margin-bottom:40px; background: #999; width:150px; } /* SIDEBAR --------------------------------- */ #sidebar { width:250px; float:right; } #sidebar .widget h3 { width:250px; margin-bottom:3px; font-family:Georgia, "Times New Roman", Times, serif; font-size:16px; font-style:italic; color:#4f5e7b; font-weight:normal; margin-top:2px; } #sidebar .widget { margin:0; margin-bottom:15px; line-height:21px; font-size:13px; } .widget p:first-child { margin-top:0px; } #sidebar .widget ul { margin:0; padding:0; } #sidebar .widget ul li { margin:0; padding:0; list-style-type:none; display:block; width:100%; line-height:22px; border-bottom:1px solid #eee; text-decoration:none; font-size:13px; padding-top:3px; padding-bottom:3px; } #sidebar .widget ul.children { width:220px; margin-left:30px; } #sidebar .widget ul.children li ul.children { width:200px; margin-left:30px; } /* OLDER AND NEWER POSTS NAVIGATION -------- */ .navigation { width:640px; clear:both; } .navigation .alignleft { width:200px; float:left; margin-bottom:10px; } .navigation .alignright { width:200px; float:right; text-align:right; margin-bottom:10px; } /* FOOTER ---------------------------------- */ .footer { clear:both; border-top:1px solid #4f5e7b; font-size:12px; margin-top:20px; } .footer p { margin-top:5px; line-height:18px; margin-bottom:0px !important; } .footer .left { width:400px; float:left; } .footer .left span { font-style:italic; } .footer .right{ width:400px; float:right; text-align:right; } .toplink { margin-top:30px; font-family:Georgia, "Times New Roman", Times, serif; font-size:12px; text-align:center; margin-bottom:25px; } .toplink span { font-style:italic; }