markdown-live-preview/public/css/style.css

129 lines
1.7 KiB
CSS
Raw Normal View History

2011-05-18 19:10:58 +04:00
html, body {
position: relative;
color: #333;
2011-05-18 19:10:58 +04:00
overflow-x: hidden;
2011-05-16 20:26:21 +04:00
margin: 0;
padding: 0;
font-family: Helvetica, arial, freesans, clean, sans-serif;
2011-05-16 20:26:21 +04:00
font-size: 1em;
2011-05-18 19:10:58 +04:00
line-height: 1.5em;
background-color: #444;
2011-05-16 20:26:21 +04:00
}
h1, h2, h3, h4, h5, h6, p {
font-size: 1em;
margin: 0;
padding: 0;
font-weight: normal;
}
p {
margin: 1em;
}
2011-05-17 18:50:41 +04:00
a:link,
a:visited,
a:hover
a:active {
color: #333;
text-decoration: none;
2011-05-17 18:50:41 +04:00
}
2011-05-18 19:31:16 +04:00
img {
border: none;
}
#header {
padding: 10px 0 ;
background-color: #444;
width: 100%;
text-align: center;
}
2020-07-04 07:10:52 +03:00
#header h1 a {
2011-05-17 17:17:47 +04:00
color: #fff;
2020-07-04 07:10:52 +03:00
font-size: 1.5em;
}
2011-05-16 20:26:21 +04:00
#container {
2011-05-18 19:10:58 +04:00
min-height: 100%;
height: auto !important;
height: 100%;
2020-10-23 18:24:28 +03:00
width: 1100px;
2011-05-17 17:17:47 +04:00
padding: 20px;
2011-05-16 20:26:21 +04:00
margin: 0 auto;
2011-05-17 17:17:47 +04:00
background-color: #fff;
border-radius: 10px;
2011-05-16 20:26:21 +04:00
}
#container .section {
margin-bottom: 20px;
}
#content .mode {
border: 1px solid #ddd;
border-radius: 3px;
2020-10-23 18:24:28 +03:00
width: 535px;
2015-01-13 17:08:17 +03:00
display: inline-block;
vertical-align: top;
}
#content .mode .content {
padding: 10px;
}
#preview {
2015-01-13 17:08:17 +03:00
margin-left: 20px;
}
2011-05-17 17:17:47 +04:00
#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;*/
2011-10-05 08:37:35 +04:00
resize: vertical;
outline: none;
2011-05-16 20:26:21 +04:00
}
2020-10-23 18:24:28 +03:00
#editor {
width: 100%;
}
2011-05-18 19:10:58 +04:00
2011-05-17 18:50:41 +04:00
#footer {
clear: both;
width: 100%;
padding: 10px;
background-color: #444;
2011-05-17 18:50:41 +04:00
color: #fff;
text-align: center;
}
#footer #copyright {
font-size: 12px;
color: #999;
}
#footer #copyright a {
font-size: 12px;
color: #999;
}
#footer #copyright a:hover {
2011-05-17 18:50:41 +04:00
color: #fff;
text-decoration: underline;
2020-07-17 19:45:01 +03:00
}