Skip to content

Instantly share code, notes, and snippets.

@ScottWeinstein
Created August 21, 2013 02:07
Show Gist options
  • Save ScottWeinstein/6289641 to your computer and use it in GitHub Desktop.
Save ScottWeinstein/6289641 to your computer and use it in GitHub Desktop.
CSS for todo lists via Markdown
html {
font-size: 100%;
overflow-y: scroll;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
body{
font-family: helvetica, arial, freesans, clean, sans-serif;
color: #333;
background-color: #fff;
border-color: #999999;
border-width: 2px;
line-height: 1.5;
margin: 2em 3em;
text-align:left;
padding: 0 100px 0 100px;
}
pre{
background-color: #eee;
padding: 10px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
overflow: auto;
}
code{
background-color: #eee;
padding: 1px 3px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
pre code {
padding-left: 0px;
padding-right: 0px;
}
li p{
margin: 0.3em;
}
ul > li{
list-style-type: disc;
}
a:link, a:visited{
color: #33e;
text-decoration: none;
}
a:hover{
color: #00f;
text-shadow:1px 1px 2px #ccf;
text-decoration:underline;
}
h1{
color: black;
font-weight: 400;
font-size: 36px;
}
h2{
border-bottom: 1px dotted #aaa;
margin-bottom: 1em;
color: #333;
font-size: 30px;
}
h3{
color: #666;
font-size: 24px;
}
h4 {
font-size: 21px;
}
h5 {
font-size: 18px;
}
.shadow{
-webkit-box-shadow:0 5px 15px #000;
-moz-box-shadow:0 5px 15px #000;
box-shadow:0 5px 15px #000;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment