philomena/assets/css/views/markdown.css

74 lines
1.4 KiB
CSS
Raw Permalink Normal View History

2023-11-23 17:07:49 +01:00
.textile-syntax-reference {
display: flex;
2024-05-20 21:25:43 +02:00
flex-flow: row wrap;
2023-11-23 17:07:49 +01:00
line-height: var(--block-header-height);
vertical-align: center;
margin-bottom: var(--padding-small);
}
.textile-syntax-reference > span,
.textile-syntax-reference > button {
margin-left: var(--padding-normal);
}
2024-05-20 22:30:41 +02:00
.spoiler,
.spoiler a {
2023-11-23 17:07:49 +01:00
color: var(--spoiler-color);
2024-05-20 22:30:41 +02:00
background: var(--spoiler-color);
2023-11-23 17:07:49 +01:00
}
2024-05-20 22:30:41 +02:00
.spoiler-revealed,
.spoiler:hover {
2023-11-23 17:07:49 +01:00
color: var(--text-color);
background: var(--spoiler-revealed-color);
}
2024-05-20 22:30:41 +02:00
.spoiler-revealed a,
.spoiler:hover a {
2023-11-23 17:07:49 +01:00
color: var(--link-color);
}
2024-05-07 19:33:56 +02:00
.walloftext {
line-height: var(--readable-line-height);
}
2024-07-02 20:09:30 +02:00
pre,
code {
font-family: var(--font-family-monospace);
background: var(--background-color);
border: 1px solid var(--primary-border-color);
border-radius: var(--border-radius-inner);
padding: calc(var(--padding-tiny) / 2) var(--padding-tiny);
}
pre {
padding: var(--padding-small);
line-height: var(--readable-line-height);
margin: var(--padding-small);
margin-right: 0;
}
pre code {
border: 0;
background: 0;
padding: 0;
}
blockquote {
position: relative;
margin: 0;
padding: var(--padding-normal);
}
blockquote:before {
content: "";
display: block;
position: absolute;
background: var(--secondary-color);
border-radius: var(--border-radius-inner);
width: var(--padding-tiny);
height: 100%;
left: 0;
top: 0;
}