mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-22 15:55:08 +01:00
1 line
11 KiB
CSS
1 line
11 KiB
CSS
:root{--dark-background:#292a2d;--dark-background-secondary:#3b3d42;--dark-border-color:#4a4b50;--dark-color:#a9a9b3;--dark-color-secondary:#73747b;--light-background:#fff;--light-background-secondary:#eaeaea;--light-border-color:#dcdcdc;--light-color:#222;--light-color-secondary:#999;--phoneWidth:(max-width:684px);--tabletWidth:(max-width:900px)}@font-face{font-family:Inter UI;font-style:normal;font-weight:400;src:url(ada67516bfcb321d3af9a10b5ac85969.woff2) format("woff2"),url(3ca46ee35e2e0a102cb63a64629ff935.woff) format("woff")}@font-face{font-family:Inter UI;font-style:italic;font-weight:400;src:url(bc389a025ce24c8a922a75a14efb9849.woff2) format("woff2"),url(8b0d16839ccd5eb17d2d2c57fc7b879c.woff) format("woff")}@font-face{font-family:Inter UI;font-style:normal;font-weight:500;src:url(a4b302b56c07e87c3428227270d313fa.woff2) format("woff2"),url(86c6d121f1d396c123e9f2b0b18040a0.woff) format("woff")}@font-face{font-family:Inter UI;font-style:italic;font-weight:500;src:url(2b29c19f434999cda5a1cdc166684cb0.woff2) format("woff2"),url(7719d61e224c7bfe4e45a2427f7c1dda.woff) format("woff")}@font-face{font-family:Inter UI;font-style:normal;font-weight:700;src:url(8506a8d02c2e819508bc53d65de6795a.woff2) format("woff2"),url(0a1242bedd6453e33ea8bfb1a7fb2af4.woff) format("woff")}@font-face{font-family:Inter UI;font-style:italic;font-weight:700;src:url(8300e08855db2eb7f74402a173874e83.woff2) format("woff2"),url(84c42c5d04986c70ad2fac54f3e00937.woff) format("woff")}@font-face{font-family:Inter UI;font-style:normal;font-weight:900;src:url(28b144c25989d58d1efc682da3bbaafb.woff2) format("woff2"),url(f0e3c382b00425de3b4ad83483ca72db.woff) format("woff")}@font-face{font-family:Inter UI;font-style:italic;font-weight:900;src:url(da612650c903c13b297c827884dcb8db.woff2) format("woff2"),url(f62e9538012bbc071a1c47254dcd6232.woff) format("woff")}.button-container{display:table;margin-left:auto;margin-right:auto}.button,a.button,button{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;background:#eaeaea;background:var(--light-background-secondary);border:1px solid transparent;border-radius:8px;cursor:pointer;display:flex;font-weight:500;justify-content:center;margin-bottom:5px;outline:none;padding:8px 18px;position:relative;text-align:center;text-decoration:none}.dark-theme .button,.dark-theme a.button,.dark-theme button{background:#3b3d42;background:var(--dark-background-secondary);color:inherit}.button.outline,a.button.outline,button.outline{background:transparent;border-color:#eaeaea;border-color:var(--light-background-secondary);box-shadow:none;padding:8px 18px}.dark-theme .button.outline,.dark-theme a.button.outline,.dark-theme button.outline{border-color:#3b3d42;border-color:var(--dark-background-secondary);color:inherit}.button.outline :hover,a.button.outline :hover,button.outline :hover{-webkit-transform:none;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;font-weight:700;margin:20px 0;padding:0}.dark-theme a.read-more,.dark-theme a.read-more:active,.dark-theme a.read-more:hover{background:none}.header{align-items:center;background:#fafafa;display:flex;justify-content:center;padding:20px;position:relative}.dark-theme .header{background:#252627}.header .bulb-on{display:none}.dark-theme .header .bulb-on,.header .bulb-off{display:block}.dark-theme .header .bulb-off{display:none}.header__right{align-items:center;display:flex;flex-direction:row}@media (max-width:683px){.header__right{flex-direction:row-reverse}}.header__inner{justify-content:space-between;margin:0 auto;max-width:100%;width:760px}.header__inner,.logo{align-items:center;display:flex}.logo{text-decoration:none}.logo img{height:44px}.logo__mark{margin-right:5px}.logo__cursor{-webkit-animation:cursor 1s infinite;animation:cursor 1s infinite;background:#fe5186;border-radius:2px;display:inline-block;height:1rem;margin-left:5px;width:2px}@-webkit-keyframes cursor{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes cursor{0%{opacity:0}50%{opacity:1}to{opacity:0}}.menu{background:#fafafa;border-right:1px solid;margin-right:10px}.dark-theme .menu{background:#252627}@media (max-width:683px){.menu{border:none;margin:0;padding:10px;position:absolute;right:0;top:50px}}.menu__inner{align-items:center;display:flex;font-size:1rem;justify-content:flex-start;list-style:none;margin:0 auto;max-width:100%;padding:0 15px}.menu__inner li{margin:0 20px}.menu__inner li:last-of-type{margin:0}@media (max-width:683px){.menu__inner{align-items:flex-start;flex-direction:column;padding:0}.menu__inner li{margin:0;padding:5px}}.menu-trigger{fill:currentColor;height:24px;margin-left:10px;width:24px}.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}*,:after,:before{box-sizing:inherit}body{-webkit-font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl";-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%;background-color:#fff;background-color:var(--light-background);color:#222;color:var(--light-color);font-family:Inter UI,-apple-system,BlinkMacSystemFont,Roboto,Segoe UI,Helvetica,Arial,sans-serif;font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl";font-size:18px;line-height:1.54;margin:0;padding:0;text-rendering:optimizeLegibility}@media (max-width:683px){body{font-size:1rem}}body.dark-theme{background-color:#292a2d;background-color:var(--dark-background);color:#a9a9b3;color:var(--dark-color)}h1,h2,h3,h4,h5,h6{align-items:center;display:flex;line-height:1.43}h1{font-size:2.625rem}h2{font-size:1.625rem}h3{font-size:1.375rem}h4{font-size:1.125rem}@media (max-width:683px){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%}code{background:#eaeaea;background:var(--light-background-secondary);border-radius:5px;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:.95rem;margin:0 2px;padding:1px 6px}.dark-theme code{background:#3b3d42;background:var(--dark-background-secondary)}pre{background:#1a1a1d;border-radius:8px;font-size:1rem;overflow:auto;padding:20px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;color:#ccc;font-size:inherit;padding:0}blockquote{border-left:2px solid;margin:40px;padding:10px 20px}@media (max-width:683px){blockquote{margin:10px;padding:10px}}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}ol,ul{margin-left:40px;padding:0}@media (max-width:683px){ol,ul{margin-left:20px}}ol ol{list-style-type:lower-alpha}.container{flex-direction:column;text-align:center}.container,.content{display:flex;justify-content:center}.content{align-items:center;flex:1 auto;flex-direction:column;margin:50px 0}@media (max-width:683px){.content{margin-top:0}}hr{background:#dcdcdc;background:var(--light-border-color);border:none;height:1px;width:100%}.dark-theme hr{background:#4a4b50;background:var(--dark-border-color)}.hidden{display:none}.post{margin:20px auto;max-width:800px;padding:20px;text-align:left;width:100%}@media (max-width:899px){.post{max-width:660px}}.post:not(:last-of-type){border-bottom:1px solid #dcdcdc;border-bottom:1px solid var(--light-border-color)}.dark-theme .post:not(:last-of-type){border-color:#4a4b50;border-color:var(--dark-border-color)}.post-meta{font-size:1rem;margin-bottom:10px}@media (max-width:683px){.post-meta{font-size:.85rem}}.post-date:after{content:"\2014"}.post-title{font-size:2.625rem;margin:0 0 20px}@media (max-width:683px){.post-title{font-size:2rem}}.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{border-radius:8px;margin:40px -50px;max-width:860px;width:860px}@media (max-width:899px){.post-cover{margin:20px 0;width:100%}}.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}.pagination{margin-top:50px}.pagination__title{display:flex;margin:100px 0 20px;position:relative;text-align:center}.pagination__title-h{background:#fff;background:var(--light-background);color:#999;color:var(--light-color-secondary);font-size:.8rem;letter-spacing:.1em;margin:0 auto;padding:5px 10px;text-align:center;text-decoration:none;text-transform:uppercase;z-index:1}.dark-theme .pagination__title-h{background:#292a2d;background:var(--dark-background);color:#73747b;color:var(--dark-color-secondary)}.pagination__title hr{left:0;margin-top:15px;position:absolute;right:0;width:100%;z-index:0}.pagination__buttons{display:flex;justify-content:space-around}.pagination__buttons a{font-weight:700;text-decoration:none}.footer{color:#999;color:var(--light-color-secondary);flex-grow:0;padding:40px 20px}.footer__inner{align-items:center;display:flex;justify-content:space-between;margin:0 auto;max-width:100%;width:760px}@media (max-width:899px){.footer__inner{flex-direction:column}}.footer a{color:inherit}.footer .copyright{align-items:center;color:#999;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){border-right:1px solid;margin-right:10px;padding-right:10px}@media (max-width:899px){.footer .copyright>:first-child:not(:only-child){border:none;margin:0;padding:0}}@media (max-width:899px){.footer .copyright{flex-direction:column;margin-top:10px}}code[class*=language-],pre[class*=language-]{-moz-tab-size:4;-ms-hyphens:none;-o-tab-size:4;-webkit-hyphens:none;background:none;color:#a9a9b3;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;hyphens:none;line-height:1.5;tab-size:4;text-align:left;white-space:pre;word-break:normal;word-spacing:normal;word-wrap:normal}pre[class*=language-]{margin:.5em 0;overflow:auto;padding:1em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#1a1a1d!important;border-radius:8px}: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;color:var(--light-color-secondary)}.token.punctuation{color:#a9a9b3}.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} |