/* Theme Name: Thistle Theme URI: http://blog.NOVALISTIC.com/downloads/wordpress-themes/thistle Description: A feminine, simple, lavender & purple theme. Tags: purple, lavender, simple, fixed width, two columns, widgets Version: 1.0.2 Author: Daniel Tan aka BoltClock Author URI: http://blog.NOVALISTIC.com */ /* ---------------- General elements ---------------- */ /******* * The ground basics *******/ * { margin: 0; padding: 0; } p { margin: 0.5em 0; } /******* * Headings *******/ h2, h3, h4 { line-height: 2em; margin-bottom: 0.5em; } h2 { font-size: 2em; } h3 { font-size: 1.5em; } h4 { font-size: 1.2em; } /******* * Code displays *******/ pre, code, kbd, var, samp { font-family: Consolas, 'Courier New', Courier, monospace; font-size: 0.9em; line-height: 1.2em; } pre, blockquote { background-color: #fbf6ff; margin: 1em 0; border: 1px solid #d0a3fb; border-left-width: 4px; padding: 0.5em 1em; } pre { overflow: auto; } /******* * Lists *******/ /* List margins and basic formatting */ ul, ol { margin: 0.5em 0; margin-left: 1.5em; } li, dd { margin-left: 1.5em; } dt { font-style: italic; } .xoxo { list-style: none; margin: 0; } .xoxo ul, .xoxo ol { margin: 0; } .xoxo li { margin: 1em 0; } .xoxo li li { margin: 0; margin-left: 1.5em; } .xoxo li li li { margin-left: 0.5em; } /* List styling */ ul, .xoxo li ul { list-style-type: disc; } li ul, .xoxo li li ul { list-style-type: circle; } li li ul, .xoxo li li li ul { list-style-type: square; } ol, .xoxo li ol { list-style-type: decimal; } li ol, .xoxo li li ol { list-style-type: lower-alpha; } li li ol, .xoxo li li li ol { list-style-type: lower-roman; } /******* * Images *******/ img { background-color: #fff; border: 1px dashed #e3c2fb; padding: 5px; } img.left { margin-right: 0.5em; } img.right { margin-left: 0.5em; } img.noborder { background-color: transparent; border: 0; padding: 0; } /* WordPress 2.5 visual editor CSS classes */ img.centered { display: block; margin-left: auto; margin-right: auto; } img.alignright { padding: 4px; margin: 0 0 2px 7px; display: inline; } img.alignleft { padding: 4px; margin: 0 7px 2px 0; display: inline; } .alignright { float: right; } .alignleft { float: left; } /******* * Forms *******/ input, textarea, button { color: #a581f1; background: #fff url('images/bg_textbox.gif') left top repeat-x; border: 1px solid #a581f1; } input:focus, textarea:focus, button:focus { border-style: dashed; } input, button { height: 20px; padding: 1px 5px; } input[type="button"], input[type="reset"], input[type="submit"], button { font-weight: bold; height: 24px; background-image: url('images/bg_button.gif'); background-position: left bottom; cursor: pointer; } /* * Once IE sees a selector it doesn't recognize, the WHOLE * rule is ignored per W3C specs, so we have to repeat it. */ input.button, button { font-weight: bold; height: 24px; background-image: url('images/bg_button.gif'); background-position: left bottom; cursor: pointer; } textarea { width: 95%; font-family: Arial, Helvetica, sans-serif; } /******* * Tables *******/ table { width: 90%; margin: auto; border-collapse: collapse; } caption { font-size: 0.9em; font-style: italic; color: #ae7eb0; margin: auto; } th, td { border: 1px solid #f4e9fc; padding: 0.1em 0.3em; } th { text-align: center; color: #fff; background: #ad79df url('images/bg_th.gif') left top repeat-x; border-color: #ae7eb0; } td { color: #326; background: #fff url('images/bg_textbox.gif') left top repeat-x; /* Recycle image from forms */ } /******* * Links *******/ a:link, a:visited { text-decoration: none; color: #a581f1; border-bottom: 1px dashed #a581f1; } a:visited { color: #a872c6; border-bottom-color: #a872c6; } a:hover, a:active { color: #54ce9e; border: 0; } /******* * Everything else *******/ .left { float: left; } .right { float: right; } .clear { clear: both; } .center .screenshot { display: block; text-align: center; margin: auto; } abbr, acronym, dfn { border-bottom: 1px dotted; } blockquote { color: #d0a3fb; border-width: 0 0 0 4px; } /* ----------- Core styles ----------- */ body { font-family: Georgia, 'Times New Roman', Times, serif; font-size: 0.9em; line-height: 1.5em; text-align: center; color: #326; background: #c8b5e7 url('images/bg.gif') left top repeat-x; } #wrap { position: relative; width: 850px; text-align: left; background: #bda6e2 url('images/bg_wrap.gif') left top repeat-x; margin: auto; padding: 0 25px; } /* * Doesn't look good since IE6 only knows how to apply this rule to * , so it's both for all other browsers and neither for IE6. */ html>body, #wrap { background-attachment: fixed; } /******* * Header *******/ #header { float: left; width: 850px; height: 150px; font-family: Constantia, Georgia, 'Times New Roman', Times, serif; background: #fff url('images/bg_header.gif') left top repeat-x; border-top: 5px solid #5a3d95; } #blog-title, #blog-desc { width: 400px; height: 150px; overflow: hidden; } #blog-title { float: left; font-size: 3.4em; font-weight: normal; line-height: 150px; padding-left: 25px; } #blog-title a { color: #816bc9; border: 0; } #blog-title a:hover, #blog-title a span { color: #a581f1; } #blog-desc { float: left; position: relative; font-size: 1.1em; font-style: italic; line-height: 1.2em; text-align: right; color: #d09ffa; margin: 0; } #blog-desc span { position: absolute; right: 0; bottom: 25px; } /******* * Navigation *******/ #nav, #nav * { font-family: Georgia, 'Times New Roman', Times, serif; background-color: transparent; margin: 0; padding: 0; } #nav { float: right; text-align: right; list-style: none; } #nav li { display: inline; } #nav li a { float: left; line-height: 30px; color: #5a3d95; margin-right: 0.3em; border: 0; padding: 0 0.5em; } #nav .current_page_item a, #nav li a:hover { color: #fff; background-color: #5a3d95; } #nav li a:hover { background-color: #9175d6; } /******* * Column wrapper *******/ #col-wrap { float: left; width: 850px; background-color: #fff; } /******* * Content *******/ #content { position: relative; float: left; z-index: 1; width: 580px; padding: 10px; } .post-content, .post-meta { min-height: 150px; } * html .post-content, * html .post-meta { height: 150px; } .post, .page { clear: both; float: left; width: 580px; background: #fff url('images/bg_post.gif') center top no-repeat; } .post-content, .page-content { padding: 10px; } .post-content { float: right; width: 410px; } .post-meta { float: left; width: 130px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 0.75em; margin: 0; padding: 10px; } .post-sep { clear: both; margin: 1em 0; visibility: hidden; } /******* * Sidebar *******/ #sidebar { position: relative; float: right; z-index: 0; width: 230px; font-size: 0.8em; color: #fff; padding: 10px; } #sidebar .xoxo { background: #dfc6fd url('images/bg_sidebar.gif') center top repeat-y; margin: 0; padding: 5px; } #sidebar .xoxo li { padding: 0 0.5em; } #sidebar .sidebar-top { height: 15px; background: #dfc6fd url('images/bg_sidebar_top.gif') center top no-repeat; } #sidebar .sidebar-bottom { height: 42px; background: #dfc6fd url('images/bg_sidebar_bottom.gif') center bottom no-repeat; } /******* * Footer *******/ #footer { clear: both; min-height: 50px; font-size: 0.75em; line-height: 1.2em; text-align: center; color: #816bc9; background: #fff url('images/bg_footer.gif') left bottom repeat-x; } * html #footer { height: 50px; } #footer p { margin: 0; } /* ------------------- Inside both columns ------------------- */ /******* * Content *******/ .title { font-weight: normal; line-height: 1em; } .search-terms { font-style: italic; } .post-title, .page-title, .more-link, #sidebar h2 { font-family: Constantia, Georgia, 'Times New Roman', Times, serif; font-variant: small-caps; font-weight: bold; } .post-title, .page-title { font-size: 2em; line-height: 1em; color: #a581f1; margin: 0; margin-bottom: 0.5em; } .post-body, .page-body { text-align: justify; } * html .post-body, * html .page-body { overflow: hidden; } * html .post-body img, * html .page-body img { position: relative; } .more-link { clear: both; display: block; text-align: right; font-size: 1.2em; border: 0 !important; } .more-link span { border-bottom: 1px dashed #a581f1; } .more-link:hover span, .more-link:active span { border: 0; } .post-meta li { padding-left: 3px; } .post-date, .post-date * { display: block; margin: 0; padding: 0; } .post-date { height: 65px; text-align: center; background: transparent url('images/bg_date.gif') center center no-repeat; } .post-date-month { line-height: 18px; text-transform: uppercase; color: #fff; } .post-date-day { font-family: Constantia, Georgia, 'Times New Roman', Times, serif; font-size: 2.5em; line-height: 25px; color: #d0a3fb; } /* Icons for different post information */ li.post-author { list-style-image: url('images/post_author.gif'); } li.post-comments { list-style-image: url('images/post_comments.gif'); } li.post-categories { list-style-image: url('images/post_categories.gif'); } li.post-tags { list-style-image: url('images/post_tags.gif'); } li.post-edit { list-style-image: url('images/post_edit.gif'); } /* Asides */ .aside, .aside .post-content, .aside .post-content .post-body { display: block; float: none; width: auto; height: auto; min-height: 0; background: none; margin: 0; padding: 0; } .aside { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 0.75em; line-height: 1.5em; color: #d0a3fb; } .aside * { display: none; } .aside .post-content .post-body { margin: 0 3em; padding: 10px; background: #fff url('images/bg_aside.gif') left top repeat-y; } .aside .post-content .post-body * { display: inline; } /* Comments */ .comments { list-style: none; margin: 0; } .comments li { position: relative; min-height: 62px; /* Expand to fit gravatars in at least */ margin: 0; padding: 5px; } .comments li.alt { background-color: #fbf6ff; } .comments li.bypostauthor { background-color: #eee4ff; } * html .comments { height: 62px; } .comment-author .author-name { font-size: 1.5em; font-style: normal; font-weight: bold; line-height: 1.2em; } .comment-author .avatar { float: left; margin-right: 0.5em; } .comment-meta .c-number { position: absolute; top: 0; right: 0.2em; font-family: Constantia, Georgia, 'Times New Roman', Times, serif; font-size: 5em; font-style: italic; font-weight: bold; line-height: 1em; color: #eee4ff; } .comments li.bypostauthor .c-number { color: #fff; } .comment-unapproved { font-weight: bold; color: #c00; margin-top: 1em; } .comment-body { margin-top: 2em; } /* Post navigation */ .post-nav p { max-width: 50%; } .post-nav .prevpage { float: left; } .post-nav .nextpage { float: right; } /******* * Sidebar *******/ #sidebar h2 { font-size: 1.7em; line-height: 1.5em; text-align: right; border-bottom: 1px dashed #fff; padding: 0.1em 0; } #sidebar h2 a { color: #fff !important; border: 0; } #sidebar h2 img { display: none; } #sidebar a:hover, #sidebar a:active { color: #fff; }