@charset "utf-8"; /* CSS Document - v3.5.0 */ @import url('//cdn.rawgit.com/rastikerdar/tanha-font/v0.10/dist/font-face.css'); html { direction: ltr; } body { font-family: Tanha; font-size: 15px; margin: 0; padding: 0; line-height: 1.9em; background: #f3f3f3 url('//bayanbox.ir/view/1488116544113069248/tile.png'); color: #000; } p { margin-bottom: 0.5em; } pre { direction: ltr; background-color: #FAFAEE; border: 1px solid #DADADA; margin: 1em; overflow-x: auto; overflow-y: hidden; padding: 2px; } .clear { clear: both; } h1, h2, h3, h4, h5, h6 { font-family: Tanha; font-weight: normal; } img { border: none; border-width: 0; } a { color: #1e1e14; cursor: pointer; text-decoration: none; -moz-transition-duration: .2s; -webkit-transition-duration: .2s; -o-transition-duration: .2s; } a:hover { color: #407694; text-decoration: none; cursor: pointer; } a:active { outline: hidden; } /*-- Header --*/ .header { direction: rtl; background: #004850; border-top: 6px solid #00323c; padding-bottom: 20px; } .head-right a { color: #fff; } .head-right a:hover { color: #f7d500; } .head-right h1 { margin: 22px 0 0; padding: 10px 55px 10px 0; font-size: 28px; background: url(//cdn.bayan.ir/blog/templates/52722/head-icon.png) no-repeat center right; } .head-right h2 { margin: 0 75px 0 0; font-size: 16px; cursor: default; color: #a3cfd4; } .head-wrp { width: 96%; margin: auto; max-width: 960px; } .head-right { text-align: right; } .head-left { font-size: 14px; position: absolute; top: 38px; left: 0; text-align: left; } .main-menu { height: 41px; background: #f7d500; font-size: 15px; } .main-menu ul { margin: 0 auto; padding: 0; max-width: 960px; direction: rtl; list-style: none; line-height: 1.3em; width: 96%; } .main-menu ul li { float: right; margin-left: 5px; } .main-menu ul li a { color: #1e1e14; display: block; padding: 10px 10px 11px; } .main-menu ul li a:hover { color: #1e1e14; background: #efbd00; } .main-menu ul li.selected a { background: #efbd00; } .readmore { background: #ff4132; padding: 0 17px 2px; color: #fff; font-size: 13px; } .readmore:hover { color: #fff; background: #ff6256; } .readmore:active { background: #ef2f20; } .middle-posts .inline-readmore { color: #ff4132; padding-right: 7px; } .head-post .readmore { padding: 2px 35px 5px; font-size: 15px; } .middle-posts .inline-readmore { color: #0575a5; padding-right: 7px; } .middle-posts .inline-readmore:hover { color: #efbd00; padding-right: 7px; } .head-post .readmore { padding: 2px 35px 5px; font-size: 15px; } .middle-posts { background: #fff; padding: 1px 0; border-bottom: 1px solid #ddd; } .middle-posts-wrp { direction: rtl; margin: 25px auto; width: 96%; max-width: 960px; } .middle-posts h2 { margin: 0 0 10px; font-size: 18px; } .middle-posts .post-content, .latest-posts .post-content { text-align: justify; line-height: 1.8em; margin: 0; } .middle-posts ul { margin: 0; padding: 0; list-style: none; } .middle-posts ul li { float: right; width: calc(33% - 30px); margin-left: 30px; } .middle-posts ul li:last-child { margin-left: 0; } .middle-posts ul:after { display: block; content: ' '; clear: both; } /*-- Pagination --*/ .pagination-box { margin: auto; } .pagination { cursor: default; text-align: center; margin: 40px auto; font-size: 14px; padding: 0; float: none; } .pagination .left { margin-left: -3px; } .pagination a { padding: 6px 10px; margin-left: 3px; cursor: pointer; color: #465e6a; background: #cfe0e2; float: none; } .pagination a:hover { color: #465e6a; background: rgba(8, 146, 205, 0.1); } .pagination a.current { color: #465e6a; background: #aacdd1; } .pagination .spacer { float: right; padding: 1px 8px; color: #999; } .pagination .pagesList { display: inline-block; } /*-- Content --*/ .content-wrp { direction: rtl; max-width: 960px; margin: 30px auto 20px; width: 96%; } .block-content { width: calc(70% - 20px); float: right; } .block-content-view { float: right; width: 100%; } .block-content .messages { cursor: default; margin-bottom: 15px; border: 1px solid #ddd; background: #fcfcfc; } .block-content .messages .messages-content { padding: 5px 15px; color: #aaa; } .block-content .messages .messages-content h2 { color: #000; font-size: 21px; text-align: center; cursor: default; margin: 0 0 7px; } .block-content .messages .messages-content h2 a.comment_count { /*! color: #aaa; */ } .block-content .messages .messages-content h2 a.comment_count:hover { color: #A4CACF; cursor: pointer; } /*-- Content-post --*/ .block-content .post { position: relative; padding: 0; margin-bottom: 30px; border: 1px solid #ddd; background: #fff; } .post-image { overflow: hidden; } .post-image img { width: 100%; height: auto; display: block; } .post-image a img { -ms-transition: all .2s ease-in-out; -webkit-transition: all .2s ease-in-out; transition: all .2s ease-in-out; } .post-image a:hover img { -ms-transform: scale(1.1); -webkit-transform: scale(1.1); transform: scale(1.1); } .block-content .post .post-title { padding: 15px 20px 5px; } .block-content .post h2 { margin: 0; } .block-content .post h2 a { line-height: 1.7em; font-size: 21px; color: #254252; } .block-content .post h2 a:hover { color: #407694; } .post-content { margin: 0 20px 0; text-align: justify; line-height: 1.9em; } .post-content div { margin-top: 10px; } .post-content a { color: #0575a5; } .post-content a:hover { color: #0575a5; } .post-content ul li { margin-right: 5px; line-height: 1.9em; } .post-content img { max-width: 98%; height: auto; } .post-readmore { margin: 30px 0 10px; text-align: left; } .post-readmore a { font-size: 15px; line-height: 1em; color: #fff; } .post-readmore a:hover { color: #fff; background: #ff6256; } .post-readmore a:active { color: #fff; background: #ef2f20; } /*-- Content-post-details --*/ .post-details { cursor: default; position: relative; } .post-details a { /*! color: #888 !important; */ } .post-details a:hover { color: #555 !important; } .post-details.over { position: absolute; z-index: 9; } .post-details.over .post-details-date { margin: 0 0 2px; padding: 1px 10px 5px; background: rgba(0, 0, 0, 0.5); color: rgba(255, 255, 255, 0.9); } .post-details.over .post-details-author { margin: 0 0 2px; padding: 1px 10px 5px; background: rgba(0, 0, 0, 0.5); color: rgba(255, 255, 255, 0.9); } .post-details.bottom { margin-top: 15px; padding: 5px 10px; border-top: 1px solid rgba(172, 186, 192, 0.2); background: #fcfcfc; } .post-details.bottom.nobg { background: none; } .post-details.custom { margin-top: 10px; padding: 10px 20px; } .post-details-right { } .post-details-left { float: left; } .post-details-date { border-left: 1px solid rgba(0, 0, 0, 0.1); padding: 0 10px; margin-left: 3px; } .post-details-date.none { padding: 0; margin: 10px 0 0; background: none; border-left: 0; display: block; } .post-details-comment { border-left: 1px solid rgba(0, 0, 0, 0.1); padding: 0 10px; margin-left: 1px; } img.rateimg, img.rateup, img.ratedn { background: url(//cdn.bayan.ir/blog/templates/52722/pd_ico_rate.png) no-repeat center left; width: 16px; height: 28px; vertical-align: top; } .rate-down img.rateimg, img.ratedn { background-position: 0 -17px; } .rate-up img.rateimg, img.rateup { background-position: 0 3px; } .rate-up { margin: 0 10px; } /*-- keywords --*/ .post-details .post-details-tags { cursor: default; } .post-details .post-details-tags h3 { margin: 0; display: inline-block; color: #888; background: #f9f9f9; } .post-details .post-details-tags h3 a { padding: 1px 7px 4px; border: #ddd 1px solid; display: inline-block; font-size: 12px; } .post-details .post-details-tags h3 a:hover { color: #fff !important; border: #A4CACF 1px solid; background: #A4CACF; } .post-details .post-details-tags h3:first-child { } .post-details .post-details-tags h3:last-child { margin: 0px; } /*-- Post Comments --*/ .post-comments { margin-bottom: 15px; } .post-comment { margin-bottom: 5px; background: #f3f3f3; border: 1px solid rgba(172, 186, 192, 0.5); } .comment-details { background: #f3f3f3; padding: 0; cursor: default; } .comment-details a { cursor: pointer; vertical-align: bottom; margin-right: 5px; -moz-transition-duration: .0s; -webkit-transition-duration: .0s; -o-transition-duration: .0s; -khtml-transition-duration: .0s; color: #000; } .comment-details-left { padding: 4px 0 0 5px; float: left; } .comment-details-right { } .comment-avatar img { width: 34px; height: auto; } .comment-name { cursor: default; padding: 0 5px; } .comment-body { padding: 10px; } .comment-body-content { /*! color: #555; */ } .comment-date { display: inline-block; color: rgba(255, 255, 255, 0.6); } .comment-website { background: url(//cdn.bayan.ir/blog/templates/52722/details_ico_cmt.png) center -102px no-repeat; width: 18px; height: 23px; display: inline-block; } .comment-website:hover { background-position: center -125px; cursor: pointer; } .comment-email { background: url(//cdn.bayan.ir/blog/templates/52722/details_ico_cmt.png) center -60px no-repeat; width: 18px; height: 23px; display: inline-block; } .comment-email:hover { background-position: center -79px; cursor: pointer; } /*-- Reply --*/ .comment-reply { margin-bottom: 5px; border: 1px solid #6ec2e5; background-color: #e5f7ff; color: rgba(0, 0, 0, 0.7); } .comment-reply-details { padding: 5px 10px 0; } .comment-reply-date { float: left; color: #31ace0; cursor: default; } .comment-reply-name { color: #31ace0; cursor: default; } .comment-reply-body { color: #0079ac; padding: 10px; } /*-- add Comment --*/ .comment-add-form { /*! color: #aaa; */ padding: 10px; margin-bottom: 15px; border: 1px solid #ddd; background: #fcfcfc; border-top: 1px solid #A4CACF; } .comment-add-form input.sendbutton { /*! color: #A4CACF; */ /*! border: #A4CACF 1px solid; */ background: #f8f8f8; padding: 5px 30px; cursor: pointer; -webkit-appearance: button; } .comment-add-form input.sendbutton:hover { color: #fff; border: #A4CACF 1px solid; background: #A4CACF; } .comment-add-form iframe { background: #FFF; } .block-content .pagination { margin: 40px auto 20px; } /*-- Sidebar --*/ .block-sidebar { float: left; width: 30%; } .block-sidebar .sidebox { margin-bottom: 30px; position: relative; } .sidebox .sidebox-title { position: absolute; top: -5px; left: -5px; display: inline-block; background: #f7d500; color: #1e1e14; padding: 8px 0 10px; text-align: center; cursor: default; font-weight: normal; margin: 0; width: 155px; z-index: 5; } .sidebox .sidebox-content { direction: rtl; border: 1px solid #ddd; background: #fff; padding: 50px 10px 10px; } .sidebox.menu .sidebox-title { background: #e94620; } .sidebox.menu .sidebox-content ul li:hover { background: rgba(233, 70, 32, 0.2); } .sidebox.menu .sidebox-content ul li.selected { background: rgba(233, 70, 32, 0.2); border-bottom: 1px solid rgba(233, 70, 32, 0.2); } .sidebox.menu .sidebox-content ul li a { color: #e94620; } .sidebox.menu .sidebox-content ul li.selected a { color: #e94620; } .sidebox.blank .sidebox-content { padding-top: 12px; border: 1px solid #ddd; } .sidebox.blank .sidebox-content h4 { padding: 8px; margin: 0; text-align: right; } .sidebox.blank .sidebox-content .blog-image { text-align: center; } .sidebox.blank .sidebox-content img { text-align: center; max-width: 95%; height: auto; margin: 5px 0; } * html .sidebox.blank .sidebox-content img { width: 200px; height: auto; } /*-post list-*/ .post-content-right { float: right; width: 515px; } .post-image-right { overflow: hidden; width: 140px; /*height: 110px;*/ border: 1px solid #ddd; float: left; margin: 20px 16px 5px 0; } .post-image-right img { width: 100%; height: auto; } .post-content-left { float: left; width: 73px; border-right: 1px solid #ddd; text-align: center; margin: 20px 0 5px; padding: 0 15px; } .post_detail .post-readmore a { padding: 10px 50px; background: #f7d500 url(//cdn.bayan.ir/blog/templates/52722/readmore.png) no-repeat center; } .post_detail .post-readmore a:hover { color: #fff; background-color: #efbd00; } .post_detail .post-readmore a:active { background-color: #efbd00; } .post-date-left { cursor: default; } .post-date-left-day { font-size: 40px; color: #215a62; padding: 5px 0 15px; } .post-date-left-month { font-size: 18px; color: #215a62; } /*- sidebar post-list -*/ .sidebox-content ul { list-style: none; margin: 0; padding: 0; } .sidebox-content ul li { padding: 6px 1px; border-bottom: 1px solid #f1f1f1; } .sidebox-content ul li:last-child { border-bottom: none; } .sidebox-content ul li a { background: url(//cdn.bayan.ir/blog/templates/52722/sidebar-bullet.png) no-repeat right 12px; padding-right: 10px; font-size: 13px; } .sidebox-content ul.menu li a { background: url(//cdn.bayan.ir/blog/templates/52722/sidebar-bullet2.png) no-repeat right 12px; } .sidebox-content ul li a:hover { color: #0575a5; } .sidebox-content ul li:hover { background: rgba(8, 146, 205, 0.1); -moz-transition-duration: .2s; -webkit-transition-duration: .2s; -o-transition-duration: .2s; } .sidebox-content ul li.selected { padding: 5px 2px; background: rgba(8, 146, 205, 0.2); border-bottom: 1px solid rgba(8, 146, 205, 0.2); } .sidebox-content ul li.selected a { color: #0575a5; } .sidebox-content .post-list-date, .sidebox-content .post-list-count { cursor: default; } .sidebox-content .post-list-count { padding-right: 5px; } .sidebox-content .post-list-date.none { display: none; } /*-- ADS --*/ .sidebox-content.view-ads { text-align: center; } .sidebox-content.view-ads a { text-align: center; display: block; margin-bottom: 5px; } .sidebox-content.view-ads a:last-child { margin-bottom: 0; } /*-- Stat --*/ .sidebox-content.stat { position: relative; } .sidebox-content.stat .StatTitle { cursor: default; color: #000; font-size: 13px; border: none; text-align: right; } .sidebox-content.stat .Value { color: #000; cursor: default; float: left; padding-left: 10px; text-align: left; } /*-- Tag-Cloud --*/ .sidebox-content.tag-cloud h3 { margin: 0px; display: inline-block; *display: inline; *margin: 2px; } .sidebox-content.tag-cloud span { display: inline-block; margin: 1px 0px 1px 0px; } .sidebox-content.tag-cloud a { border: #ddd 1px solid; background: #f9f9f9; padding: 4px; display: inline-block; margin: 2px 0px 2px 0px; font-size: 12px; line-height: 1.8em; } .sidebox-content.tag-cloud a:hover { color: #fff; border: #A4CACF 1px solid; background: #A4CACF; } .sidebox-content.tag-cloud a.selected { color: #fff; border: #A4CACF 1px solid; background: #A4CACF; } /*-- Categories --*/ .sidebox-content.categories ul li { padding: 0; border: none; font-size: 13px; } .sidebox-content.categories li:hover { background: none; } .sidebox-content ul li.selected a { color: #0575a5; } .sidebox-content.categories ul li ul.subcats a { padding-right: 10px; padding-top: 1px; display: inline-block; background: url(//cdn.bayan.ir/blog/templates/52722/sub_ico.png) right no-repeat; } .sidebox-content.categories ul li a { padding-bottom: 0; padding-right: 20px; display: table-cell; *display: inline-block; background: url(//cdn.bayan.ir/blog/templates/52722/folder_ico.png) right 8px no-repeat; } .sidebox-content.categories ul li h3 { color: #0575a5; margin: 0; } .sidebox-content.categories ul li.selected { background: none; } .sidebox-content.categories .subcats li.selected { background: none; } .sidebox-content.categories .subcats { margin-right: 14px; margin-top: -3px; } .sidebox-content.categories ul .post-list-count { cursor: default; display: table-cell; color: #aaa; } .sidebox-content.categories .subcats .post-list-count { cursor: default; display: inline-block; color: #aaa; } .sidebox-content.categories .category_selected { background: rgba(8, 146, 205, 0.2); padding: 2px 5px 2px 5px; display: block; height: 31px; max-height: auto; *height: auto; } .sidebox-content.categories .category_selected a { color: inherit; cursor: default; } /*-- Footer --*/ .footer { color: #f4f4f4; padding: 15px 0 5px; background: #004850; } .footer a { color: #f7d500; } .footer-wrp { width: 96%; margin: auto; max-width: 960px; } .footer .footer-copyright { float: right; direction: rtl; cursor: default; } .footer .footer-icons { text-align: left; display: inline-block; } .footer .footer-icons a { float: left; margin-right: 3px; width: 20px; height: 20px; } .footer-ico-rss { background: url(//cdn.bayan.ir/blog/templates/shared/icon/rss-icon-crystal.png) no-repeat; } .footer-ico-bayan { background: url(//cdn.bayan.ir/blog/templates/shared/icon/bayan-icon-crystal.png) no-repeat; } .footer-ico-bayanbox { background: url(//cdn.bayan.ir/blog/templates/shared/icon/bayanbox-icon-crystal.png) no-repeat; } .footer-ico-blog { background: url(//cdn.bayan.ir/blog/templates/shared/icon/blog-icon-crystal.png) no-repeat; } .footer-ico-templates { background: url(//bayanbox.ir/view/7051350144008649011/ngh-footer.png) no-repeat; } input[type="button"], input[type="text"], input[type="password"], input[type="submit"], button, textarea, select, .inputBox, input.text, a.btn, a.btn:hover, a.btn:visited, .followBx, .followThis { font-family: inherit; } @media only screen and (max-width: 768px) { .middle-posts ul li { float: unset; width: 100%; margin-left: 0; } .block-content, .block-sidebar { width: 100%; float: unset; } .bComForm .sendbutton.hasCheckbox { margin-top: 0; } .main-menu { height: unset; } .main-menu ul { width: 100%; } .main-menu ul li { float: unset; margin-left: 0; text-align: center; } .post-content { font-size: 17px; } }