Skip to content

Commit

Permalink
feat(design): adjust some margins and paddings
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanlinat committed May 3, 2023
1 parent a875b1a commit 41c3a1e
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions src/main.sass
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* MIT License
*
* Copyright (c) 2017-2021 Jonathan Linat <https://github.com/jonathanlinat>
* Copyright (c) 2017-2023 Jonathan Linat <https://github.com/jonathanlinat>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,19 +24,21 @@

@import url('https://fonts.googleapis.com/css?family=Gentium+Basic:700')

.edriseur
margin: 2rem 8rem
:root
font-family: -apple-system, system-ui, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif
font-size: 16px

.edriseur
margin: 0
padding: 2rem
line-height: 1.6
background-color: #fff
color: #222

@media (max-width: 600px)
margin: 2rem 1rem

@media (min-width: 601px) and (max-width: 960px)
margin: 2rem 4rem
@media (min-width: 48rem)
max-width: 80rem
margin: 0 auto
padding: 2rem 4rem

ol:last-child,
li:last-child,
Expand All @@ -57,6 +59,7 @@
margin-bottom: 2rem

h1
margin-top: 0
margin-bottom: .5rem
font-family: 'Gentium Basic', serif
font-size: 2rem
Expand All @@ -69,8 +72,14 @@
.definition
margin-bottom: 1rem

li
margin-bottom: 1rem
ol
padding-left: 2.5rem

li
margin-bottom: 1rem

ul
padding-left: 1.5rem

.extras
padding-top: 1rem
Expand Down

0 comments on commit 41c3a1e

Please sign in to comment.