This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/assets/less/components/post.less

68 lines
1,001 B
Plaintext
Raw Normal View History

2017-11-09 22:44:30 +00:00
// pre {
// .db;
// .overflow-auto;
// word-break: normal;
// word-wrap: no-wrap;
// }
2017-10-08 08:26:41 +00:00
2017-11-09 22:44:30 +00:00
// pre[class*="language-"] { .bn; .br0 }
2017-10-08 08:26:41 +00:00
2017-11-09 22:44:30 +00:00
// pre code,
// p code {
// font-size: .8125rem;
// }
2017-11-01 21:06:56 +00:00
pre code,
pre code.hljs,
.hljs {
2017-11-09 22:44:30 +00:00
@apply .p-4;
@apply .text-sm;
@apply .border-l-4;
@apply .border-grey-dark;
@apply .block;
@apply .bg-grey-lighter;
@apply .overflow-x-scroll;
2017-11-01 21:06:56 +00:00
}
2017-11-01 21:16:32 +00:00
p,
li {
code {
2017-11-09 22:44:30 +00:00
@apply .bg-grey-lighter;
2017-11-01 21:16:32 +00:00
padding: 1px 3px;
}
2017-11-01 21:06:56 +00:00
}
2017-11-09 22:44:30 +00:00
// pre code {
// .pre;
// word-break: normal;
// }
2017-10-08 08:26:41 +00:00
2017-11-09 22:44:30 +00:00
// pre code .number {
// .h-auto;
// .mr0;
// .pa0;
// background-color: inherit;
// font-size: inherit;
// min-width: auto;
// }
2017-10-08 08:26:41 +00:00
2017-11-09 22:44:30 +00:00
// code.hljs {
// .pa0;
// background-color: inherit;
// }
2017-10-08 08:26:41 +00:00
2017-11-09 22:44:30 +00:00
// code[data-gist-id] {
// .pa0;
// background: transparent;
// }
2017-11-01 21:15:29 +00:00
2017-11-09 22:44:30 +00:00
.note {
@apply .bg-blue-lighter;
@apply .p-4;
@apply .border-l-4;
@apply .border-blue;
2017-11-01 21:15:29 +00:00
}
2017-11-09 22:44:30 +00:00
.note p:last-child { @apply .mb-0; }