markdown-live-preview/public/css/style.css
2020-07-18 01:45:40 +09:00

126 lines
1.6 KiB
CSS

html, body {
position: relative;
color: #333;
overflow-x: hidden;
margin: 0;
padding: 0;
font-family: Helvetica, arial, freesans, clean, sans-serif;
font-size: 1em;
line-height: 1.5em;
background-color: #444;
}
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: #333;
text-decoration: none;
}
img {
border: none;
}
#header {
padding: 10px 0 ;
background-color: #444;
width: 100%;
text-align: center;
}
#header h1 a {
color: #fff;
font-size: 1.5em;
}
#container {
min-height: 100%;
height: auto !important;
height: 100%;
width: 960px;
padding: 20px;
margin: 0 auto;
background-color: #fff;
border-radius: 10px;
}
#container .section {
margin-bottom: 20px;
}
#content .mode {
border: 1px solid #ddd;
border-radius: 3px;
width: 465px;
display: inline-block;
vertical-align: top;
}
#content .mode .content {
padding: 10px;
}
#preview {
margin-left: 20px;
}
#leftColumn {
float: left;
width: 700px;
}
#rightColumn {
width: 240px;
float: right;
}
textarea#markdown {
padding: 0;
margin: 0;
width: 100%;
height: 400px;
overflow: auto;
font-size: 15px;
border: none;
/* border: 2px solid #D1D1BC;*/
resize: vertical;
outline: none;
}
#footer {
clear: both;
width: 100%;
padding: 10px;
background-color: #444;
color: #fff;
text-align: center;
}
#footer #copyright {
font-size: 12px;
color: #999;
}
#footer #copyright a {
font-size: 12px;
color: #999;
}
#footer #copyright a:hover {
color: #fff;
text-decoration: underline;
}