*, *::after, *::before { box-sizing: border-box; } html, body { background: #e3e3e3; color: #000000; font: 17px/1.75em "iran"; caret-color: #990000; } ::selection { background: #990000; color: #fff; } body { min-height: 100vh; margin: 0; } a { color: #990000; text-decoration: none; position: relative; transition: color 250ms ease; } a:hover { color: #70a236; } p { margin: 0; line-height: 2em; } p + p { margin-top: 1rem; } h1, h2, ul, figure { margin: 1rem 0; padding: 0; font-family: inherit; } ul { list-style-position: inside; } h3, h4, h5, h6 { margin-bottom: 0; } img, video { max-width: 100%; height: auto; position: relative; vertical-align: middle; object-fit: cover; } hr { width: 100%; height: 0.125rem; background: #000000; border: none; opacity: 0.125; margin: 2rem 0; } input, select, button, textarea { font-family: inherit; font-size: 1rem; background: transparent; border: 1px solid #000000; padding: 0.25rem; color: inherit; opacity: 0.7; transition: all 300ms ease; } ::placeholder { opacity: 1; color: inherit; transition: all 300ms ease; } :focus::placeholder { opacity: 0.7; } button { opacity: 1; text-align: center; } input:focus, select:focus, textarea:focus { opacity: 1; outline: none; } table { margin-bottom: 30px; width: 100%; border-collapse: collapse; border: none; } table tr:nth-child(even) { background-color: rgba(0, 0, 0, 0.05); } table th, table td { padding: 10px 15px; } table th { background-color: rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.2); } table td { border: 1px solid rgba(0, 0, 0, 0.2); } blockquote { border-radius: 8px; padding: 1rem 2rem; margin: 2rem; background: rgba(0, 0, 0, 0.05); border: currentColor solid; border-width: 1px 0.33em; position: relative; } blockquote::before, blockquote::after { content: ""; border: currentColor solid; border-width: 0 0.35em 0 0.35em; font-size: 2rem; width: 1em; height: 1em; display: block; position: absolute; transform: skewX(-20deg); } blockquote::after { bottom: -0.5rem; right: 1rem; } blockquote::before { left: 1rem !important; top: -0.5rem; } .followBx, .followThis { font-family: inherit; } .rate-up, span.rateup, .rate-down, span.ratedn { color: inherit; } /*----------- | Utility -----------*/ .ci { color: inherit; } .icon { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; width: 1em; height: 1em; font-size: 1.5em; vertical-align: middle; } .icon-pin { stroke-width: 0; fill: currentColor; font-size: 0.75em; } .left { float: left; } .tag-cloud { display: flex; flex-wrap: wrap; } .tag { padding: 0.5em; background-color: #000000; color: #fff; margin: 2px; display: inline-block; line-height: 1; } .tag:hover { color: #fff; background: #990000; } .card, .blog-post { background: #fff; padding: 1rem; position: relative; margin-bottom: 1rem; border-radius: 16px; box-shadow: 0 4px 16px -8px rgba(0, 0, 0, 0.1333333333); } .btn, .pagination > a, #bComSub { background: #000000; padding: 0.5rem 1.5rem; color: #fff; z-index: 2; display: inline-block; cursor: pointer; border: none; border-radius: 16px; } .btn:hover, .pagination > a:hover, #bComSub:hover { color: #fff; background: #53c6b6; } .avatar { font-size: 2rem; width: 1em; height: 1em; border-radius: 50%; overflow: hidden; display: inline-block; vertical-align: middle; } .avatar.is-sm { font-size: 1rem; } .avatar.is-md { font-size: 3rem; } .avatar.is-lg { font-size: 4rem; } .avatar:not(.no-margin) { margin-left: 0.5rem; } .avatar > img { width: 100%; height: 100%; object-fit: cover; color: transparent; } img.avatar { object-fit: cover; color: transparent; } .clearfix::after { content: " "; display: table; clear: both; } .item { padding: 0.75em 1em; border: 0.15rem solid #000000; background: transparent !important; margin-bottom: 1rem; } .item-err { border-color: currentColor; color: #f33838; } /*----------- | HEADER -----------*/ .header__top-nav { display: flex; justify-content: space-between; align-items: center; background: #000000; color: #fff; overflow: auto; } .header-nav { display: flex; list-style: none; width: max-content; margin: 0; } .header-nav--item { padding: 0.5rem 1rem; position: relative; overflow: hidden; color: inherit; } .header-nav--item::before { content: ""; position: absolute; width: 100%; height: 0.1rem; bottom: 0; right: 0; background: #fff; transform: rotateY(90deg); opacity: 0.5; transition: all 300ms ease; } .header-nav--item:hover { color: #fff; } .header-nav--item:hover::before { transform: translateX(0); opacity: 1; } .header-search { padding: 0.5rem 1rem; } .header-title { padding: 3rem 1rem; text-align: center; } .header-title_heading { font-size: 2.5rem; margin-bottom: 0 0 1rem; color: #000000; } .blog-container { max-width: 1200px; margin: auto; padding: 1rem; } @media (min-width: 55rem) { .blog-container { display: flex; justify-content: space-between; } .blog-content { width: 70%; } .blog-sidebar { width: 27%; width: calc(30% - 1rem); } } .blog-post { padding: 1rem; margin-bottom: 1rem; } .blog-post__post-image { border-radius: 16px; overflow: hidden; margin-bottom: 1rem; } .blog-post__header { text-align: center; margin-bottom: 1rem; } .blog-post__header--cat-item { padding: 0.25em; } .blog-post__title { margin: 1rem 0; } .blog-post__image-frame { overflow: hidden; margin-bottom: 1rem; } .blog-post__image { transition: ease 500ms; } .blog-post__image:hover { transform: scale(1.125); } .blog-post__content { text-align: justify; line-height: 2em; } .blog-post__content h1, .blog-post__content h2, .blog-post__content h3, .blog-post__content h4, .blog-post__content h5, .blog-post__content h6 { margin: 2rem 0 1rem; } .blog-post__footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; position: relative; } .blog-post__footer--read-more { background: #000000; padding: 0.5rem 1.5rem; color: #fff; z-index: 2; } .blog-post__footer--meta { z-index: 2; } .blog-post__footer--mata--item:not(:hover) { color: inherit; } .blog-post__footer--mata--item { padding: 0.25rem 0.5rem; } .blog-post__footer--mata--item + .blog-post__footer--mata--item { margin-right: 1rem; } /*----------- | Side Bar -----------*/ .blog-side__title { background: #000000; padding: 0.4rem 1.2rem; color: #fff; width: max-content; margin: 0 0 1rem; } .blog-side__list { list-style: none; } .blog-side__list-item { padding: 0.5rem 0; display: block; width: 100%; color: inherit; position: relative; overflow: hidden; } .blog-side__list-item::after { content: ""; position: absolute; width: 100%; height: 100%; bottom: 0; right: 0; transform: translate(100%, 0px); opacity: 0.5; transition: all 400ms ease; background: linear-gradient(to top, #990000 1px, transparent 1px); margin-bottom: 1px; } .blog-side__list-item:hover::after { transform: translateY(0px); opacity: 1; } .blog-info { text-align: justify; } .blog-side__blog-image { border-radius: 16px; overflow: hidden; } .blog-side__blog-title { margin-top: 1rem; font-weight: ormal; font-size: 1.5em; } .blog-side__list ul { list-style: none; margin: 0 1.5rem 0 0; } .blog-side__list ul .blog-side__list-item::before { content: ""; top: 0; left: 100%; width: 0.7rem; height: 0.7rem; margin-left: 0.25rem; border: 1px solid; border-width: 0 1px 1px 0; display: inline-block; vertical-align: middle; } .blog-side__item { display: flex; align-items: center; position: relative; overflow: hidden; z-index: 2; padding: 0.5rem; margin-bottom: 1rem; } .blog-side__item--thumb { display: block; margin-left: 1rem; overflow: hidden; border-radius: 50%; width: 3.5rem; height: 3.5rem; background-size: cover; background-position: center; margin-left: 0.5em; } .blog-side__item--thumb--img { width: 100%; height: 100%; object-fit: cover; } .blog-side__item--content { overflow: hidden; } .blog-side__item--heading { margin: 0; font-size: 1em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .blog-side__item--side-detus { font-size: 0.8em; opacity: 0.7; } .side-dets-view { padding: 0; margin: 0; list-style: none; } .side-det { color: inherit; display: flex; justify-content: space-between; overflow: hidden; background: linear-gradient(rgba(34, 34, 34, 0.25), rgba(34, 34, 34, 0.25)) no-repeat center/100% 1px; } .side-det--title { font-weight: bold; background: #fff; padding-left: 0.5em; } .side-det--count { background: #fff; padding-right: 0.5em; } .side-links { background: transparent; } .links-title { background: transparent; transform: translateX(1em); transition: 250ms ease-out; width: 100%; } .links-title > .icon-link { font-size: 1em; transform: scale(0); opacity: 0; transition: 250ms ease-out; } .links-title:hover, .links-title:focus { transform: translateX(0); } .links-title:hover > .icon-link, .links-title:focus > .icon-link { transform: scale(1); opacity: 1; } /*---------- Comments ----------*/ .comments-title { font-weight: bold; font-size: 1.25em; } .comment--header { padding: 0 0 0.5rem 0; border-bottom: none; } .comment--card { position: relative; } .comment--date { float: left; opacity: 0.5; } .comment > .comment { margin-right: 1.5rem; } @media (min-width: 55rem) { .comment--avatar { position: absolute; left: 100%; top: 0; font-size: 3rem; } .comment, .comment > .comment { margin-right: 3.5rem; } } /*----------- PAGINATION ----------*/ .pagination { display: flex; padding: 0 1rem; margin-bottom: 1rem; } .pagination--btn:not(:last-child) { margin-left: 1rem; } /*----------- FOOTER ----------*/ .footer { padding: 1rem; background: #000000; color: #fff; } /*----------- FORM ----------*/ div.inputFix { padding: 0; } .formField2 { padding: 0 0 1rem; } .formField2 label { width: unset; float: none; } .formField2 .fldcontent { padding: 0; margin: 0; } .formField2 input.text, .formField2 textarea { width: 100%; } select[name=website], select[name=email], select[name=fullname] { width: 100%; } .anon-hide.commentAvatar { display: none; } .bComForm .hasComment { margin: 0; } .bComForm .sendbutton, .bComForm .sendbutton.hasCheckbox { float: none; margin: 0; } /*----- FollowBox and SearchBox -----*/ #followInBx { max-width: unset !important; } .followBx { background: transparent; } #followInBx #followersLs .followImg { border-radius: 50%; height: 100%; width: 100%; } .followShow .follower, #followInBx .follower { width: calc(20% - 0.5rem); margin: 0.25rem; } .followShow .followThis { white-space: nowrap; padding: 4px 8px; text-align: center; width: auto; position: static; display: inline-block; } .followShow .body { padding: 0.5rem; height: unset !important; } .followShow { background: #fff; border: navajowhite; box-shadow: 0 4px 11px -4px rgba(0, 0, 0, 0.5333333333); border: 1px solid rgba(136, 136, 136, 0.2666666667); width: unset !important; } .followShow .folDetImg { width: 2.5rem; height: 2.5rem; margin: 0; padding: 0; border-radius: 50%; } .folDetTxt { padding-right: 3rem; } .followThis { background: #000000; color: #fff; border-radius: 16px; padding: 0.25rem 1rem; } .search-box .submit { background-color: transparent; opacity: 1; width: 2rem; height: 2rem; background-position: center; border-radius: 0; } #srchBx.search-box { height: 2rem; background: transparent; } .search-box input.text { height: 2rem; } /*----- Fonts -----*/ /*@import url("//cdn.jsdelivr.net/gh/rastikerdar/sahel-font@latest/dist/font-face.css");*/ @font-face { font-family: "iran"; font-style: normal; font-weight: bold; src: url("//bayanbox.ir/blog/trash/templates/iran/IRANBold.woff2?download") format("woff2"), url("//bayanbox.ir/blog/trash/templates/iran/IRANBold.woff?download") format("woff"); } @font-face { font-family: "iran"; font-style: normal; font-weight: 900; src: url("//bayanbox.ir/blog/trash/templates/iran/IRANBlack.woff2?download") format("woff2"), url("//bayanbox.ir/blog/trash/templates/iran/IRANBlack.woff?download") format("woff"); } @font-face { font-family: "iran"; font-style: normal; font-weight: 600; src: url("//bayanbox.ir/blog/trash/templates/iran/IRAN_SemiBold.woff2?download") format("woff2"), url("//bayanbox.ir/blog/trash/templates/iran/IRAN_SemiBold.woff?download") format("woff"); } @font-face { font-family: "iran"; font-style: normal; font-weight: normal; src: url("//bayanbox.ir/blog/trash/templates/iran/IRAN.woff?download") format("woff2"), url("//bayanbox.ir/blog/trash/templates/iran/IRAN.woff2?download") format("woff"); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ } /*----- Background For Header -----*/ /* .header-title { padding: 10rem 1rem; text-align: center; background-color: #a4811e; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10'%3E%3Cg stroke-width='0'%3E%3Cpath fill='%23f5f8ff' fill-opacity='.8' d='M200 10c-22-4-48-8-64-8-17 0-34 4-58 6-25 2-50 2-78 2'/%3E%3Cpath fill='%23f5f8ff' d='M200 10V0c-18 5-37 10-62 10S82 5 58 4C33 3 17 7 0 10'/%3E%3C/g%3E%3C/svg%3E") , url(#header-bg#); background-size: 101% auto, cover; background-repeat: no-repeat; background-position: bottom center, center; } */ /*alternative style for sidebar title*/ .blog-side__title { padding: 0; background: #fff; color: #000000; font-weight: bold; padding-left: 1em; } .blog-side__header { background: linear-gradient(#000000, #000000) no-repeat center/100% 0.115em; } /*# sourceMappingURL=style.css.map */