Skip to content

Instantly share code, notes, and snippets.

@hvianna

hvianna/styles.css

Last active Oct 5, 2020
Embed
What would you like to do?
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
You can’t perform that action at this time.