@charset "utf-8"; /* CSS Document - v3.5.0 */ html { direction: ltr; } *, *:after, *::before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } @font-face { font-family: 'yekan'; src: url('//cdn.bayan.ir/blog/templates/shared/fonts/BYekan.woff?download') format('woff'); font-weight: normal; font-style: normal; } body { font-family: "yekan", "tahoma", "arial", "Times New Roman", Times, Arial, serif; font-size: 12px; margin: 0; padding: 0; line-height: 1.9em; background: url(https://pic.photo-aks.com/large/nature-autumn-road-2020.jpg); background-repeat: no-repeat; background-attachment: fixed; background-size: cover; color: #b5b2c2; } 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 { font-weight: normal; font-family: "yekan", "tahoma", "arial", "Times New Roman", Times, Arial, serif; } img { border: none; border-width: 0; } a { color: #ff9000; cursor: pointer; text-decoration: none; -moz-transition-duration: .2s; -webkit-transition-duration: .2s; -o-transition-duration: .2s; } a:hover { color: #b5b2c2; text-decoration: none; cursor: pointer; } a:active { outline: hidden; } .wrp-space { position: relative; width: 980px; margin: auto; } .wrp { position: relative; width: 960px; margin: auto; background: rgb(0, 0, 0) repeat-y top right; background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */ color: #f1f1f1; width: 100%; box-shadow: 0 0 5px #1f1d2d; direction: rtl; overflow: hidden; } .wrp:after { display: block; content: ' '; clear: both; } /*-- Content --*/ .content { margin-right: 280px; } .content-home { padding: 10px; } .content-home:after { display: block; content: ' '; clear: both; } .content-home-item { float: right; padding: 10px; } .content-home-item-view { position: relative; width: 200px; height: 140px; background: #2d2b36; box-shadow: 0 0 3px #1f1d2d; } .item-view-right { position: absolute; top: 0; right: 0; width: 39px; height: 100%; background: #17161f; text-align: center; } .item-view-right ul { margin: 0; padding: 0; list-style: none; } .item-view-icon { display: block; height: 50px; color: #716f7a; background: url(//cdn.bayan.ir/blog/templates/54461/icons.png) no-repeat center 10px; border-bottom: 3px solid #0f0d15; border-top: 2px solid #2b293b; cursor: default; -moz-transition-duration: .2s; -webkit-transition-duration: .2s; -o-transition-duration: .2s; } .item-view-right ul li:last-child .item-view-icon { border-bottom: none; } .item-view-right ul li:first-child .item-view-icon { border-top: none; } .item-view-icon:hover { background-color: #23212f; } .item-view-icon span { padding-top: 22px; display: block; } .item-view-icon.icon-view { background-position: center 0; } .item-view-icon.icon-comment { background-position: center -49px; } .item-view-icon.icon-link { background-position: center -96px; } .item-view-left { position: absolute; top: 0; left: 0; width: 161px; height: 100%; overflow: hidden; } .item-view-left img { width: 100%; height: auto; } .item-view-left h2 { position: absolute; display: block; width: 100%; bottom: -70px; margin: 0; font-size: 14px; color: #cecbdb; padding: 2px 10px 7px; background: rgba(0, 0, 0, 0.5); -moz-transition-duration: .2s; -webkit-transition-duration: .2s; -o-transition-duration: .2s; } .content-home-item-view:hover .item-view-left h2 { bottom: 0; } .crystal { width: 500px; height: 500px; left: -600px; top: -180px; position: absolute; transform: rotate(30deg); transition: all 1s ease 0s; cursor: pointer; background: -moz-linear-gradient(0deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0); background: -webkit-linear-gradient(0deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0); } .content-home-item-view:hover:hover .crystal { left: 220px; top: 0; transform: rotate(0deg); } /*-- Sidebar --*/ .sidebar { position: relative; float: right; width: 280px; background: rgba(41, 35, 35, 0.4); } .header { rgba(92, 87, 87, 0.4); border-bottom: 2px solid #444251; } .header h1 { margin: 0; padding: 0; } .header h1 a { display: block; padding: 35px 20px 20px; text-align: center; color: #ff451b; text-shadow: 0 0 4px #ff451b; font-size: 38px; line-height: 1.4; } .header h1 a:hover { text-shadow: 0 0 6px #ff451b; } .header h2 { display: block; text-align: center; margin: 0; padding: 0 20px 30px; font-size: 14px; cursor: default; } .main-menu { border-bottom: 1px solid #1b1a23; } .main-menu:after { display: block; content: ' '; clear: both; } .main-menu ul { margin: 0 20px; padding: 0; list-style: none; } .main-menu ul li { float: right; margin-left: 15px; } .main-menu ul li a { display: inline-block; color: #65636e; padding-bottom: 5px; font-size: 14px; border-bottom: 2px solid transparent; } .main-menu ul li a:hover { color: #b0adbd; border-bottom: 2px solid #65636e; } .main-menu ul li.selected a { color: #b0adbd; border-bottom: 2px solid #ff451b; } /*-- Pagination --*/ .pagination-box { margin: auto; } .pagination { cursor: default; text-align: center; margin: 40px auto; font-size: 12px; padding: 0; float: none; } .pagination .left { margin-left: -3px; } .pagination a { padding: 0 12px 4px; margin-left: 3px; cursor: pointer; color: #b5b2c2; background: #514f60; float: none; border-radius: 3px; } .pagination a:hover { color: #fff; background: #ff451b; } .pagination a.current { color: #fff; background: #ff451b; } .pagination .spacer { float: right; padding: 1px 8px; color: #999; } .pagination .pagesList { display: inline-block; } /*-- Content --*/ .content-wrp { direction: rtl; width: 960px; margin: 30px auto 20px; position: relative; } .block-content { width: 680px; float: right; } .block-content-view { } .block-content .messages { cursor: default; margin: 20px 0; border-top: 3px solid #f08700; background: #343240; } .block-content .messages .messages-content { padding: 5px 15px; color: #7e7b8d; } .block-content .messages .messages-content h2 { color: #7e7b8d; font: 21px "yekan", "Times New Roman", Times, Arial, serif; text-align: center; cursor: default; margin: 0 0 7px; } .block-content .messages .messages-content h2 a.comment_count { color: #cac7d8; } .block-content .messages .messages-content h2 a.comment_count:hover { color: #cac7d8; cursor: pointer; } /*-- Content-post --*/ .block-content .post { position: relative; padding: 0; margin-bottom: 20px; } .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: 20px 20px 15px; } .block-content .post h2 { margin: 0; } .block-content .post h2 a { line-height: 1.7em; font-size: 22px; color: #ff9000; } .block-content .post h2 a:hover { color: #ccc9da; } .post-content { color: #b5b2c2; margin: 0 20px; padding-bottom: 20px; text-align: justify; font: 15px "yekan", "tahoma", "arial", "Times New Roman", Times, Arial, serif; } .post-content ul li { margin-right: 5px; line-height: 1.9em; } .post-content img { max-width: 98%; height: auto; } .post-readmore { margin: 0 20px 25px; } .post-readmore a { font-size: 13px; line-height: 1em; padding: 0 15px 2px; color: #eee; background: #ff451b; border-radius: 3px; } .post-readmore a:hover { color: #b5b2c2; background: #514f60; } /*-- Content-post-details --*/ .post-details { font: 14px "yekan", "tahoma", "arial", "Times New Roman", Times, Arial, serif; color: #7e7b8d; cursor: default; position: relative; } .post-details a { color: #7e7b8d; } .post-details a:hover { color: #cac7d8; } .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 20px; background: #17161f; } .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 #2b293b; 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 #2b293b; padding: 0 10px; margin-left: 1px; } img.rateimg, img.rateup, img.ratedn { background: url(//cdn.bayan.ir/blog/templates/54461/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: 14px/1.3em "yekan", "tahoma", "arial", "Times New Roman", Helvetica; color: #cac7d8; background: #6c6875; border-radius: 3px; } .post-details .post-details-tags h3 a { color: #cac7d8; padding: 1px 7px 4px; border: #6c6875 1px solid; display: inline-block; border-radius: 3px; } .post-details .post-details-tags h3 a:hover { color: #ffe4c1 !important; border: #f08700 1px solid; background: #f08700; } .post-details .post-details-tags h3:first-child { } .post-details .post-details-tags h3:last-child { margin: 0; } /*-- Post Comments --*/ .post-comments { font: 14px "yekan", "tahoma", "arial", "Times New Roman", Times, Arial, serif; margin: 0 20px 20px; } .post-comment { margin-bottom: 10px; background: #504e5f; border: 1px solid #504e5f; } .comment-details { background: #626073; padding: 0; cursor: default; } .comment-details a { color: #b5b2c3; cursor: pointer; vertical-align: bottom; margin-right: 5px; -moz-transition-duration: .0s; -webkit-transition-duration: .0s; -o-transition-duration: .0s; } .comment-details-left { padding: 4px 0 0 5px; float: left; } .comment-details-right { } .comment-avatar img { width: 34px; height: auto; } .comment-name { color: #b5b2c3; cursor: default; padding: 0 5px; } .comment-body { padding: 10px; } .comment-body-content { color: #cac7d8; } .comment-date { display: inline-block; color: rgba(255, 255, 255, 0.6); } .comment-website { background: url(//cdn.bayan.ir/blog/templates/54461/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/54461/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: 10px; border: 1px solid #ff451b; background-color: #593135; color: #ff451b; } .comment-reply-details { padding: 5px 10px 0; } .comment-reply-date { float: left; color: #ff9881; cursor: default; } .comment-reply-name { color: #ff9881; cursor: default; } .comment-reply-body { color: #ff9881; padding: 10px; } /*-- add Comment --*/ .comment-add-form { padding: 10px; margin-bottom: 20px; color: #7e7b8d; border-top: 3px solid #4a4856; background: #343240; font: 14px "yekan", "tahoma", "arial", "Times New Roman", Helvetica; } .comment-add-form input.sendbutton { color: #eee; background: #ff451b; border-radius: 3px; padding: 0 30px 2px; cursor: pointer; font: 15px "yekan", "tahoma", "arial", "Times New Roman", Helvetica; -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 { width: 280px; } .block-sidebar .sidebox { margin-bottom: 30px; } .sidebox .sidebox-title { font: 19px/1.2em "yekan", "tahoma", "arial", "Times New Roman", Helvetica; background: #2e2a37; color: #E1DEEA; padding: 9px 20px 11px; text-align: right; cursor: default; font-weight: normal; margin: 0; } .sidebox .sidebox-content { font: 14px "yekan", "tahoma", "arial", "Times New Roman", Helvetica; direction: rtl; padding: 10px 0; } .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 { margin-bottom: 0; } .sidebox.blank .sidebox-content { border-bottom: 1px solid #302f41; } .sidebox.blank .sidebox-content h4 { padding: 5px 20px; color: #b5b2c2; margin: 0; font: normal 14px "yekan", "tahoma", "arial", "Times New Roman", Helvetica; text-align: right; } .sidebox.blank .sidebox-content .blog-image { text-align: center; margin: 10px 20px; } .sidebox.blank .sidebox-content img { text-align: center; max-width: 100%; height: auto; margin: 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 20px 6px 20px; border-bottom: 1px solid #1f1d25; border-top: 1px solid #2c2a35; border-right: 2px solid transparent; } .sidebox-content ul li:last-child { border-bottom: none; } .sidebox-content ul li:first-child { border-top: none; } .sidebox-content ul li a { color: #b5b2c2; font: normal 14px "yekan", "tahoma", "arial", "Times New Roman", Helvetica; } .sidebox-content ul.menu li a { } .sidebox-content ul li a:hover { color: #f08700; } .sidebox-content ul li:hover { background: #211f29; border-right: 2px solid #3e3b49; -moz-transition-duration: .2s; -webkit-transition-duration: .2s; -o-transition-duration: .2s; } .sidebox-content ul li.selected { background: #211f29; border-right: 2px solid #f08700; } .sidebox-content ul li.selected a { color: #b5b2c2; } .sidebox-content .post-list-date, .sidebox-content .post-list-count { color: #6f6a79; 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: #9492a1; font-size: 13px; border: none; text-align: right; } .sidebox-content.stat .Value { color: #b5b2c2; cursor: default; float: left; padding-left: 10px; text-align: left; } /*-- Tag-Cloud --*/ .sidebox-content.tag-cloud { margin: 0 20px; } .sidebox-content.tag-cloud h3 { margin: 0; font: normal 11px "tahoma", "Times New Roman", Times, Arial, serif; display: inline-block; *display: inline; *margin: 2px; border-radius: 3px; } .sidebox-content.tag-cloud span { display: inline-block; margin: 1px 0 1px 0; } .sidebox-content.tag-cloud a { font: 14px/1.3em "yekan", "tahoma", "arial", "Times New Roman", Helvetica; color: #b5b2c2; border: #393641 1px solid; background: #494651; padding: 1px 7px 4px; display: inline-block; *display: inline-block; margin-left: 1px; border-radius: 3px; /*margin: 2px 0px 2px 0px;*/ } .sidebox-content.tag-cloud a:hover { color: #ffe4c1; border: #f08700 1px solid; background: #f08700; } .sidebox-content.tag-cloud a.selected { color: #fff; border: #A4CACF 1px solid; background: #A4CACF; } /*-- Categories --*/ .sidebox-content.categories ul li { padding: 0; border: none; } .sidebox-content.categories li:hover { background: none; } .sidebox-content ul li.selected a { color: #f08700; } .sidebox-content.categories ul li ul.subcats a { padding-right: 10px; padding-top: 1px; display: inline-block; background: url(//cdn.bayan.ir/blog/templates/54461/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/54461/folder_ico.png) right 8px no-repeat; } .sidebox-content.categories ul li h3 { color: #b5b2c2; margin: 0; font: normal 14px "yekan", "tahoma", "arial", "Times New Roman", Helvetica; } .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: #6f6a79; } .sidebox-content.categories .subcats .post-list-count { cursor: default; display: inline-block; color: #6f6a79; } .sidebox-content.categories .category_selected { background: #211f29; border-right: 2px solid #f1380e; padding: 5px; display: block; height: 41px; max-height: auto; *height: auto; } .sidebox-content.categories .category_selected a { color: inherit; cursor: default; } /*-- Footer --*/ .footer-sidebar { position: relative; background: #343240; color: #b5b2c2; height: 83px; } .footer-sidebar a { color: #fff; } .footer-sidebar .footer-copyright { position: relative; top: 11px; text-align: center; cursor: default; font: 13px yekan; margin-bottom: 4px; } .footer-icons { position: relative; top: 15px; text-align: center; margin: auto; } .footer-icons a { display: inline-block; 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(//cdn.bayan.ir/blog/templates/shared/icon/templates-icon-crystal.png) no-repeat; }