hugo-theme-terminal/static/assets/style.css
2021-10-24 18:37:28 +02:00

1 line
22 KiB
CSS

:root{--accent:#ffa86a;--background:#222129;--color:#fff;--border-color:hsla(0,0%,100%,0.1);--phoneWidth:(max-width:684px);--tabletWidth:(max-width:900px)}@custom-media --phone (max-width: 684px);@custom-media --tablet (max-width: 900px);@font-face{font-display:swap;font-family:Fira Code;font-style:normal;font-weight:400;src:url(0fe15bb5eea5828156c892b0708bea40.woff) format("woff")}@font-face{font-display:swap;font-family:Fira Code;font-style:normal;font-weight:800;src:url(910c4f69908ca1b54b0fed395a9ad573.woff) format("woff")}.button-container{display:table;margin-left:auto;margin-right:auto}.button,a.button,button{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid transparent;border-radius:8px;cursor:pointer;display:flex;justify-content:center;margin-bottom:5px;outline:none;padding:8px 18px;position:relative;text-align:center;text-decoration:none}.button.outline,a.button.outline,button.outline{background:transparent;box-shadow:none;padding:8px 18px}.button.outline :hover,a.button.outline :hover,button.outline :hover{box-shadow:none;transform:none}.button.primary,a.button.primary,button.primary{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.button.primary:hover,a.button.primary:hover,button.primary:hover{box-shadow:0 2px 6px rgba(50,50,93,.21),0 1px 3px rgba(0,0,0,.08)}.button.link,a.button.link,button.link{background:none;font-size:1rem}.button.small,a.button.small,button.small{font-size:.8rem}.button.wide,a.button.wide,button.wide{min-width:200px;padding:14px 24px}a.read-more,a.read-more:active,a.read-more:hover{background:none;box-shadow:none;display:inline-flex;margin:20px 0;max-width:100%;padding:0}.code-toolbar{margin-bottom:20px}.code-toolbar .toolbar-item a{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid transparent;border-radius:8px;cursor:pointer;display:inline-flex;font-size:13px;font-weight:500;justify-content:center;margin-bottom:5px;outline:none;padding:3px 8px;position:relative;text-align:center;text-decoration:none}.header{display:flex;flex-direction:column;position:relative}@media print{.header{display:none}}.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,#ffa86a,#ffa86a 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%;text-decoration:none}.header .menu{--shadow-color:rgba(34,33,41,0.8);--shadow:0 10px var(--shadow-color),-10px 10px var(--shadow-color),10px 10px var(--shadow-color);margin:20px 0}@media (max-width:684px){.header .menu{background:#222129;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}}@media (--phone){.header .menu{background:#222129;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:684px){.header .menu__inner--desktop{display:none}}@media (--phone){.header .menu__inner--desktop{display:none}}.header .menu__inner--mobile{display:none}@media (max-width:684px){.header .menu__inner--mobile{display:block}}@media (--phone){.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:684px){.header .menu__inner{align-items:flex-start;flex-direction:column;padding:0}.header .menu__inner li{margin:0;padding:5px}}@media (--phone){.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:#222129;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{color:#ffa86a;color:var(--accent);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.header .menu__sub-inner-more li{margin:0;padding:5px;white-space:nowrap}.header .menu .spacer{flex-grow:1}.header .menu .language-selector{list-style:none;margin:0;position:relative}.header .menu .language-selector-current{color:#ffa86a;color:var(--accent);cursor:pointer;display:flex;flex-direction:row;list-style-type:none;margin:0}.header .menu .language-selector__more{background:#222129;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;list-style:none;margin:0;padding:10px;position:absolute;right:0;top:35px;z-index:99}.header .menu-trigger{border:2px solid;color:#ffa86a;color:var(--accent);height:100%;margin-left:10px;padding:3px 8px;position:relative}.logo{align-items:center;background:#ffa86a;background:var(--accent);color:#000;display:flex;padding:5px 10px;text-decoration:none}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%;background-color:#222129;color:#fff;color:var(--color);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-size:1rem;font-variant-ligatures:contextual;letter-spacing:-.02em;line-height:1.54;margin:0;padding:0}@media (max-width:684px){body{font-size:1rem}}@media (--phone){body{font-size:1rem}}.headings--one-size h1,.headings--one-size h2,.headings--one-size h3,.headings--one-size h4,.headings--one-size h5,.headings--one-size h6{line-height:1.3}.headings--one-size h1:not(first-child),.headings--one-size h2:not(first-child),.headings--one-size h3:not(first-child),.headings--one-size h4:not(first-child),.headings--one-size h5:not(first-child),.headings--one-size h6:not(first-child){margin-top:40px}.headings--one-size h1,.headings--one-size h2,.headings--one-size h3{font-size:1.4rem}.headings--one-size h4,.headings--one-size h5,.headings--one-size 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:#ffa86a;background:var(--accent);color:#222129;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,kbd{font-feature-settings:normal;background:rgba(255,168,106,.2);color:#ffa86a;color:var(--accent);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace!important;font-size:.95rem;margin:0 2px;padding:1px 6px}code code,code kbd,kbd code,kbd kbd{background:transparent;margin:0;padding:0}pre{background:transparent!important;border-bottom:1px solid hsla(0,0%,100%,.1);border-top:1px solid hsla(0,0%,100%,.1);font-size:.95rem!important;margin:40px 0;overflow:auto;padding:20px 10px}pre+pre{border-top:0;margin-top:-40px}@media (max-width:684px){pre{word-wrap:break-word;white-space:pre-wrap}}@media (--phone){pre{word-wrap:break-word;white-space:pre-wrap}}pre code{background:none!important;border:none;font-size:inherit;margin:0;padding:0}blockquote{border-bottom:1px solid #ffa86a;border-bottom:1px solid var(--accent);border-top:1px solid #ffa86a;border-top:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:684px){blockquote{padding-right:0}}@media (--phone){blockquote{padding-right:0}}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:first-of-type:before{color:#ffa86a;color:var(--accent);content:">";display:block;left:-25px;position:absolute}blockquote.twitter-tweet{background:rgba(255,168,106,.1);border:1px solid #ffa86a;border:1px solid var(--accent);color:inherit;font:inherit;padding-top:60px;position:relative}blockquote.twitter-tweet p:before{content:""}blockquote.twitter-tweet:before{content:"> From Twitter:";font-weight:700;position:absolute;top:20px}blockquote.twitter-tweet:before,blockquote.twitter-tweet a{color:#ffa86a;color:var(--accent)}table{border-collapse:collapse;margin:40px 0;table-layout:auto;width:100%}table,td,th{border:1px dashed #ffa86a;border:1px dashed var(--accent);padding:10px}th{color:#ffa86a;color:var(--accent)}ol,ul{margin-left:22px;padding:0}ol li,ul li{position:relative}@media (max-width:684px){ol,ul{margin-left:20px}}@media (--phone){ol,ul{margin-left:20px}}ol{counter-reset:li;list-style:none}ol li{counter-increment:li}ol li:before{color:#ffa86a;color:var(--accent);content:counter(li);display:inline-block;position:absolute;right:calc(100% + 10px);text-align:right}ol ol{margin-left:38px}ol ol li{counter-increment:li}ol ol li:before{content:counters(li,".") " "}mark{background:#ffa86a;background:var(--accent);color:#222129;color:var(--background)}.container{border-right:1px solid hsla(0,0%,100%,.1);display:flex;flex-direction:column;max-width:864px;min-height:100vh;padding:40px}.container.center,.container.full{border:none;margin:0 auto}.container.full{max-width:100%}@media (max-width:684px){.container{padding:20px}}@media (--phone){.container{padding:20px}}@media print{.container{display:inline;display:initial}}.content{display:flex;flex-direction:column}@media print{.content{display:inline;display:initial}}hr{background:hsla(0,0%,100%,.1);background:var(--border-color);border:none;height:1px;width:100%}.hidden{display:none}sup{line-height:0}.index-content{margin-top:20px}.framed{border:1px solid #ffa86a;border:1px solid var(--accent);padding:20px}.framed :first-child{margin-top:0}.framed :last-child{margin-bottom:0}.post,.posts{width:100%}.post{margin:20px auto;padding:20px 0;text-align:left}@media (max-width:900px){.post{max-width:660px}}@media (--tablet){.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,168,106,.7);font-size:1rem;margin-bottom:10px}.post-title{--border:3px dotted var(--accent);border-bottom:var(--border);color:#ffa86a;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 #ffa86a;border:20px solid var(--accent);margin:40px 0;padding:20px}@media (max-width:684px){.post-cover{border-width:10px;padding:10px}}@media (--phone){.post-cover{border-width:10px;padding:10px}}.post ul{list-style:none}.post ul li:not(:empty):before{color:#ffa86a;color:var(--accent);content:"-";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}.hanchor{color:rgba(255,168,106,.9);margin-left:10px;text-decoration:none;visibility:hidden}h1:hover a,h2:hover a,h3:hover a,h4:hover a{visibility:visible}.footnotes{color:hsla(0,0%,100%,.5)}.pagination{margin-top:50px}@media print{.pagination{display:none}}.pagination__title{display:flex;margin:100px 0 20px;position:relative;text-align:center}.pagination__title-h{background:#222129;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{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:8px;cursor:pointer;display:inline-flex;flex:1;font-size:1rem;justify-content:center;overflow:hidden;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}.footer{flex-grow:0;opacity:.5;padding:40px 0}.footer__inner{align-items:center;display:flex;justify-content:space-between;margin:0;max-width:100%;width:760px}@media (max-width:900px){.footer__inner{flex-direction:column}}@media (--tablet){.footer__inner{flex-direction:column}}.footer a{color:inherit}.footer .copyright{align-items:center;color:var(--light-color-secondary);display:flex;flex-direction:row;font-size:1rem}.footer .copyright--user{margin:auto;text-align:center}.footer .copyright>:first-child:not(:only-child){margin-right:10px}@media (max-width:900px){.footer .copyright>:first-child:not(:only-child){border:none;margin:0;padding:0}}@media (--tablet){.footer .copyright>:first-child:not(:only-child){border:none;margin:0;padding:0}}@media (max-width:900px){.footer .copyright{flex-direction:column;margin-top:10px}}@media (--tablet){.footer .copyright{flex-direction:column;margin-top:10px}}code[class*=language-],pre[class*=language-]{word-wrap:normal;background:none;color:#ccc;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;text-align:left;white-space:pre;word-break:normal;word-spacing:normal}pre[class*=language-]{margin:.5em 0;padding:1em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#2d2d2d}:not(pre)>code[class*=language-]{border-radius:.3em;padding:.1em;white-space:normal}.token.block-comment,.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#999}.token.punctuation{color:#ccc}.token.attr-name,.token.deleted,.token.namespace,.token.tag{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.function,.token.number{color:#f08d49}.token.class-name,.token.constant,.token.property,.token.symbol{color:#f8c555}.token.atrule,.token.builtin,.token.important,.token.keyword,.token.selector{color:#cc99cd}.token.attr-value,.token.char,.token.regex,.token.string,.token.variable{color:#7ec699}.token.entity,.token.operator,.token.url{color:#67cdcc}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}pre[data-line]{padding:1em 0 1em 3em}.line-highlight{background:hsla(24,20%,50%,.08);background:linear-gradient(90deg,hsla(24,20%,50%,.1) 70%,hsla(24,20%,50%,0));margin-top:1em;padding-bottom:inherit;padding-left:0;padding-right:0;padding-top:inherit}@media print{.line-highlight{-webkit-print-color-adjust:exact;color-adjust:exact}}.line-highlight:before,.line-highlight[data-end]:after{top:.4em}pre[id].linkable-line-numbers span.line-numbers-rows{pointer-events:all}pre[id].linkable-line-numbers span.line-numbers-rows>span:before{cursor:pointer}pre[id].linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:hsla(0,0%,50%,.2)}pre[class*=language-].line-numbers{counter-reset:linenumber;padding-left:3.8em;position:relative}pre[class*=language-].line-numbers>code{position:relative;white-space:inherit}.line-numbers .line-numbers-rows{border-right:1px solid #999;font-size:100%;left:-3.8em;letter-spacing:-1px;pointer-events:none;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:3em}.line-numbers-rows>span{counter-increment:linenumber;display:block}.line-numbers-rows>span:before{color:#999;content:counter(linenumber);display:block;padding-right:.8em;text-align:right}.command-line-prompt{border-right:1px solid #999;display:block;float:left;font-size:100%;letter-spacing:-1px;margin-right:1em;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.command-line-prompt>span:before{color:#999;content:" ";display:block;padding-right:.8em}.command-line-prompt>span[data-user]:before{content:"[" attr(data-user) "@" attr(data-host) "] $"}.command-line-prompt>span[data-user=root]:before{content:"[" attr(data-user) "@" attr(data-host) "] #"}.command-line-prompt>span[data-prompt]:before{content:attr(data-prompt)}div.code-toolbar{position:relative}div.code-toolbar>.toolbar{opacity:0;position:absolute;right:.2em;top:.3em;transition:opacity .3s ease-in-out}div.code-toolbar:hover>.toolbar,div.code-toolbar[focus-within]>.toolbar{opacity:1}div.code-toolbar:focus-within>.toolbar{opacity:1}div.code-toolbar>.toolbar>.toolbar-item{display:inline-block}div.code-toolbar>.toolbar>.toolbar-item>a{cursor:pointer}div.code-toolbar>.toolbar>.toolbar-item>button{background:none;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}div.code-toolbar>.toolbar>.toolbar-item>a,div.code-toolbar>.toolbar>.toolbar-item>button,div.code-toolbar>.toolbar>.toolbar-item>span{background:#f5f2f0;background:hsla(0,0%,88%,.2);border-radius:.5em;box-shadow:0 2px 0 0 rgba(0,0,0,.2);color:#bbb;font-size:.8em;padding:0 .5em}div.code-toolbar>.toolbar>.toolbar-item>a:focus,div.code-toolbar>.toolbar>.toolbar-item>a:hover,div.code-toolbar>.toolbar>.toolbar-item>button:focus,div.code-toolbar>.toolbar>.toolbar-item>button:hover,div.code-toolbar>.toolbar>.toolbar-item>span:focus,div.code-toolbar>.toolbar>.toolbar-item>span:hover{color:inherit;text-decoration:none}.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.important,.token.inserted,.token.keyword,.token.number,.token.regex,.token.statement,.token.string,.token.url,code.language-css,code.language-scss{color:#ffa86a!important;color:var(--accent)!important}.token.atrule-id,.token.attr-name,.token.class-name,.token.constant,.token.deleted,.token.namespace,.token.operator,.token.placeholder,.token.property,.token.symbol,.token.tag,.token.tag-id,.token.unit,.token.variable{color:rgba(255,168,106,.7)!important}.command-line-prompt>span:before,.token.deleted,.token.function,.token.function-name,.token.property,code.language-html,code.language-javascript{color:#a39b94!important}.token.punctuation,.token.selector,.token.tag{color:#fff}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:hsla(0,0%,100%,.3)!important}.token.namespace{opacity:.7!important}pre[data-line]{position:relative}pre[class*=language-]{margin:0;overflow:auto;padding:0}.line-highlight{background:hsla(28,8%,61%,.08);left:0;line-height:inherit;margin:0;padding:0;pointer-events:none;position:absolute;right:0;white-space:pre}.line-highlight:before,.line-highlight[data-end]:after{background-color:hsla(24,20%,50%,.4);border-radius:999px;box-shadow:0 1px #fff;color:#f5f2f0;content:attr(data-start);font:700 65%/1.5 sans-serif;left:.6em;min-width:1em;padding:0 .5em;position:absolute;text-align:center;text-shadow:none;vertical-align:.3em}.line-highlight[data-end]:after{bottom:.4em;content:attr(data-end);top:auto}.line-numbers .line-highlight:after,.line-numbers .line-highlight:before{content:none}:root{--code-margin:40px}.code-toolbar{border:1px solid hsla(0,0%,100%,.1);margin:40px 0;margin:var(--code-margin) 0;padding:20px;position:relative}.code-toolbar+.code-toolbar,.code-toolbar+.highlight,.code-toolbar+.highlight .code-toolbar{border-top:0;margin-top:-40px;margin-top:calc(var(--code-margin)*-1)}.code-toolbar code,.code-toolbar pre{border:none}.code-toolbar code{color:inherit;display:block}.code-toolbar>.toolbar button{background:hsla(0,0%,87.8%,.2)!important;border-radius:0!important;box-shadow:0 2px 0 0 rgba(0,0,0,.2)!important;color:#bbb!important;font-size:.8em!important;margin:6px!important;padding:10px!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.collapsable-code{--border-color:#a39b94;margin:40px 0;position:relative;width:100%}.collapsable-code input[type=checkbox]{position:absolute;visibility:hidden}.collapsable-code input[type=checkbox]:checked~.code-toolbar pre,.collapsable-code input[type=checkbox]:checked~pre{border-top:none;height:0;padding:0}.collapsable-code input[type=checkbox]:checked~.code-toolbar{border-top:none;padding:0}.collapsable-code input[type=checkbox]:checked~.code-toolbar .toolbar{display:none}.collapsable-code input[type=checkbox]:checked~label .collapsable-code__toggle:after{content:attr(data-label-expand)}.collapsable-code label{border-bottom:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid var(--border-color);cursor:pointer;display:flex;justify-content:space-between;margin:0;min-height:30px;min-width:30px;position:relative}.collapsable-code__title{color:#ffa86a;color:var(--accent);flex:1;overflow:hidden;padding:3px 10px;text-overflow:ellipsis;white-space:nowrap}.collapsable-code__language{border:1px solid hsla(0,0%,100%,.1);border:1px solid var(--border-color);border-bottom:none;color:#ffa86a;color:var(--accent);padding:3px 10px;text-transform:uppercase}.collapsable-code__toggle{color:#ffa86a;color:var(--accent);font-size:16px;padding:3px 10px}.collapsable-code__toggle:after{content:attr(data-label-collapse)}.collapsable-code pre{margin-top:0}.collapsable-code pre:first-line{line-height:0}.collapsable-code .code-toolbar{margin:0}.terms h1{color:#ffa86a;color:var(--accent)}.terms h3{font-size:medium}body .gist .blob-code-inner,body .gist .blob-num{border:none}