hugo-theme-hello-friend/static/assets/style.css

2 lines
18 KiB
CSS
Raw Normal View History

:root{--background:#fff;--background-secondary:#eaeaea;--header:#fafafa;--color:#222;--color-secondary:#999;--border-color:#dcdcdc;--phoneWidth:(max-width:684px);--tabletWidth:(max-width:900px)}body.dark-theme{--background:#292a2d;--background-secondary:#3b3d42;--header:#252627;--color:#a9a9b3;--color-secondary:#73747b;--border-color:#4a4b50}@font-face{font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl";font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(fonts/Inter-Regular.woff2) format("woff2")}@font-face{font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl";font-display:swap;font-family:Inter;font-style:italic;font-weight:400;src:url(fonts/Inter-Italic.woff2) format("woff2")}@font-face{font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl";font-display:swap;font-family:Inter;font-style:normal;font-weight:600;src:url(fonts/Inter-Medium.woff2) format("woff2")}@font-face{font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl";font-display:swap;font-family:Inter;font-style:italic;font-weight:600;src:url(fonts/Inter-MediumItalic.woff2) format("woff2")}@font-face{font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl";font-display:swap;font-family:Inter;font-style:normal;font-weight:800;src:url(fonts/Inter-Bold.woff2) format("woff2")}@font-face{font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl";font-display:swap;font-family:Inter;font-style:italic;font-weight:800;src:url(fonts/Inter-BoldItalic.woff2) format("woff2")}.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;background:#eaeaea;background:var(--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}.button.outline,a.button.outline,button.outline{background:transparent;border-color:#eaeaea;border-color:var(--background-secondary);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;font-weight:700;margin:20px 0;padding:0}.code-toolbar{margin-bottom:20px}.code-toolbar .toolbar-item a{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#eaeaea;background:var(--background-secondary);border:1px solid transparent;border-radius:8px;cursor:pointer;display:inline-flex;font-size:13px;font-weight:500;margin-bottom:5px;outline:none;padding:3px 8px;text-align:center;text-decoration:none}.code-toolbar .toolbar-item a,.header{align-items:center;justify-content:center;position:relative}.header{background:#fafafa;background:var(--header);display:flex;padding:20px}.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,.theme-toggle{align-items:center;display:flex}.theme-toggle{cursor:pointer;justify-content:center;line-height:1}.theme-toggler{fill:currentColor}.logo{align-items:center;display:flex;flex:0 0 auto;font-weight:700;text-decoration:none}.logo img{height:44px}.logo__mark{align-items:center;display:inline-flex;margin-right:5px}.logo__mark .greater-icon{height:100%;width:.95rem}.logo__mark .greater-icon path{stroke:currentColor;stroke-wid