From f861c17d7df5f8b4d5938bb770b703f8e0d5b5eb Mon Sep 17 00:00:00 2001 From: Nilanchala Date: Fri, 27 Oct 2023 01:13:49 +0100 Subject: [PATCH] Create base.sass --- sass/base.sass | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 sass/base.sass diff --git a/sass/base.sass b/sass/base.sass new file mode 100644 index 0000000..3d72736 --- /dev/null +++ b/sass/base.sass @@ -0,0 +1,70 @@ +html + background: #fff + font-size: 16px + -moz-osx-font-smoothing: grayscale + -webkit-font-smoothing: antialiased + max-width: 100vw + min-width: 300px + overflow-x: hidden + text-rendering: optimizeLegibility + +body + color: $text + font-family: $family-primary + font-size: 1rem + line-height: 1.6 + +a, +button, +input, +textarea + outline: none + +a + color: $link + cursor: pointer + text-decoration: none + transition-duration: $speed + transition-property: background, border-bottom-color, color + +code + font-family: $family-monospace + font-size: 0.8em + +img + max-height: 100% + max-width: 100% + +strong + color: $text-strong + +pre + white-space: pre + word-wrap: normal + code + font-size: 1em + padding: 0 + +textarea + max-height: 100% + max-width: 100% + +html + \::-moz-selection + background: $primary + color: $primary-invert + \::selection + background: $primary + color: $primary-invert + +.container + margin-left: auto + margin-right: auto + max-width: 700px + ++desktop + html + font-size: 18px + padding-left: $menu-width + &.is-index + padding-left: 0