| 1 | .slidev-layout { |
| 2 | @apply px-14 py-10 text-[1.1rem] h-full; |
| 3 | |
| 4 | pre, |
| 5 | code { |
| 6 | @apply select-text; |
| 7 | } |
| 8 | |
| 9 | code { |
| 10 | @apply font-mono; |
| 11 | } |
| 12 | |
| 13 | h1 { |
| 14 | @apply text-4xl mb-4; |
| 15 | } |
| 16 | |
| 17 | h2 { |
| 18 | @apply text-3xl; |
| 19 | } |
| 20 | |
| 21 | h3 { |
| 22 | @apply text-2xl; |
| 23 | } |
| 24 | |
| 25 | h4 { |
| 26 | @apply text-xl; |
| 27 | } |
| 28 | |
| 29 | h5 { |
| 30 | @apply text-base; |
| 31 | } |
| 32 | |
| 33 | h6 { |
| 34 | @apply text-sm pt-1 uppercase tracking-widest font-500; |
| 35 | } |
| 36 | |
| 37 | :where(&) h6 { |
| 38 | @apply opacity-40; |
| 39 | } |
| 40 | |
| 41 | p { |
| 42 | @apply my-4 leading-6; |
| 43 | } |
| 44 | |
| 45 | ul { |
| 46 | list-style: square; |
| 47 | } |
| 48 | |
| 49 | ol { |
| 50 | list-style: decimal; |
| 51 | } |
| 52 | |
| 53 | li { |
| 54 | @apply leading-1.8em; |
| 55 | } |
| 56 | |
| 57 | blockquote { |
| 58 | background: var(--slidev-code-background); |
| 59 | color: var(--slidev-code-foreground); |
| 60 | @apply text-sm px-2 py-1 border-primary border-l rounded; |
| 61 | } |
| 62 | |
| 63 | blockquote > * { |
| 64 | @apply my-0; |
| 65 | } |
| 66 | |
| 67 | table { |
| 68 | @apply w-full; |
| 69 | } |
| 70 | |
| 71 | tr { |
| 72 | @apply border-b border-main; |
| 73 | } |
| 74 | |
| 75 | th { |
| 76 | @apply text-left font-400; |
| 77 | } |
| 78 | |
| 79 | a { |
| 80 | @apply border-current border-b border-dashed hover:text-primary hover:border-solid; |
| 81 | } |
| 82 | |
| 83 | td, |
| 84 | th { |
| 85 | @apply p-2 py-3; |
| 86 | } |
| 87 | |
| 88 | b, |
| 89 | strong { |
| 90 | @apply font-600; |
| 91 | } |
| 92 | |
| 93 | kbd { |
| 94 | @apply border border-main border-b-2 rounded; |
| 95 | @apply bg-gray-400 bg-opacity-5 py-0.5 px-1 text-xs font-mono; |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | .slidev-layout, |
| 100 | [dir='ltr'], |
| 101 | .slidev-layout [dir='ltr'] { |
| 102 | h1 { |
| 103 | @apply -ml-[0.05em] mr-0; |
| 104 | } |
| 105 | |
| 106 | h6 { |
| 107 | @apply -ml-[0.05em] mr-0; |
| 108 | } |
| 109 | |
| 110 | li { |
| 111 | @apply ml-1.1em pl-0.2em mr-0 pr-0; |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | [dir='rtl'], |
| 116 | .slidev-layout [dir='rtl'] { |
| 117 | h1 { |
| 118 | @apply -mr-[0.05em] ml-0; |
| 119 | } |
| 120 | |
| 121 | h6 { |
| 122 | @apply -mr-[0.05em] ml-0; |
| 123 | } |
| 124 | |
| 125 | li { |
| 126 | @apply mr-1.1em pr-0.2em ml-0 pl-0; |
| 127 | } |
| 128 | } |
| 129 |