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

126 lines
1.6 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;
2020-10-26 18:35:34 +03:00
height: 100%;
overflow: hidden;
}
body {
2020-10-26 19:16:25 +03:00
overscroll-behavior: none;
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 {
2020-10-26 18:35:34 +03:00
position: fixed;
z-index: 1000;
top: 0;
left: 0;
background-color: #444;
width: 100%;
2020-10-26 18:35:34 +03:00
padding: 10px;
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 {
2020-10-26 18:35:34 +03:00
position: absolute;
width: 100%;
2011-05-16 20:26:21 +04:00
margin: 0 auto;
2011-05-17 17:17:47 +04:00
background-color: #fff;
2020-10-26 18:35:34 +03:00
overflow: hidden;
2011-05-16 20:26:21 +04:00
}
2020-10-26 18:35:34 +03:00
#editor-wrapper {
border-right: 10px solid #eee;
}
2020-10-26 18:35:34 +03:00
#preview-wrapper {
padding-left: 10px;
}
2020-10-26 18:35:34 +03:00
.column {
2011-05-17 17:17:47 +04:00
padding: 0;
margin: 0;
2020-10-26 18:35:34 +03:00
white-space: nowrap;
display: inline-block;
width: 50%;
vertical-align: top;
overflow-y: scroll;
2011-05-16 20:26:21 +04:00
}
2020-10-23 18:24:28 +03:00
2022-03-03 19:24:38 +03:00
#preview.column {
white-space: normal;
}
2011-05-17 18:50:41 +04:00
#footer {
2020-10-26 19:16:25 +03:00
padding: 5px;
z-index: 1001;
position: absolute;
bottom: 0;
left: 0;
2011-05-17 18:50:41 +04:00
width: 100%;
background-color: #444;
2011-05-17 18:50:41 +04:00
color: #fff;
text-align: center;
2020-10-26 19:16:25 +03:00
display: flex;
justify-content: center;
align-items: center;
2011-05-17 18:50:41 +04:00
}
#footer #copyright {
color: #999;
}
2020-10-26 19:16:25 +03:00
#copyright img {
width: 16px;
display: block;
padding: 0;
margin: 0;
}
#footer #copyright a {
2020-10-26 19:16:25 +03:00
display: block;
padding: 0;
margin: 0;
font-size:0;
color: #999;
}
#footer #copyright a:hover {
2011-05-17 18:50:41 +04:00
color: #fff;
2020-10-26 19:16:25 +03:00
text-decoration: none;
2022-03-03 19:24:38 +03:00
}