1 line
8.3 KiB
CSS
1 line
8.3 KiB
CSS
html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{-webkit-font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";-webkit-font-smoothing:antialiased;-webkit-font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%;background-color:#221f29;color:#fff;color:var(--color);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-size:1rem;font-variant-ligatures:contextual;line-height:1.54;margin:0;padding:0;text-rendering:optimizeLegibility}@media (max-width:683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{align-items:center;display:flex;font-weight:700;line-height:1.3}h1,h2,h3{font-size:1.4rem}h4,h5,h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;margin:25px 0;max-width:100%}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{background:#ff6266;background:var(--accent);color:#221f29;color:var(--background);font-size:14px;margin-top:5px;padding:5px 10px}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{-webkit-font-feature-settings:normal;background:rgba(255,98,102,.2);color:#ff6266;color:var(--accent);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;margin:0 2px;padding:1px 6px}code,pre{font-size:.95rem}pre{background:transparent;border-bottom:1px solid hsla(0,0%,100%,.1);border-top:1px solid hsla(0,0%,100%,.1);overflow:auto;padding:20px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;border:none;font-size:inherit;margin:0;padding:0}blockquote{border-bottom:1px solid #ff6266;border-bottom:1px solid var(--accent);border-top:1px solid #ff6266;border-top:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}blockquote:before{content:"\201D";font-family:Georgia,serif;font-size:3.875rem;left:-40px;position:absolute;top:-20px}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{color:#ff6266;color:var(--accent);content:">";display:block;left:-25px;position:absolute}table{border-collapse:collapse;margin:40px 0;table-layout:fixed;width:100%}table,td,th{border:1px dashed #ff6266;border:1px dashed var(--accent);padding:10px}th{color:#ff6266;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}ol ol,ol ul,ul ol,ul ul{margin-top:20px}ol ol{list-style-type:lower-alpha}.container{border-right:1px solid hsla(0,0%,100%,.1);display:flex;flex-direction:column;max-width:864px;min-height:100vh;padding:40px}@media (max-width:683px){.container{padding:20px}}.content{display:flex}hr{background:hsla(0,0%,100%,.1);background:var(--border-color);border:none;height:1px;width:100%}.hidden{display:none}.header{display:flex;flex-direction:column;position:relative}.header__inner{align-items:center;display:flex;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{background:repeating-linear-gradient(90deg,#ff6266,#ff6266 2px,transparent 0,transparent 10px);background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 2px,transparent 0,transparent 10px);content:"";display:block;right:10px;width:100%}.header__logo a{flex:0 0 auto;max-width:100%}.header .menu{--shadow:0 10px var(--shadow-color),-10px 10px var(--shadow-color),10px 10px var(--shadow-color);--shadow-color:rgba(34,31,41,0.8);margin:20px 0}@media (max-width:683px){.header .menu{background:#221f29;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;list-style:none;margin:0;padding:10px;position:absolute;right:0;top:50px;z-index:99}}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}@media (max-width:683px){.header .menu__inner--desktop{display:none}}.header .menu__inner--mobile{display:none}@media (max-width:683px){.header .menu__inner--mobile{display:block}}.header .menu__inner li:not(:last-of-type){flex:0 0 auto;margin-bottom:10px;margin-right:20px}@media (max-width:683px){.header .menu__inner{align-items:flex-start;flex-direction:column;padding:0}.header .menu__inner li{margin:0;padding:5px}}.header .menu__sub-inner{list-style:none;margin:0;padding:0;position:relative}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{background:#221f29;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;left:0;list-style:none;margin:0;padding:10px;position:absolute;top:35px;z-index:99}.header .menu__sub-inner-more-trigger{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;color:#ff6266;color:var(--accent);cursor:pointer;user-select:none}.header .menu__sub-inner-more li{margin:0;padding:5px;white-space:nowrap}.header .menu-trigger{border:2px solid;color:#ff6266;color:var(--accent);height:100%;margin-left:10px;padding:3px 8px;position:relative}.logo{align-items:center;background:#ff6266;background:var(--accent);color:#000;display:flex;padding:5px 10px;text-decoration:none}.pagination{margin-top:50px}.pagination__title{display:flex;margin:100px 0 20px;position:relative;text-align:center}.pagination__title-h{background:#221f29;font-size:.8rem;letter-spacing:.1em;margin:0 auto;padding:5px 10px;text-align:center;text-decoration:none;text-transform:uppercase;z-index:1}.pagination__title hr{left:0;margin-top:15px;position:absolute;right:0;width:100%;z-index:0}.pagination__buttons{align-items:center;display:flex;justify-content:center}.pagination__buttons a{text-decoration:none}.button{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:1rem;justify-content:center;max-width:40%;padding:0;position:relative}.button+.button{margin-left:10px}.button a{display:flex;padding:8px 16px;text-decoration:none}.button__text,.button a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.button.next .button__icon{margin-left:8px}.button.previous .button__icon{margin-right:8px}.post{margin:20px auto;padding:20px 0;text-align:left;width:100%}@media (max-width:899px){.post{max-width:660px}}.post:not(:last-of-type){border-bottom:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid var(--border-color)}.post-meta{color:rgba(255,98,102,.7);font-size:1rem;margin-bottom:10px}.post-title{--border:3px dotted #ff6266;--border:3px dotted var(--accent);border-bottom:var(--border);color:#ff6266;color:var(--accent);margin:0 0 15px;padding-bottom:15px;position:relative}.post-title:after{border-bottom:var(--border);bottom:2px;content:"";display:block;position:absolute;width:100%}.post-title a{text-decoration:none}.post-tags{display:block;font-size:1rem;margin-bottom:20px;opacity:.5}.post-tags a{text-decoration:none}.post-content{margin-top:30px}.post-cover{background:transparent;border:20px solid #ff6266;border:20px solid var(--accent);margin:40px 0;padding:20px}@media (max-width:683px){.post-cover{border-width:10px;padding:10px}}.post ul{list-style:none}.post ul li:before{color:#ff6266;color:var(--accent);content:"\25BA";left:-20px;position:absolute}.post--regulation h1,.post--regulation h2{justify-content:center}.post--regulation h2{margin-bottom:10px}.post--regulation h2+h2{margin-bottom:20px;margin-top:-10px}.language-css .token.string,.language-scss .token.string,.style .token.string,.token.atrule,.token.attr-value,.token.boolean,.token.control,.token.directive,.token.entity,.token.keyword,.token.number,.token.regex,.token.statement,.token.string,.token.url,code.language-css,code.language-scss{color:#ff6266;color:var(--accent)}.token.atrule-id,.token.attr-name,.token.operator,.token.placeholder,.token.tag-id,.token.unit,.token.variable{color:rgba(255,98,102,.7)}.token.function,.token.property,code.language-html,code.language-javascript{color:#a39494}.token.punctuation,.token.selector,.token.tag{color:#fff}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:hsla(0,0%,100%,.3)}.token.namespace{opacity:.7}:root{--accent:#ffa86a;--accent:#ff6266;--background:#221f29;--border-color:hsla(0,0%,100%,0.1);--color:#fff;--phoneWidth:(max-width:684px);--tabletWidth:(max-width:900px)} |