From ced0d9bc49b24d8bdb72f978d6f318842479c199 Mon Sep 17 00:00:00 2001 From: EduLayer <86160828+edulayernet@users.noreply.github.com> Date: Wed, 25 May 2022 15:36:24 +0300 Subject: [PATCH] Stylesheet file for the wordpress theme. SCSS codes decompiled and served as css all in one file. --- style.css | 1076 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1076 insertions(+) create mode 100644 style.css diff --git a/style.css b/style.css new file mode 100644 index 0000000..9d21e9d --- /dev/null +++ b/style.css @@ -0,0 +1,1076 @@ +@charset "UTF-8"; +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ +/* Document + ========================================================================== */ +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ +/* Webkit Scrollbar Customize */ +::-webkit-scrollbar { + width: 8px; + height: 8px; + background: #212020; +} + +::-webkit-scrollbar-thumb { + background: #888; +} +::-webkit-scrollbar-thumb:hover { + background: #dcdcdc; +} + +html { + line-height: 1.15; + /* 1 */ + -webkit-text-size-adjust: 100%; + /* 2 */ +} + +/* Sections + ========================================================================== */ +/** + * Remove the margin in all browsers. + */ +body { + margin: 0; +} + +/** + * Render the `main` element consistently in IE. + */ +main { + display: block; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/* Grouping content + ========================================================================== */ +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ +hr { + box-sizing: content-box; + /* 1 */ + height: 0; + /* 1 */ + overflow: visible; + /* 2 */ +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ +pre { + font-family: monospace, monospace; + /* 1 */ + font-display: auto; + font-size: 1em; + /* 2 */ +} + +/* Text-level semantics + ========================================================================== */ +/** + * Remove the gray background on active links in IE 10. + */ +a { + background-color: transparent; +} + +/** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ +abbr[title] { + border-bottom: none; + /* 1 */ + text-decoration: underline; + /* 2 */ + text-decoration: underline dotted; + /* 2 */ +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ +code, +kbd, +samp { + font-family: monospace, monospace; + /* 1 */ + font-display: auto; + font-size: 1em; + /* 2 */ +} + +/** + * Add the correct font size in all browsers. + */ +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ +/** + * Remove the border on images inside links in IE 10. + */ +img { + border-style: none; +} + +/* Forms + ========================================================================== */ +/** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ +button, +input, +optgroup, +select, +textarea { + font-family: inherit; + /* 1 */ + font-display: auto; + font-size: 100%; + /* 1 */ + line-height: 1.15; + /* 1 */ + margin: 0; + /* 2 */ +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ +button, +input { + /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ +button, +select { + /* 1 */ + text-transform: none; +} + +/** + * Correct the inability to style clickable types in iOS and Safari. + */ +button, +[type=button], +[type=reset], +[type=submit] { + -webkit-appearance: button; +} + +/** + * Remove the inner border and padding in Firefox. + */ +button::-moz-focus-inner, +[type=button]::-moz-focus-inner, +[type=reset]::-moz-focus-inner, +[type=submit]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ +button:-moz-focusring, +[type=button]:-moz-focusring, +[type=reset]:-moz-focusring, +[type=submit]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Correct the padding in Firefox. + */ +fieldset { + padding: 0.35em 0.75em 0.625em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ +legend { + box-sizing: border-box; + /* 1 */ + color: inherit; + /* 2 */ + display: table; + /* 1 */ + max-width: 100%; + /* 1 */ + padding: 0; + /* 3 */ + white-space: normal; + /* 1 */ +} + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ +progress { + vertical-align: baseline; +} + +/** + * Remove the default vertical scrollbar in IE 10+. + */ +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ +[type=checkbox], +[type=radio] { + box-sizing: border-box; + /* 1 */ + padding: 0; + /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ +[type=number]::-webkit-inner-spin-button, +[type=number]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ +[type=search] { + -webkit-appearance: textfield; + /* 1 */ + outline-offset: -2px; + /* 2 */ +} + +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ +[type=search]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ +::-webkit-file-upload-button { + -webkit-appearance: button; + /* 1 */ + font: inherit; + /* 2 */ +} + +/* Interactive + ========================================================================== */ +/* + * Add the correct display in Edge, IE 10+, and Firefox. + */ +details { + display: block; +} + +/* + * Add the correct display in all browsers. + */ +summary { + display: list-item; +} + +/* Misc + ========================================================================== */ +/** + * Add the correct display in IE 10+. + */ +template { + display: none; +} + +/** + * Add the correct display in IE 10. + */ +[hidden] { + display: none; +} + +@font-face { + font-family: "Inter UI"; + font-style: normal; + font-display: auto; + font-weight: 400; + src: url("fonts/Inter-UI-Regular.woff2") format("woff2"), url("fonts/Inter-UI-Regular.woff") format("woff"); +} +@font-face { + font-family: "Inter UI"; + font-style: italic; + font-display: auto; + font-weight: 400; + src: url("fonts/Inter-UI-Italic.woff2") format("woff2"), url("fonts/Inter-UI-Italic.woff") format("woff"); +} +@font-face { + font-family: "Inter UI"; + font-style: normal; + font-display: auto; + font-weight: 600; + src: url("fonts/Inter-UI-Medium.woff2") format("woff2"), url("fonts/Inter-UI-Medium.woff") format("woff"); +} +@font-face { + font-family: "Inter UI"; + font-style: italic; + font-display: auto; + font-weight: 600; + src: url("fonts/Inter-UI-MediumItalic.woff2") format("woff2"), url("fonts/Inter-UI-MediumItalic.woff") format("woff"); +} +@font-face { + font-family: "Inter UI"; + font-style: normal; + font-display: auto; + font-weight: 800; + src: url("fonts/Inter-UI-Bold.woff2") format("woff2"), url("fonts/Inter-UI-Bold.woff") format("woff"); +} +@font-face { + font-family: "Inter UI"; + font-style: italic; + font-display: auto; + font-weight: 800; + src: url("fonts/Inter-UI-BoldItalic.woff2") format("woff2"), url("fonts/Inter-UI-BoldItalic.woff") format("woff"); +} +input[type=submit], +button, +.button, +a.button { + position: relative; + display: flex; + align-items: center; + justify-content: center; + padding: 8px 18px; + margin-bottom: 5px; + background: #eaeaea; + text-decoration: none; + text-align: center; + font-weight: 500; + border-radius: 8px; + border: 1px solid transparent; + appearance: none; + cursor: pointer; + outline: none; +} +.dark-theme input[type=submit], +.dark-theme button, +.dark-theme .button, +.dark-theme a.button { + background: #3b3d42; + color: inherit; +} + +.header { + background: #fafafa; + display: flex; + align-items: center; + justify-content: center; + position: relative; + padding: 20px; +} +.dark-theme .header { + background: #252627; +} +.header__right { + display: flex; + flex-direction: row; + align-items: center; +} +@media (max-width: 684px) { + .header__right { + flex-direction: row-reverse; + } +} +.header__inner { + display: flex; + align-items: center; + justify-content: space-between; + margin: 0 auto; + width: 760px; + max-width: 100%; +} +.header__inner a { + text-decoration: none; +} + +.theme-toggle { + display: flex; + align-items: center; + justify-content: center; + line-height: 1; + cursor: pointer; +} + +.theme-toggler { + fill: currentColor; +} + +.logo { + display: flex; + align-items: center; + text-decoration: none; + font-weight: bold; + font-display: auto; + font-family: monospace, monospace; +} +.logo__mark { + margin-right: 5px; +} +.logo__text { + font-size: 1.125rem; +} +.logo__cursor { + display: inline-block; + width: 10px; + height: 1rem; + background: #bada55; + margin-left: 5px; + border-radius: 1px; + animation: cursor 1s infinite; +} +@media (prefers-reduced-motion: reduce) { + .logo__cursor { + animation: none; + } +} + +@keyframes cursor { + 0% { + opacity: 0; + } + 50% { + opacity: 1; + } + 100% { + opacity: 0; + } +} +.menu { + background: #fafafa; + border-right: 1px solid; + margin-right: 18px; + z-index: 9999; +} +.dark-theme .menu { + background: #252627; +} +@media (max-width: 684px) { + .menu { + position: absolute; + top: 50px; + right: 0; + border: none; + margin: 0; + padding: 10px; + } +} +.menu__inner { + display: flex; + align-items: center; + justify-content: flex-start; + max-width: 100%; + margin: 0 auto; + padding: 0 15px; + font-size: 1rem; + list-style: none; +} +.menu__inner li { + margin: 0 12px; +} +@media (max-width: 684px) { + .menu__inner { + flex-direction: column; + align-items: flex-start; + padding: 0; + } + .menu__inner li { + margin: 0; + padding: 5px; + } +} +.menu-trigger { + width: 24px; + height: 24px; + fill: currentColor; + margin-left: 10px; + cursor: pointer; +} +.menu a { + display: inline-block; + margin-right: 15px; + text-decoration: none; +} +.menu a:hover { + text-decoration: underline; +} +.menu a:last-of-type { + margin-right: 0; +} + +html { + box-sizing: border-box; + line-height: 1.6; + letter-spacing: 0.06em; + scroll-behavior: smooth; +} + +*, +*:before, +*:after { + box-sizing: inherit; +} + +body { + margin: 0; + padding: 0; + font-family: "Inter UI", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", Helvetica, Arial, sans-serif; + font-display: auto; + font-size: 1rem; + line-height: 1.54; + background-color: #fff; + color: #222; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + font-feature-settings: "liga", "tnum", "case", "calt", "zero", "ss01", "locl"; + -webkit-overflow-scrolling: touch; + -webkit-text-size-adjust: 100%; + display: flex; + min-height: 100vh; + flex-direction: column; +} +@media (max-width: 684px) { + body { + font-size: 1rem; + } +} +body.dark-theme { + background-color: #292a2d; + color: #a9a9b3; +} + +h2, h3, h4, h5, h6 { + display: flex; + align-items: center; + line-height: 1.3; +} + +h1 { + font-size: 1.625rem; +} + +h2 { + font-size: 1.625rem; +} + +h3 { + font-size: 1.375rem; +} + +h4 { + font-size: 1.125rem; +} + +@media (max-width: 684px) { + h1 { + font-size: 2rem; + } + + h2 { + font-size: 1.4rem; + } + + h3 { + font-size: 1.15rem; + } + + h4 { + font-size: 1.125rem; + } +} +a { + color: inherit; +} + +img { + display: block; + max-width: 100%; +} +img.left { + margin-right: auto; +} +img.center { + margin-left: auto; + margin-right: auto; +} +img.right { + margin-left: auto; +} + +figure { + display: table; + max-width: 100%; + margin: 25px 0; +} +figure.left { + margin-right: auto; +} +figure.left-floated { + margin-right: auto; + float: left; +} +figure.left-floated img { + margin: 20px 20px 20px 0; +} +figure.center { + margin-left: auto; + margin-right: auto; +} +figure.right { + margin-left: auto; +} +figure.right-floated { + margin-left: auto; + float: right; +} +figure.right-floated img { + margin: 20px 0 20px 20px; +} +figure.rounded img { + border-radius: 50%; +} +figure figcaption { + font-size: 14px; + margin-top: 5px; + opacity: 0.8; +} +figure figcaption.left { + text-align: left; +} +figure figcaption.center { + text-align: center; +} +figure figcaption.right { + text-align: right; +} + +code { + font-family: Consolas, Monaco, Andale Mono, Ubuntu Mono, monospace; + font-display: auto; + font-feature-settings: normal; + background: #eaeaea; + padding: 1px 6px; + margin: 0 2px; + border-radius: 5px; + font-size: 0.95rem; +} +.dark-theme code { + background: #3b3d42; +} + +pre { + background: #212020; + padding: 10px 10px 10px 20px; + border-radius: 8px; + font-size: 0.95rem; + overflow: auto; +} +@media (max-width: 684px) { + pre { + white-space: pre-wrap; + word-wrap: break-word; + } +} +pre code { + background: none !important; + color: #ccc; + margin: 0; + padding: 0; + font-size: inherit; +} +.dark-theme pre code { + color: inherit; +} + +blockquote { + border-left: 2px solid; + margin: 40px; + padding: 10px 20px; +} +@media (max-width: 684px) { + blockquote { + margin: 10px; + padding: 10px; + } +} +blockquote:before { + content: "”"; + font-family: Georgia, serif; + font-display: auto; + font-size: 3.875rem; + position: absolute; + left: -40px; + top: -20px; +} +blockquote p:first-of-type { + margin-top: 0; +} +blockquote p:last-of-type { + margin-bottom: 0; +} + +ul, ol { + margin-left: 40px; + padding: 0; +} +@media (max-width: 684px) { + ul, ol { + margin-left: 20px; + } +} + +ol ol { + list-style-type: lower-alpha; +} + +.container { + flex: 1 auto; + display: flex; + flex-direction: column; + justify-content: center; + text-align: center; +} + +.content { + display: flex; + flex-direction: column; + flex: 1 auto; + align-items: center; + justify-content: center; + margin: 0; +} +@media (max-width: 684px) { + .content { + margin-top: 0; + } +} + +hr { + width: 100%; + border: none; + background: #dcdcdc; + height: 1px; +} +.dark-theme hr { + background: #4a4b50; +} + +.hidden { + display: none; +} + +@media (max-width: 684px) { + .hide-on-phone { + display: none; + } +} + +@media (max-width: 900px) { + .hide-on-tablet { + display: none; + } +} + +.screen-reader-text { + border: 0; + clip: rect(1px, 1px, 1px, 1px); + clip-path: inset(50%); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute !important; + width: 1px; + word-wrap: normal !important; +} + +.screen-reader-text:focus { + background-color: #f1f1f1; + border-radius: 3px; + box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); + clip: auto !important; + clip-path: none; + color: #21759b; + display: block; + font-size: 14px; + font-size: 0.875rem; + font-weight: bold; + height: auto; + width: auto; + top: 5px; + left: 5px; + line-height: normal; + padding: 15px 23px 14px; + text-decoration: none; + z-index: 100000; +} + +#comments { + width: 100%; + max-width: 800px; + text-align: left; + padding: 0px 20px; + margin: 20px auto; +} + +.comments-title { + font-size: 20px; + font-size: 1.25rem; + margin-bottom: 1.5em; +} + +.comment-list, +.comment-list .children { + list-style: none; + margin: 0; + padding: 0; +} + +.comment-list li:before { + display: none; +} + +.comment-body { + margin-left: 65px; +} + +.comment-author { + font-size: 16px; + font-size: 1rem; + margin-bottom: 0.4em; + position: relative; + z-index: 2; +} +.comment-author a { + text-decoration: none; +} + +.comment-author .avatar { + height: 50px; + left: -65px; + position: absolute; + width: 50px; +} + +.comment-author .says { + display: none; +} + +.comment-meta { + font-size: 0.9rem; +} +.comment-meta a { + text-decoration: none; +} + +.comment-body { + font-size: 14px; + font-size: 0.875rem; + margin-bottom: 4em; +} + +.comment-reply-link { + font-weight: 800; + position: relative; +} + +.comment-reply-title { + font-size: 1.25rem; +} +.comment-reply-title a { + margin-left: 5px; + text-decoration: none; +} + +#cancel-comment-reply-link { + font-size: 0.8rem; + margin-left: 5px; + vertical-align: super; +} + +.comment-reply-link .icon { + left: -2em; + height: 1em; + position: absolute; + top: 0; + width: 1em; +} + +.children .comment-author .avatar { + height: 30px; + left: -45px; + width: 30px; +} + +.bypostauthor > .comment-body > .comment-meta > .comment-author .avatar { + padding: 2px; +} + +.no-comments, +.comment-awaiting-moderation { + font-size: 14px; + font-size: 0.875rem; + font-style: italic; +} + +.comments-pagination { + margin: 2em 0 3em; +} + +.form-submit { + text-align: right; +} + +.comment-form #wp-comment-cookies-consent { + margin: 0 10px 0 0; +} + +.comment-form .comment-form-cookies-consent label { + display: inline; +} + +.comment-respond { + width: 100%; +} +.comment-respond input:not([type=checkbox]), .comment-respond label, .comment-respond textarea { + width: 100%; + display: block; +} +.comment-respond .comment-form-cookies-consent label { + display: inline-block; +} +.comment-respond input:not([type=submit]) { + height: 32px; +} + +.post { + width: 100%; + max-width: 800px; + padding: 0px 20px; + margin: 20px auto; +} +@media (max-width: 900px) { + .post { + max-width: 600px; + } +} +.post-meta { + font-size: 0.9rem; +} +.post-meta .tags { + opacity: 0.5; +} +.post-meta .tags a { + text-decoration: none; +} +.post .the-content { + margin: 30px 0px 0px; +} +.post-title { + font-size: 1.625rem; + margin: 30px 0px 5px; +} +.post-title a { + text-decoration: none; +} + +.post-list .the-content { + border-bottom: 1px grey dashed; + margin: 20px 0px 0px; +} +.post-list .post-title { + margin: 20px 0px 5px; +} + +footer { + width: 100%; + max-width: 800px; + padding: 0px 20px; + margin: 20px auto; +} + +.social-links-menu { + display: inline-flex; + list-style: none; + margin: 0 auto; + padding: 0; +} +.social-links-menu li { + margin-right: 10px; +} + +/** Theme Name: mtrcn Theme Description: mtrcn blog theme */