/* Theme Name: Align Theme URI: http://www.90four.com/themes/align Description: Align is a responsive and minimal wordpress theme. Align can be used as a magazine site, news site or just as your personal blog. Version: 0.5 Author: Haziq Hadi Author URI: http://www.90four.com Tags: flexible-width, threaded-comments, microformats, translation-ready, rtl-language-support, one-column, three-columns License: MIT License License URI: http://www.opensource.org/licenses/mit-license.php */ @import "http://fonts.googleapis.com/css?family=Droid+Serif:400,400italic,700"; /* -------------------------------------------------- Table of Contents ----------------------------------------------------- :: Adjustments :: Styling Basic WordPress Outputs :: Posts :: Main Stylings */ /* --------------------------------------------------- Adjustments --------------------------------------------------- */ /* Auto Height for Images for Responsive Design */ img { height: auto; } li { margin-bottom: 2%!important; } /* Foundation-specific presentation CSS by ZURB */ body { padding-bottom: 60px; } /* ----------------------------------------- Styling Basic WordPress Outputs ----------------------------------------- */ /* Resizing the Blog Post */ .post-box p { line-height: 2em!important; } .post-box { font-size: 12px; line-height: 20px!important; margin-bottom: 50px; } .post-box h1 { font-weight: bold; font-size: 30px; line-height: 1; margin-bottom: 2px; } .post-box h2 { font-weight: bold; font-size: 26px; line-height: 1; margin-bottom: 2px; } .post-box h3 { font-size: 22px; } .post-box h4 { font-size: 18px; } .post-box h5 { font-size: 16px; } .row .fix.columns { width: 67.2%; } /* Add HTML5 Caption Class for Images */ figure.figure { background: #EEE; margin: 0 0 18px; -webkit-border-radius: 3px; -moz-border-radius: 3px; display: inline-block; } figure.figure figcaption { display: block; padding: 8px 10px; font-size: 13px; line-height: 18px; color: #555; } figure.alignright.figure { float: right; margin: 0 0 18px 18px; } figure.alignleft.figure { float: left; margin: 0 18px 18px 0; } /* Footer Nav */ .footer-section { padding-bottom: 10px; padding-top: 20px; font-size: 1.3rem; font-weight: normal; } .footer-nav li { display: block; float: right; padding-left: 3%; margin-bottom: 0; } /* -------------------------- Posts ----------------------- */ .alignnone { margin: 0 0 20px; } .aligncenter, div.aligncenter { display:block; margin: 5px auto 5px auto; } .alignright { float:right; margin: 5px 0 20px 20px; } .alignleft { float:left; margin: 5px 20px 20px 0; } .aligncenter { display: block; text-align:center; margin: 5px auto 5px auto; } a img.alignright { float:right; margin: 0 0 20px; } a img.alignnone { margin: 0 0 20px; } a img.alignleft { float:left; margin: 5px 20px 15px 0; } a img.aligncenter { display: block; margin-left: auto; margin-right: auto } em { font-style:italic; } .wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; /* Image does not overflow the content area */ padding: 5px 3px 10px; text-align: center; } .wp-caption.alignnone { margin: 5px 20px 20px 0; } .wp-caption.alignleft { margin: 5px 20px 20px 0; } .wp-caption.alignright { margin: 5px 0 20px 20px; } .wp-caption img { border: 0 none; height: auto; margin:0; max-width: 98.5%; padding:0; width: auto; } .wp-caption p.wp-caption-text, .gallery-caption { font-size:11px; line-height:17px; margin:0; padding:5px 4px 0; } .sticky {} .bypostauthor { border:3px; } /* -------------------------- Main Stylings ----------------------- */ .sidebar-box { border-top: 1px solid #DDDDDD; } .sidebar-section h6 { font-size: 11px; margin-bottom: 10px; text-transform: uppercase; font-weight: bold; } .sidebar-section li a { border-bottom: 1px solid #DDDDDD; display: block; padding: 10px 0; } .sidebar-section li:first-child a { padding-top: 0; } .sidebar-section .textwidget, .sidebar-section .tagcloud { border-bottom: 1px solid #DDDDDD; padding-bottom: 20px; } .sidebar-section { font-size: 11px; padding: 20px 0 0; } .sidebar-section ul { margin: 0; } .sidebar-box input { background: #FFFFFF !important; width: auto !important; max-width: 100%; } .meta h2 { font-size: 12px; padding: 20px 0; border-bottom: 1px solid #DDDDDD;} #header { margin-top: 20px; text-align: center; } .tagl { border-bottom: 1px solid #DDDDDD; margin: 0 0 20px; padding: 30px 0; } .tagl h1 { font-weight: normal; margin: 0; text-transform: uppercase; } .tagl h4 { font-size: 13px; font-weight: normal; } .catmet { border-bottom: 1px solid #DDDDDD; padding: 10px 0 0; } .catmet p { font-size: 11px; } .catmet h6 { font-size: 11px; font-weight: bold; margin-bottom: 10px; } .catmet a { color: #666666; } #post-nav { border-top: 1px solid #DDDDDD; padding: 20px 0 0; } #post-nav a, #post-nav .current { display: block; float: left; margin-right: 5px; padding: 0 5px 5px; } #post-nav a:hover, #post-nav .current { border-bottom: 1px solid #000000; } .menu-bar { border-bottom: 1px solid #DDDDDD; margin: 0; padding: 0 0 20px; text-align: center; } .menu-bar li { display: inline; font-size: 12px; margin: 0 10px; text-transform: uppercase; letter-spacing: 1px; } .menu-bar li:first-child span { display: none; } #dotn { margin-right: 15px; } .menu-bar a:hover { text-decoration: underline; } #footer { border-top: 1px solid #DDDDDD; font-size: 12px; margin-top: 20px; padding: 20px 0 5px; } #footer ul { margin-bottom: 0; } #comment { border: none; margin: 10px 0 0; width: 85%; max-width: 500px; } #s { margin-bottom: 10px; } #respond {} #reply-title { font-size: 14px; margin: 0 0 20px; text-decoration: underline; } .required { color: #CC4D22; } .form-allowed-tags { display: none; } .comment-notes { display: none; } #commentlist p { margin-left: 52px; } #commentlist { margin: 20px 0 40px; } #commentlist li { list-style: none; } #commentlist li ul li { border-left: 1px solid #EEEEEE; border-top: 1px solid #EEEEEE; list-style: none; margin: 15px; padding: 10px; } #commentlist li.bypostauthor {} .comment-author a {} .comment-form-comment label { display: none !important; } #commentform input { border: none; padding: 5px; display: block; float: left; margin-right: 12px; } .comment-meta, #commentlist cite { color: #444444; } #commentform label { font-size: 11px; display: inline; } .reply a { color: #000000; text-decoration: underline; } .avatar { float: left; margin-right: 20px; } .reply a:hover { text-decoration: none; } .form-submit #submit:hover { background: #FFFFFF; } .nocom p { background: #F2F2F2; padding: 10px; } .post-author p { line-height: 1.5em !important; margin: 0; } .post-author { border-bottom: 1px solid #DDDDDD; border-top: 2px solid #000000; margin-bottom: 20px; padding: 15px 0; } .post-author h6 { font-size: 14px; margin-bottom: 5px; } .post-author-image { display: block; float: left; margin: 0; }