Skip to content

Instantly share code, notes, and snippets.

@endorsement
Created July 7, 2019 17:55
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 endorsement/e8fd688d1f47a50000db24bfdb57fc06 to your computer and use it in GitHub Desktop.
Save endorsement/e8fd688d1f47a50000db24bfdb57fc06 to your computer and use it in GitHub Desktop.
html{
font-size:16px;
}
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 1rem;
line-height: normal;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
background-color: #333333;
color: white;
padding: 1rem;
}
body > *:first-child{
margin-top: 0 !important;
}
body > *:last-child{
margin-bottom: 0 !important;
}
h1, h2, h3, h4, h5, h6 {
margin: 1.2rem 0 0.8rem;
padding: 0;
font-weight: bold;
-webkit-font-smoothing: antialiased;
cursor: text;
position: relative;
}
h1:hover{
background-color: aqua;
transition-property: background-color;
transition-duration: 2s;
transition-delay: 0.5s;
}
h1 tt, h1 code{
font-size: inherit;
}
h2 tt, h2 code{
font-size: inherit;
}
h3 tt, h3 code{
font-size: inherit;
}
h4 tt, h4 code{
font-size: inherit;
}
h5 tt, h5 code{
font-size: inherit;
}
h6 tt, h6 code{
font-size: inherit;
}
h1{
font-size: 2rem;
}
h2{
font-size: 1.75rem;
}
h3{
font-size: 1.4rem;
}
h4{
font-size: 1.2rem;
}
h5{
font-size: 1.1rem;
}
h6{
font-size: 1.05rem;
}
body > h1:first-child, body > h2:first-child, body > h3:first-child, body > h4:first-child, body > h5:first-child, body > h6:first-child{
margin-top: 0;
padding-top: 0;
}
li p.first{
display: inline-block;
}
table{
padding: 0;}
table tr{
border-top: solid purple;
background-color: #111111;
margin:0;
padding: 0;
}
table tr th{
font-weight: bold;
border: 0.05rem solid purple;
text-align: center;
margin: 0;
padding: 0.5rem 0.5rem;
}
table tr td{
border:0.05rem solid purple;
text-align: left;
margin: 0;
padding: 0.5rem 0.5rem;
}
table tr:nth-child(2n){
background-color: #444444;
}
table tr th :first-child, table tr td :first-child{
margin-top: 0;
}
table tr th :last-child, table tr td :last-child{
margin-bottom: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment