mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2024-12-05 14:28:54 +03:00
2 lines
12 KiB
CSS
2 lines
12 KiB
CSS
|
html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{margin:0;padding:0;font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-size:1rem;line-height:1.54;letter-spacing:-.02em;background-color:rgb(33, 32, 44);background-color:rgb(33, 32, 44);color:#fff;color:var(--color);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%}@media (max-width:683px){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;max-width:100%;margin:25px 0}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{font-size:14px;padding:5px 10px;margin-top:5px;background:#ee72f1;background:var(--accent);color:rgb(33, 32, 44);color:var(--background)}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code,kbd{font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;background:rgba(238, 114, 241, 0.2);background:rgba(238, 114, 241, 0.2);color:#ee72f1;color:var(--accent);padding:1px 6px;margin:0 2px;font-size:.95rem}code code,code kbd,kbd code,kbd kbd{background:transparent;padding:0;margin:0}pre{background:transparent!important;padding:20px 10px;margin:40px 0;font-size:.95rem;overflow:auto;border-top:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid hsla(0,0%,100%,.1)}pre+pre{border-top:0;margin-top:-40px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}@media (--phone){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;margin:0;padding:0;font-size:inherit;border:none}blockquote{border-top:1px solid #ee72f1;border-top:1px solid var(--accent);border-bottom:1px solid #ee72f1;border-bottom:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){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{content:">";display:block;position:absolute;left:-25px;color:#ee72f1;color:var(--accent)}blockquote.twitter-tweet{position:relative;background:rgba(238, 114, 241, 0.1);background:rgba(238, 114, 241, 0.1);font:inherit;color:inherit;border:1px solid #ee72f1;border:1px solid var(--accent);padding-top:60px}blockquote.twitter-tweet p:before{content:""}blockquote.twitter-tweet:before{content:"> From Twitter:";position:absolute;top:20px;font-weight:700}blockquote.twitter-tweet:before,blockquote.twitter-tweet a{color:#ee72f1;color:var(--accent)}table{table-layout:fixed;border-collapse:collapse;width:100%;margin:40px 0}table,td,th{border:1px dashed #ee72f1;border:1px dashed var(--accent);padding:10px}th{color:#ee72f1;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}}@media (--phone){ol,ul{margin-left:20px}}ol{list-style:none;counter-reset:li}ol li{counter-increment:li}ol li:before{content:counter(li);position:absolute;right:calc(100% + 10px);color:#ee72f1;color:var(--accent);display:inline-block;text-align:right}ol ol{list-style-type:lower-alpha}mark{
|