oliverdavies.uk/assets/css/components.pcss

62 lines
819 B
Plaintext
Raw Normal View History

@layer components {
2021-06-30 07:00:00 +00:00
.link {
2021-06-30 07:00:00 +00:00
@apply text-blue-800 dark:text-blue-400;
2021-06-30 07:00:00 +00:00
@apply text-decoration-blue-800 dark:text-decoration-blue-400;
2021-06-30 07:00:00 +00:00
text-decoration-line: underline;
text-decoration-thickness: 1px;
text-underline-offset: 0.1em;
}
.markdown {
2021-06-30 07:00:00 +00:00
> * + * {
@apply mt-4;
}
> *:first-child {
@apply mt-0;
}
h2 + * {
@apply mt-2;
}
h2 {
@apply mt-6;
}
2021-06-30 07:00:00 +00:00
blockquote {
@apply my-8;
}
ul {
@apply pl-6 list-disc;
}
li {
@apply mt-0;
}
2021-06-30 07:00:00 +00:00
a {
@apply link;
}
2021-06-30 07:00:00 +00:00
code {
@apply inline-block;
}
pre {
@apply my-8;
}
2021-06-30 07:00:00 +00:00
.media--type-image,
.speakerdeck-embed-wrapper,
.video-full {
2021-06-30 07:00:00 +00:00
@apply my-8;
}
}
.visually-hidden {
@apply sr-only;
}
}