@charset "utf-8"; /* CSS Document - v3.5.0 */ @import url("https://cdn.jsdelivr.net/gh/rastikerdar/Shabnam-font@latest/dist/font-face.css");/* new */ html { font-family: "Shabnam", sans-serif;/* change */ direction: ltr; } body { font-size: 100%;/* change */ margin: 0; padding: 0; line-height: 1.9em; background: #f1f2f6; } * {font-family: "Shabnam", sans-serif} 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; } ::-webkit-scrollbar { background: #f0f0f0; width: 12px; height: 15px; } ::-webkit-scrollbar-thumb { background: #cdcdcd; } ::-webkit-scrollbar-corner { background: #fff; } ::-webkit-scrollbar-track { background: #f0f0f0; border-left: 1px solid rgba(255, 255, 255, 0.5); } ::-webkit-scrollbar-thumb:hover { background: #a6a6a6; } ::-webkit-scrollbar-thumb:active { background: #606060; } h1, h2, h3, h4, h5, h6 { font-family: "Shabnam", sans-serif;/* change */ font-weight: 900; } img { border: none; border-width: 0; } a { color: #967adc; cursor: pointer; text-decoration: none; transition-duration: 0.2s;/* change */ } a:hover { color: #c5b2f2; text-decoration: none; cursor: pointer; } a:active { outline: hidden; } /*-- Header --*/ .header { position: relative; max-width: 550px;/* change */ width: 96%; /* new */ margin: auto; direction: rtl; height: 110px; background: url(//cdn.bayan.ir/blog/templates/53176/bg-head.png) no-repeat center top; text-align: center; } .header h1 { font: 1.8125em/1.2em "Shabnam", sans-serif;/* change */ color: #967adc; margin: 0 0 9px; padding-top: 21px; direction: rtl; } .header h2 { font: 0.9375em/1.2em "Shabnam", sans-serif;/* change */ color: #9aa1ab; margin: 0; cursor: default; } .main-menu { position: relative; direction: rtl; cursor: default; max-width: 550px;/* change */ width: 96%; /* new */ margin: auto; text-align: center; background: #fff; border-radius: 6px; box-shadow: 0 4px 6px -2px #bbb; } .main-menu ul { list-style: none; margin: 0; padding: 0; } .main-menu ul li { display: inline-block; } .main-menu a { font: 0.9375em/1em "Shabnam", sans-serif;/* change */ display: inline-block; padding: 4px 0; color: #424a55; cursor: pointer; margin: 15px 6px; border-bottom: 2px solid transparent; } .main-menu a:hover { color: #4f5f74; border-bottom: 2px solid #d5c8f5; } .main-menu li.selected a { color: #4f5f74; border-bottom: 2px solid #d5c8f5; } .middle-posts { position: relative; margin: 30px auto; max-width: 550px;/* change */ width: 96%; /* new */ height: 150px; direction: rtl; } .middle-posts ul { margin: 0; padding: 0; list-style: none; } .middle-post-item { position: absolute; top: 0; max-width: 266px;/* change */ width: 96%; /* new */ height: 150px; border-radius: 6px; box-shadow: 0 4px 6px -2px #bbb; transition-duration: 0.2s;/* change */ text-align: center; } .middle-post-readmore{ position: absolute; display: block; width: 31px; height: 31px; background: url(//cdn.bayan.ir/blog/templates/53176/readmore.png) no-repeat center; opacity: 0.7; bottom: 25px; left: 45%; } .middle-post-readmore:hover{ opacity: 1; } .middle-posts ul li:nth-child(1) { left: 0; background: #4fc0e8; } .middle-posts ul li:nth-child(2) { right: 0; background: #ac92ec; } .middle-post-item:hover { box-shadow: 0 4px 6px -2px #777; } .middle-post-item h2 { margin: 18px 15px; } .middle-post-item h2 a { margin: 0; color: #fff; font-size: 19px; line-height: 1.6em; } .middle-post-item h2 a:hover { color: #eee; } /*-- Content --*/ .content-wrp { direction: rtl; max-width: 550px;/* change */ width: 96%; /* new */ margin: 30px auto 15px; position: relative; } .block-content { } .block-content-view { width: 100%; } .block-content .messages { cursor: default; margin-bottom: 30px; background: #fff; border-radius: 6px; box-shadow: 0 4px 6px -2px #bbb; } .block-content .messages .messages-content { padding: 5px 15px; color: #999; } .block-content .messages .messages-content h2 { color: #9aa1ab; font: 1.0625em "Shabnam", sans-serif;/* change */ text-align: center; cursor: default; margin: 0 0 7px; } .block-content .messages .messages-content h2 a.comment_count { color: #967adc; } .block-content .messages .messages-content h2 a.comment_count:hover { color: #9aa1ab; cursor: pointer; } /*-- Content-post --*/ .block-content .post { position: relative; padding: 0; margin-bottom: 30px; background: #fff; border-radius: 6px; box-shadow: 0 4px 6px -2px #bbb; } .post-list-home-right { float: right; } .post-list-home-right .post-image { overflow: hidden; width: 140px; border: 1px solid #78858a; margin: 20px 20px 5px; } .post-image { overflow: hidden; } .post-image img { width: 100%; height: auto; display: block; } .post-image a img { transition: all .2s ease-in-out;/* change */ } .post-image a:hover img { -ms-transform: scale(1.04); -webkit-transform: scale(1.04); transform: scale(1.04); } .block-content .post .post-title { padding: 20px 20px 15px; } .block-content .post h2 { margin: 0; } .block-content .post h2 a { line-height: 1.7em; font-size: 20px; color: #967adc; } .block-content .post h2 a:hover { color: #4fc0e8; } .post-content { color: #6b828e; margin: 0 20px; padding-bottom: 20px; text-align: justify; font: 0.875em "Shabnam", sans-serif;/* change */ } .post-content a { color: #967adc; } .post-content a:hover { color: #d5e6ec; } .post-content ul li { margin-right: 5px; line-height: 1.9em; } .post-content img { max-width: 98%; height: auto; } .post-readmore { margin: 0px 20px 25px; } .post-readmore a { font-size: 14px; line-height: 1em; padding: 0 15px 3px; color: #fff; background: #967adc; border-radius: 3px; } .post-readmore a:hover { color: #fff; background: #b9a5ed; } /*-- Content-post-details --*/ .post-details { font: 0.875em "Shabnam", sans-serif;/* change */ color: #b0c5cd; cursor: default; position: relative; } .post-details a { color: #b0c5cd !important; } .post-details a:hover { color: #967adc !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); } .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(172, 186, 192, 0.2); 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(172, 186, 192, 0.2); padding: 0 10px; margin-left: 1px; } img.rateimg, img.rateup, img.ratedn { background: url(//cdn.bayan.ir/blog/templates/53176/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; font: 0.875em/1.3em "Shabnam", sans-serif;/* change */ color: #fff; background: #b9a5ed; border-radius: 3px; } .post-details .post-details-tags h3 a { color: #fff !important; padding: 1px 7px 4px; display: inline-block; border-radius: 3px; } .post-details .post-details-tags h3 a:hover { color: #fff !important; background: #4fc0e8; } .post-details .post-details-tags h3:first-child { } .post-details .post-details-tags h3:last-child { margin: 0; } /*-- Post Comments --*/ .post-comments { font: 0.875em "Shabnam", sans-serif;/* change */ margin-bottom: 15px; } .post-comment { margin-bottom: 10px; background: #fff; border-radius: 6px; box-shadow: 0 4px 6px -2px #bbb; } .comment-details { background: #f9f9f9; padding: 0; cursor: default; border-radius: 6px 6px 0 0; } .comment-details a { color: #A4CACF; cursor: pointer; vertical-align: bottom; margin-right: 5px; transition-duration: 0s;/* change */ } .comment-details-left { padding: 4px 0 0 5px; float: left; } .comment-details-right { } .comment-avatar img { width: 34px; height: auto; } .comment-name { color: #888; 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/53176/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/53176/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: 15px; border: 1px solid #6ec2e5; background-color: #e5f7ff; color: rgba(0, 0, 0, 0.7); border-radius: 6px; box-shadow: 0 4px 6px -2px #cbe2eb; } .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: #31ace0; padding: 10px; } /*-- add Comment --*/ .comment-add-form { color: #aaa; padding: 10px; margin-bottom: 30px; font: 0.875em "Shabnam", sans-serif;/* change */ background: #fff; border-radius: 6px; box-shadow: 0 4px 6px -2px #bbb; } .comment-add-form input.sendbutton { color: #fff; border: none; background: #b9a5ed; padding: 0 30px 2px; cursor: pointer; font: 0.9375em "Shabnam", sans-serif;/* change */ -webkit-appearance: button; border-radius: 3px; } .comment-add-form input.sendbutton:hover { color: #fff; border: none; background: #4fc0e8; } .comment-add-form iframe { background: #FFF; } /*-- Pagination --*/ .block-content .pagination { cursor: default; display: block; text-align: center; margin-bottom: 0; font: 0.8125em "Shabnam", sans-serif;/* change */ } .block-content .pagination .left { margin-left: -3px; } .block-content .pagination a { padding: 2px 12px 2px; margin-left: 3px; cursor: pointer; color: #fff; background: #b9a5ed; border-radius: 3px; } .block-content .pagination a:hover { background: #4fc0e8; } .block-content .pagination a.current { background: #4fc0e8; } .block-content .pagination .spacer { float: right; padding: 1px 8px; color: #999; } .pagination { padding-top: 0; } /*-- Sidebar --*/ .block-sidebar { margin-top: 30px; } .sb-left { float: left; } .sb-right { float: right; } .sb-left, .sb-right { width: 265px; } .block-sidebar .sidebox { margin-bottom: 20px; background: #fff; border-radius: 6px; box-shadow: 0 4px 6px -2px #bbb; } .sidebox .sidebox-title { font: 1em/1.2em "Shabnam", sans-serif;/* change */ background: #f9f9f9; color: #967adc; border-top: 2px solid #967adc; border-bottom: none; padding: 8px 12px 11px; text-align: right; cursor: default; font-weight: normal; margin: 0; border-radius: 6px 6px 0 0; } .sidebox .sidebox-content { font: 0.875em "Shabnam", sans-serif;/* change */ direction: rtl; padding: 10px; } .sidebox.blank .sidebox-content { background: #fff; border-radius: 6px; box-shadow: 0 4px 6px -2px #bbb; } .sidebox.blank .sidebox-content h4 { padding: 8px; color: #acb2ba; margin: 0; font: normal 14px "Shabnam", sans-serif;/* change */ 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; } /*- sidebar post-list -*/ .sidebox-content ul { list-style: none; margin: 0; padding: 0; } .sidebox-content ul li { padding: 6px 1px; border-bottom: 1px solid #eeeeee; } .sidebox-content ul li:last-child { border-bottom: none; } .sidebox-content ul li a { background: url(//cdn.bayan.ir/blog/templates/53176/sidebar-bullet.png) no-repeat right 12px; padding-right: 10px; color: #8eabb0; font: normal 13px "Shabnam", sans-serif;/* change */ } .sidebox-content ul.menu li a { background: url(//cdn.bayan.ir/blog/templates/53176/sidebar-bullet2.png) no-repeat right 12px; } .sidebox-content ul li a:hover { color: #967adc; } .sidebox-content ul li:hover { background: #f0edf6; transition-duration: 0.2s;/* change */ } .sidebox-content ul li.selected { padding: 5px 2px; background: #f0edf6; border-bottom: 1px solid #eeeeee; } .sidebox-content ul li.selected a { color: #967adc; } .sidebox-content .post-list-date, .sidebox-content .post-list-count { color: #aaa; 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: #aaa; font-size: 13px; border: none; text-align: right; } .sidebox-content.stat .Value { color: #967adc; cursor: default; float: left; padding-left: 10px; text-align: left; } /*-- Tag-Cloud --*/ .sidebox-content.tag-cloud h3 { margin: 0px; font: normal 11px "Shabnam", sans-serif; display: inline-block; *display: inline; *margin: 2px; } .sidebox-content.tag-cloud span { display: inline-block; margin: 1px 0 1px 0; } .sidebox-content.tag-cloud a { font: 0.875em/1.3em "Shabnam", sans-serif;/* change */ color: #fff; background: #b9a5ed; padding: 1px 7px 4px; display: inline-block; *display: inline-block; margin-left: 1px; border-radius: 3px; } .sidebox-content.tag-cloud a:hover { color: #fff; background: #4fc0e8; } .sidebox-content.tag-cloud a.selected { color: #fff; background: #4fc0e8; } /*-- Categories --*/ .sidebox-content.categories ul li { padding: 0; border: none; } .sidebox-content.categories li:hover { background: none; } .sidebox-content ul li.selected a { color: #967adc; } .sidebox-content.categories ul li ul.subcats a { padding-right: 10px; padding-top: 1px; display: inline-block; background: url(//cdn.bayan.ir/blog/templates/53176/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/53176/folder_ico.png) right 8px no-repeat; } .sidebox-content.categories ul li h3 { color: #967adc; margin: 0; font: normal 14px "Shabnam", sans-serif;/* change */ } .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: #f0edf6; 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 { position: relative; direction: rtl; cursor: default; max-width: 550px;/* change */ width: 96%; /* new */ height: 50px; margin: 0 auto 30px; text-align: center; background: #fff; color: #6b828e; border-radius: 6px; box-shadow: 0 4px 6px -2px #bbb; } .footer a { color: #967adc; } .footer .footer-copyright { position: absolute; right: 15px; top: 11px; text-align: right; direction: rtl; cursor: default; font: 0.8125em "Shabnam", sans-serif;/* change */; } .footer .footer-icons { position: absolute; left: 15px; top: 15px; text-align: left; } .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.png) no-repeat; } .footer-ico-bayan { background: url(//cdn.bayan.ir/blog/templates/shared/icon/bayan-icon.png) no-repeat; } .footer-ico-bayanbox { background: url(//cdn.bayan.ir/blog/templates/shared/icon/bayanbox-icon.png) no-repeat; } .footer-ico-blog { background: url(//cdn.bayan.ir/blog/templates/shared/icon/blog-icon.png) no-repeat; } .footer-ico-templates { background: url(//cdn.bayan.ir/blog/templates/shared/icon/templates-icon.png) no-repeat; } /* new */ 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: 580px) { .sb-left, .sb-right { width: 100%; } }