Last active
October 5, 2020 23:13
-
-
Save hvianna/eaa782ca66c768c3fc90bb21d33c75cc to your computer and use it in GitHub Desktop.
CSS for a simple website
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Demo: https://henriquevianna.com/simple/ | |
Based on https://blog.koley.in/baserock/ | |
*/ | |
@import url('https://fonts.googleapis.com/css?family=Fira+Sans'); | |
body { | |
font-family: 'Fira Sans', sans-serif; | |
line-height: 1.6; | |
color: #222; | |
max-width: 40rem; | |
padding: 2rem; | |
margin: auto; | |
background: #fafafa; | |
} | |
img { | |
max-width: 100%; | |
} | |
a { | |
color: #04b71b; | |
text-decoration: none; | |
} | |
h1, h2, strong { | |
color: #111; | |
} | |
button, input, select, textarea { | |
font: inherit; | |
padding: .4rem; | |
} | |
button, input[type="button"] { | |
padding: .2rem .4rem; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment