The frontend/UI server, written in JS using the MarkoJS library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

117 lines
1.5 KiB

div.markdown-content {
line-height: 1.333em;
font-size: 1.25em;
h1 {
font-size: 2em;
margin: 0;
margin-top: 0.75em;
line-height: 1.2em;
text-align: left;
border-bottom: 1px solid;
}
h1:first-child {
margin-top: 0;
}
h2 {
font-size: 1.5em;
margin: 0;
margin-top: 0.75em;
padding-bottom: 0.25em;
border-bottom: 1px solid;
}
h3 {
font-size: 1.25em;
margin: 0;
margin-top: 1em;
padding: 0;
margin-bottom: -0.25em;
}
h4 {
font-size: 1em;
margin-top: 1em;
margin-bottom: -0.5em;
padding: 0;
}
h5 {
font-size: 1em;
margin: 0;
margin-bottom: -0.5em;
}
h6 {
font-size: 1em;
opacity: 0.5;
margin: 0;
margin-bottom: -0.5em;
}
hr {
border: none;
margin: 2em 2ch;
border-bottom: 4px dotted;
opacity: 0.75;
}
ul, ol {
padding: 0.5em 3ch;
margin: 0;
}
p {
padding: 0.5em 0;
margin: 0;
}
p:first-child {
padding-top: 0.25em;
}
.orange, .blue, .green, blockquote {
h1, h2, h3, h4, h5, h6 {
margin: 0;
padding: 0.5em 0;
}
margin: 0.5em 0;
padding: 0.125em 0.5em 0 0.5em;
outline: 1px solid;
p {
padding: 0.5em 0;
margin: 0;
}
}
pre {
border: 1px solid;
padding: 0.5em;
}
table {
width: 100%;
border: 1px solid;
padding: 0em 0.5em;
th {
font-size: 0.75em;
padding: 0 1ch;
}
}
img {
width: 100%;
}
a {
opacity: 0.75;
}
a:hover {
opacity: 1;
}
}