Skip to content

Instantly share code, notes, and snippets.

@heptorsj heptorsj/post.css
Created Jan 18, 2019

Embed
What would you like to do?
A CSS
.magazine{
margin: auto;
width: 70%;
border: 3px solid black;
padding: 10px;
margin-bottom: 100px;
}
#article{
text-align: justify;
padding: 10px;
margin-bottom: 10px;
}
h2{
font-size: 20px;
}
code {
background: black;
border: 1px solid #fff;
border-left: 3px solid #f4f4f4;
color: greenyellow ;
page-break-inside: avoid;
font-family: monospace;
font-size: 15px;
line-height: 1.6;
margin-bottom: 1.6em;
max-width: 100%;
overflow: auto;
padding: 1em 1.5em;
display: block;
word-wrap: break-word;
}
pre{
border:none;
background:none;
}
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.