markdown-live-preview/public/css/style.css
Hideaki Tanabe 61aedd8da8 Fix #24
2022-03-04 01:24:38 +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;
height: 100%;
overflow: hidden;
}
body {
overscroll-behavior: 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;
}
#preview.column {
white-space: normal;
}
#footer {
padding: 5px;
z-index: 1001;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
background-color: #444;
color: #fff;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
#footer #copyright {
color: #999;
}
#copyright img {
width: 16px;
display: block;
padding: 0;
margin: 0;
}
#footer #copyright a {
display: block;
padding: 0;
margin: 0;
font-size:0;
color: #999;
}
#footer #copyright a:hover {
color: #fff;
text-decoration: none;
}