Skip to content

Instantly share code, notes, and snippets.

@hvianna
Last active October 5, 2020 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hvianna/eaa782ca66c768c3fc90bb21d33c75cc to your computer and use it in GitHub Desktop.
Save hvianna/eaa782ca66c768c3fc90bb21d33c75cc to your computer and use it in GitHub Desktop.
CSS for a simple website
/*
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