markdown-live-preview/css/style.css

145 lines
1.7 KiB
CSS

body {
margin: 0;
padding: 0;
background-color: #D1D1BC;
font-family: helvetica, arial, freesans, clean, sans-serif;
font-size: 1em;
line-height: 2em;
}
h1, h2, h3, h4, h5, h6, p {
font-size: 1em;
margin: 0;
padding: 0;
font-weight: normal;
}
p {
margin: 1em;
}
a:link,
a:visited,
a:hover
a:active {
color: #6C8C84;
}
h1#header {
height: 50px;
color: #fff;
padding: 5px;
padding-left: 20px;
line-height: 50px;
background-color: #302C29;
font-size: 1.5em;
font-weight: bold;
}
#container {
width: 960px;
padding: 20px;
margin: 0 auto;
background-color: #fff;
overflow: hidden;
min-height: 500px;
}
#container .section {
margin-bottom: 20px;
}
.section h2 {
color: #466964;
font-weight: bold;
}
#leftColumn {
float: left;
width: 700px;
}
#rightColumn {
width: 240px;
float: right;
}
textarea#markdown {
padding: 0;
margin: 0;
width: 100%;
height: 200px;
font-size: 1em;
border: 2px solid #D1D1BC;
}
#output {
background-color: #f8f8f8;
border: 2px solid #A7C4BB;
min-height: 100px;
padding: 10px;
}
#output p {
line-height: 1.3em;
}
#output h1,
#output h2,
#output h3,
#output h4,
#output h5,
#output h6 {
font-weight: bold;
color: #000;
}
#output h1 {
font-size: 1.7em;
}
#output h2 {
font-size: 1.5em;
}
#output h3 {
font-size: 1em;
}
#output ol,
#output ul {
margin: 0;
}
#output blockquote,
#output pre {
margin: 0;
padding: 5px;
color: #444;
background-color: #eee;
border: 1px solid #ddd;
line-height: 1.5em;
}
#output code {
margin: 0;
padding: 0;
line-height: 1em;
}
#footer {
clear: both;
width: 100%;
height: 50px;
background-color: #302C29;
color: #fff;
line-height: 50px;
text-align: center;
}
#footer a {
color: #fff;
}