markdown-live-preview/public/css/style.css
2020-10-27 00:35:34 +09:00

105 lines
1.4 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;
height: 100%;
overflow: hidden;
}
body {
overscroll-behavior-y: none;
}
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 {
position: fixed;
z-index: 1000;
top: 0;
left: 0;
background-color: #444;
width: 100%;
padding: 10px;
text-align: center;
}
#header h1 a {
color: #fff;
font-size: 1.5em;
}
#container {
position: absolute;
width: 100%;
margin: 0 auto;
background-color: #fff;
overflow: hidden;
}
#editor-wrapper {
border-right: 10px solid #eee;
}
#preview-wrapper {
padding-left: 10px;
}
.column {
padding: 0;
margin: 0;
white-space: nowrap;
display: inline-block;
width: 50%;
vertical-align: top;
overflow-y: scroll;
}
#footer {
display :none;
width: 100%;
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;
}