final tweaks before deploy
This commit is contained in:
parent
550ce3dabc
commit
a9e4ec8973
6 changed files with 104 additions and 157 deletions
81
style.css
81
style.css
|
|
@ -17,12 +17,13 @@ h1 { @apply text-ctp-blue; }
|
|||
h2, h3, h4, h5, h6 { @apply text-ctp-lavender; }
|
||||
a:not(h1 a, h2 a, h3 a, h4 a, h5 a, h6 a) { @apply decoration-ctp-blue underline hover:no-underline; }
|
||||
|
||||
p { @apply text-base; }
|
||||
p { @apply text-lg my-6; }
|
||||
hr { @apply border-t border-ctp-surface1 my-6; }
|
||||
|
||||
ul, ol { @apply list-inside my-4 pl-2; }
|
||||
ol { @apply list-decimal; }
|
||||
ul { @apply list-disc; }
|
||||
li { @apply my-1; }
|
||||
ul ul, ul ol, ol ul, ol ol { @apply my-0 pl-6; }
|
||||
input[type="checkbox"] { @apply mr-2 align-middle cursor-default accent-ctp-blue; }
|
||||
|
||||
|
|
@ -31,75 +32,13 @@ table th, table td { @apply border border-ctp-surface1 px-4 py-2; }
|
|||
table th { @apply bg-ctp-surface0 font-semibold; }
|
||||
|
||||
blockquote { @apply border-l-4 border-ctp-surface1 pl-4 italic my-4; }
|
||||
code { @apply text-ctp-text rounded px-1; }
|
||||
code { @apply bg-ctp-base text-ctp-text rounded p-1; }
|
||||
pre { @apply bg-ctp-base text-ctp-text rounded p-4 overflow-x-auto; }
|
||||
details { @apply my-4 border border-ctp-surface1 rounded p-3; }
|
||||
details summary { @apply cursor-pointer font-semibold; }
|
||||
details[open] { @apply border-ctp-blue; }
|
||||
details[open] summary { @apply text-ctp-blue mb-3; }
|
||||
|
||||
/*pre code.hljs {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
}
|
||||
.hljs-comment {
|
||||
color: #697070;
|
||||
}
|
||||
.hljs-punctuation,
|
||||
.hljs-tag {
|
||||
color: #444a;
|
||||
}
|
||||
.hljs-tag .hljs-attr,
|
||||
.hljs-tag .hljs-name {
|
||||
color: #444;
|
||||
}
|
||||
.hljs-attribute,
|
||||
.hljs-doctag,
|
||||
.hljs-keyword,
|
||||
.hljs-meta .hljs-keyword,
|
||||
.hljs-name,
|
||||
.hljs-selector-tag {
|
||||
font-weight: 700;
|
||||
}
|
||||
.hljs-deletion,
|
||||
.hljs-number,
|
||||
.hljs-quote,
|
||||
.hljs-selector-class,
|
||||
.hljs-selector-id,
|
||||
.hljs-string,
|
||||
.hljs-template-tag,
|
||||
.hljs-type {
|
||||
color: #800;
|
||||
}
|
||||
.hljs-section,
|
||||
.hljs-title {
|
||||
color: #800;
|
||||
font-weight: 700;
|
||||
}
|
||||
.hljs-link,
|
||||
.hljs-operator,
|
||||
.hljs-regexp,
|
||||
.hljs-selector-attr,
|
||||
.hljs-selector-pseudo,
|
||||
.hljs-symbol,
|
||||
.hljs-template-variable,
|
||||
.hljs-variable {
|
||||
color: #ab5656;
|
||||
}
|
||||
.hljs-literal {
|
||||
color: #695;
|
||||
}
|
||||
.hljs-addition,
|
||||
.hljs-built_in,
|
||||
.hljs-bullet,
|
||||
.hljs-code {
|
||||
color: #397300;
|
||||
}
|
||||
.hljs-meta {
|
||||
color: #1f7199;
|
||||
}
|
||||
.hljs-meta .hljs-string {
|
||||
color: #38a;
|
||||
}
|
||||
.hljs-emphasis {
|
||||
font-style: italic;
|
||||
}
|
||||
.hljs-strong {
|
||||
font-weight: 700;
|
||||
}*/
|
||||
ol.homepage-posts li { @apply my-2 text-lg marker:content-['>_'] marker:font-extrabold marker:text-ctp-lavender; }
|
||||
ol.homepage-posts li a { @apply font-bold; }
|
||||
ol.homepage-posts li i { @apply text-ctp-subtext1; }
|
||||
Loading…
Add table
Add a link
Reference in a new issue