Created
August 30, 2018 22:17
-
-
Save ChangoMan/ecb7db06f7b9c65f1581c6369aa7b3fe to your computer and use it in GitHub Desktop.
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
html, | |
body { | |
height: 100%; | |
width: 100%; | |
padding: 0; | |
margin: 0; | |
background: #fafafa; | |
font-family: "Helvetica Neue", arial, sans-serif; | |
font-weight: 400; | |
color: #444; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
} | |
* { | |
box-sizing: border-box; | |
} | |
#app { | |
height: 100%; | |
} | |
.site-header { | |
padding: 2rem 0 1rem; | |
} | |
main { | |
display: grid; | |
grid-gap: 30px; | |
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
grid-auto-rows: max-content; | |
grid-auto-flow: row dense; | |
} | |
.article a, | |
.article a:visited { | |
text-decoration: none; | |
color: inherit; | |
} | |
.article img { | |
width: 100%; | |
} | |
.error { | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
height: 100%; | |
} | |
.alert { | |
display: inline-block; | |
padding: 15px; | |
border-radius: 0.25rem; | |
} | |
.alert--error { | |
background-color: #f8d7da; | |
color: #721c24; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment