Skip to content

Instantly share code, notes, and snippets.

@ainsleyrutterford
Created May 26, 2019 20:29
Show Gist options
  • Save ainsleyrutterford/68cef4b5eaf9e1028a5d2354352c0921 to your computer and use it in GitHub Desktop.
Save ainsleyrutterford/68cef4b5eaf9e1028a5d2354352c0921 to your computer and use it in GitHub Desktop.
/* This is for the central column of content */
.container {
max-width: 65rem; /* Allows the column to be resizable */
margin: 0 auto;
padding-top: 2rem;
}
h1 {
color: #000000; /* Black. */
padding: 1rem 1rem 1rem 1rem; /* top, right, bottom, left */
}
p {
color: #3A3A3A; /* A nice dark grey. */
padding: 0.5rem 1rem 0.5rem 1rem; /* top, right, bottom, left */
}
code {
background-color: #eee; /* Light grey */
border-radius: 0.2em; /* Round edges or box */
font-family: courier, monospace; /* Change font */
padding: 0 0.2em; /* Add padding between text and box */
}
a {
color: #1e6bb8; /* A nice blue */
text-decoration: none; /* Links are not underlined by default */
outline: transparent;
}
a:hover {
text-decoration: underline; /* Links are underlined when hovered */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment