Skip to content

Commit

Permalink
Create base.sass
Browse files Browse the repository at this point in the history
  • Loading branch information
nilandev authored Oct 27, 2023
1 parent f818bbc commit f861c17
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions sass/base.sass
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f861c17

Please sign in to comment.