Skip to content

Instantly share code, notes, and snippets.

@nekvindao
Last active January 21, 2019 12:50
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 nekvindao/8573ba33df07535a26b7b6e90eea0c20 to your computer and use it in GitHub Desktop.
Save nekvindao/8573ba33df07535a26b7b6e90eea0c20 to your computer and use it in GitHub Desktop.
html {
font-size: 0.938rem;
}
body {
font-size: inherit;
font-family: 'Open Sans', Helvetica, Arial, sans-serif;
font-weight: 400;
color: #000000;
line-height: 1.3;
}
.blogPost {
line-height: 2.3;
font-size: 1.1rem;
max-width: 960px;
width: 100%;
margin: 0 auto;
p {
margin-bottom: 2rem;
}
h1 {
font-family: 'montserratregular', Helvetica, Arial, sans-serif;
font-weight: 400;
font-size: 1.733rem;
margin-top: 4rem;
margin-bottom: 1rem;
line-height: 1.8;
}
h2 {
font-family: 'montserratregular', Helvetica, Arial, sans-serif;
font-weight: 400;
font-size: 1.3rem;
margin-bottom: 1rem;
margin-top: 3rem;
line-height: 1.8;
}
h3 {
font-family: 'Open Sans', Helvetica, Arial, sans-serif;
font-weight: 400;
font-size: 1.1rem;
margin-bottom: 1rem;
margin-top: 3rem;
line-height: 1.8;
}
ol {
margin-left: 0;
padding-left: 1.3em;
line-height: 1.3;
margin-bottom: 3rem;
li {
padding-left: 0.4em;
margin-bottom: 1.2rem;
p {
line-height: 1.3;
margin-bottom: 0;
}
}
}
ul {
margin-bottom: 3rem;
line-height: 1.8;
li {
margin-bottom: 1rem;
p {
line-height: 1.8;
margin-bottom: 0;
}
}
}
img,
video {
display: block;
max-width: 100%;
margin: 4rem auto;
}
video {
box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.4);
}
blockquote {
padding: 60px 0;
margin: 0;
font-style: italic;
font-size: 1.733rem;
border-top: 1px solid #c8c8c8;
text-align: center;
p {
margin: 0;
}
&:first-of-type {
margin-top: 4rem;
}
&:last-of-type {
border-bottom: 1px solid #c8c8c8;
margin-bottom: 4rem;
}
}
iframe {
display: block;
max-width: 100%;
margin: 60px auto;
box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.4);
border-radius: 4px;
}
hr {
margin: 80px 0;
border-top: 1px solid #c8c8c8;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment