Skip to content

Instantly share code, notes, and snippets.

@chamatt
Last active November 30, 2018 18:08
Show Gist options
  • Select an option

  • Save chamatt/5f309e4fd55ecc681878277c7bef2ef5 to your computer and use it in GitHub Desktop.

Select an option

Save chamatt/5f309e4fd55ecc681878277c7bef2ef5 to your computer and use it in GitHub Desktop.
Blog post style
.blog-post-container {
width: 100%;
box-shadow: 0px 0px 10px 0.01px rgba(50, 50, 50, 0.1);
padding: 2em;
margin-top: 1em;
margin-bottom: 1em;
}
.blog-post-title {
padding-left: 1em;
font-family: "Courier New";
font-weight: bold;
color: #333;
font-size: 1.5em;
}
.blog-post-body {
padding: 1em;
}
.blog-post-image {
height: 100%;
width: 100;
}
.blog-post-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment