Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
121 lines (93 sloc)
1.95 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import 'nord-highlightjs/dist/nord.css'; | |
@tailwind base; | |
@tailwind components; | |
.btn { | |
@apply px-8 py-2 font-semibold text-white transition-all duration-200 bg-nord3; | |
} | |
.btn:hover, | |
.btn:focus { | |
@apply bg-nord12 text-nord0; | |
} | |
.btn--icon { | |
@apply px-4 fill-current; | |
} | |
.bg-black-alpha-50 { | |
background-color: rgba(0, 0, 0, 0.5); | |
} | |
.bg-black-alpha-75 { | |
background-color: rgba(0, 0, 0, 0.75); | |
} | |
img { | |
color: transparent; | |
} | |
span[data-pun] { | |
@apply border-b text-nord9 border-nord9 transition-all duration-200 whitespace-no-wrap; | |
box-shadow: inset 0 -1px 0 #81a1c1; | |
cursor: help; | |
} | |
span[data-pun]:hover { | |
@apply border-nord12 text-nord3 border-b-2; | |
box-shadow: inset 0 -1px 0 #d08770; | |
} | |
.tippy-box { | |
@apply rounded-none bg-nord0 text-nord6; | |
} | |
article p > code, | |
article li > code { | |
@apply text-nord2 bg-nord6; | |
box-shadow: 2px 0 0 #eceff4, -2px 0 0 #eceff4; | |
} | |
article h2 { | |
@apply my-4 font-serif text-2xl; | |
} | |
article h3 { | |
@apply my-2 font-serif text-xl; | |
} | |
article p { | |
@apply mb-4 text-justify; | |
} | |
article a:not(.thumb) { | |
@apply border-b text-nord9 border-nord9 transition-all duration-200; | |
box-shadow: inset 0 -1px 0 #81a1c1; | |
} | |
article a:not(.thumb):hover { | |
@apply border-nord12 text-nord3 border-b-2; | |
box-shadow: inset 0 -1px 0 #d08770; | |
} | |
article ul { | |
@apply mb-4 list-disc; | |
} | |
article ol { | |
@apply mb-4 list-decimal; | |
} | |
article blockquote { | |
@apply px-4 py-2 mb-4 mx-0 border-l-8 border-nord12 text-nord3 text-sm; | |
} | |
article blockquote p { | |
@apply m-0; | |
} | |
.hljs { | |
@apply p-4 mt-4 mb-4 text-xs; | |
} | |
.hljs + .hljs { | |
@apply border-t-4 border-nord2; | |
margin-top: -1rem; | |
} | |
@screen lg { | |
article h2 { | |
@apply text-3xl; | |
} | |
article h3 { | |
@apply text-2xl; | |
} | |
article p { | |
@apply text-lg; | |
} | |
article blockquote { | |
@apply text-base; | |
} | |
.hljs { | |
@apply text-base; | |
} | |
} | |
@tailwind utilities; |