2018-05-07 06:59:33 +02:00
|
|
|
.markdown-preview {
|
2019-11-14 21:02:15 +01:00
|
|
|
> *:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2018-10-17 00:29:55 +02:00
|
|
|
// Headers
|
2018-05-11 22:58:30 +02:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2018-12-19 06:44:53 +01:00
|
|
|
font-size: inherit;
|
2019-11-07 20:39:22 +01:00
|
|
|
font-weight: var(--font-weight-bold);
|
2019-06-11 20:10:58 +02:00
|
|
|
margin-bottom: var(--spacing-medium);
|
|
|
|
padding-top: var(--spacing-medium);
|
2018-05-11 22:58:30 +02:00
|
|
|
}
|
2018-05-07 06:59:33 +02:00
|
|
|
|
2018-10-17 00:29:55 +02:00
|
|
|
// Paragraphs
|
2018-05-30 20:12:54 +02:00
|
|
|
p {
|
2018-12-19 06:44:53 +01:00
|
|
|
svg {
|
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
|
|
|
|
|
|
|
margin-left: 0.2rem;
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
}
|
2018-05-30 20:12:54 +02:00
|
|
|
}
|
2018-05-30 05:08:37 +02:00
|
|
|
|
2018-10-17 00:29:55 +02:00
|
|
|
// Strikethrough text
|
2018-05-30 20:12:54 +02:00
|
|
|
del {
|
|
|
|
}
|
2018-05-07 06:59:33 +02:00
|
|
|
|
2018-10-17 00:29:55 +02:00
|
|
|
// Tables
|
2018-05-30 20:12:54 +02:00
|
|
|
table {
|
2018-12-19 06:44:53 +01:00
|
|
|
margin-bottom: 1.2rem;
|
2019-06-11 20:10:58 +02:00
|
|
|
padding: var(--spacing-medium);
|
2019-08-06 22:04:55 +02:00
|
|
|
word-break: normal;
|
2018-10-17 00:29:55 +02:00
|
|
|
|
|
|
|
tr {
|
|
|
|
td,
|
|
|
|
th,
|
|
|
|
td:first-of-type,
|
|
|
|
th:first-of-type,
|
|
|
|
td:last-of-type,
|
|
|
|
th:last-of-type {
|
2019-06-11 20:10:58 +02:00
|
|
|
padding: var(--spacing-medium);
|
2018-10-17 00:29:55 +02:00
|
|
|
}
|
2018-05-30 20:12:54 +02:00
|
|
|
}
|
|
|
|
}
|
2018-05-07 06:59:33 +02:00
|
|
|
|
2018-10-17 00:29:55 +02:00
|
|
|
// Image
|
2018-07-27 02:24:00 +02:00
|
|
|
img {
|
2019-06-11 20:10:58 +02:00
|
|
|
margin-bottom: var(--spacing-medium);
|
|
|
|
padding-top: var(--spacing-medium);
|
2018-07-27 02:24:00 +02:00
|
|
|
}
|
|
|
|
|
2018-10-17 00:29:55 +02:00
|
|
|
// Horizontal Rule
|
2018-05-30 20:12:54 +02:00
|
|
|
hr {
|
2018-12-19 06:44:53 +01:00
|
|
|
margin-bottom: 2rem;
|
|
|
|
position: relative;
|
|
|
|
top: 1rem;
|
2018-05-30 20:12:54 +02:00
|
|
|
}
|
2018-05-07 06:59:33 +02:00
|
|
|
|
2019-10-12 22:50:25 +02:00
|
|
|
// Code blocks
|
2018-11-30 06:49:02 +01:00
|
|
|
pre {
|
|
|
|
white-space: normal;
|
2019-10-12 22:50:25 +02:00
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
code {
|
|
|
|
margin-bottom: var(--spacing-medium);
|
|
|
|
padding: var(--spacing-medium);
|
|
|
|
display: block;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
2018-11-30 06:49:02 +01:00
|
|
|
}
|
|
|
|
|
2019-10-12 22:50:25 +02:00
|
|
|
// Inline code
|
2018-05-30 20:12:54 +02:00
|
|
|
code {
|
2019-12-03 19:54:46 +01:00
|
|
|
background-color: var(--color-blockquote);
|
2019-10-12 22:50:25 +02:00
|
|
|
display: inline-block;
|
|
|
|
margin: var(--spacing-miniscule);
|
|
|
|
border-radius: 0.2rem;
|
2019-11-22 22:13:00 +01:00
|
|
|
font-size: var(--font-small);
|
2019-10-12 22:50:25 +02:00
|
|
|
padding: calc(var(--spacing-miniscule) - 4px) var(--spacing-miniscule);
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
2019-12-04 19:07:40 +01:00
|
|
|
a {
|
|
|
|
@extend .button--link;
|
|
|
|
}
|
|
|
|
|
2019-06-17 22:32:38 +02:00
|
|
|
a,
|
|
|
|
button {
|
2018-07-22 23:28:33 +02:00
|
|
|
display: inline-block;
|
2019-06-17 22:32:38 +02:00
|
|
|
|
|
|
|
.button__label {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
2018-07-22 23:28:33 +02:00
|
|
|
}
|
|
|
|
|
2019-03-24 02:59:09 +01:00
|
|
|
button {
|
|
|
|
white-space: normal;
|
|
|
|
text-align: left;
|
|
|
|
}
|
2019-06-09 08:57:51 +02:00
|
|
|
|
|
|
|
.preview-link {
|
2019-06-21 03:00:52 +02:00
|
|
|
padding: 0;
|
|
|
|
margin: 1rem 0;
|
2019-11-22 22:13:00 +01:00
|
|
|
background-color: var(--color-primary-alt);
|
|
|
|
border-left: 0.5rem solid var(--color-primary);
|
2019-06-09 08:57:51 +02:00
|
|
|
display: block;
|
|
|
|
align-items: center;
|
2019-06-21 03:00:52 +02:00
|
|
|
word-break: break-all;
|
2019-07-24 07:32:34 +02:00
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.claim-preview {
|
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media__subtitle {
|
|
|
|
display: block;
|
|
|
|
}
|
2019-06-09 08:57:51 +02:00
|
|
|
}
|
|
|
|
|
2019-06-21 03:00:52 +02:00
|
|
|
.preview-link__thumbnail {
|
|
|
|
width: 12rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.preview-link__description {
|
2019-07-24 07:32:34 +02:00
|
|
|
margin-top: var(--spacing-small);
|
2019-06-09 08:57:51 +02:00
|
|
|
}
|
2018-05-07 06:59:33 +02:00
|
|
|
}
|