Kanboard-Prod/assets/css/src/markdown.css

122 lines
1.9 KiB
CSS

/* markdown editor */
div.CodeMirror,
div.CodeMirror-scroll {
max-height: 250px;
min-height: 200px;
}
.markdown-editor-small div.CodeMirror,
.markdown-editor-small div.CodeMirror-scroll {
min-height: 100px;
max-height: 180px;
}
.form-column div.CodeMirror {
margin-bottom: 10px;
}
/* markdown content */
.markdown {
line-height: 1.4em;
}
.markdown h1 {
margin-top: 5px;
margin-bottom: 10px;
font-size: 1.5em;
font-weight: bold;
text-decoration: underline;
}
.markdown h2 {
font-size: 1.2em;
font-weight: bold;
text-decoration: underline;
}
.markdown h3 {
font-size: 1.1em;
text-decoration: underline;
}
.markdown h4 {
font-size: 1.1em;
text-decoration: underline;
}
.markdown p {
margin-bottom: 10px;
}
.markdown ol,
.markdown ul {
margin-left: 25px;
margin-top: 10px;
margin-bottom: 10px;
}
.markdown pre {
background: #fbfbfb;
padding: 10px;
border-radius: 5px;
border: 1px solid #ddd;
overflow: auto;
color: #444;
}
.markdown blockquote {
font-style: italic;
border-left: 3px solid #ddd;
padding-left: 10px;
margin-bottom: 10px;
margin-left: 20px;
}
.markdown img {
display: block;
max-width: 80%;
margin-top: 10px;
}
.documentation {
margin: 0 auto;
padding: 20px;
max-width: 850px;
background: #fefefe;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 1.1em;
color: #555;
}
.documentation img {
border: 1px solid #333;
}
.documentation h1 {
text-decoration: none;
font-size: 1.8em;
margin-bottom: 30px;
}
.documentation h2 {
font-size: 1.3em;
text-decoration: none;
border-bottom: 1px solid #ccc;
margin-bottom: 25px;
}
.documentation li {
line-height: 30px;
}
.user-mention-link {
font-weight: bold;
color: #000;
text-decoration: none;
}
.user-mention-link:hover {
color: #555;
}