-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.mjs
More file actions
63 lines (62 loc) · 1.67 KB
/
tailwind.config.mjs
File metadata and controls
63 lines (62 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import defaultTheme from "tailwindcss/defaultTheme";
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
typography: {
DEFAULT: {
css: {
blockquote: {
'font-style': 'normal',
},
'blockquote p::before': {
content: 'none'
},
'blockquote p::after': {
content: 'none'
},
':is(h1, h2, h3, h4, h5, h6)::before': {
content: '""',
display: 'block',
'padding-top':'4em',
'margin-top':'-4em'
},
'a[href^="#user-content-fn-"]': {
'padding-top':'100px',
'margin-top':'-100px'
},
'li[id^=user-content-fn]': {
'padding-top':'100px',
'margin-top':'-100px',
'margin-bottom': '0px'
}
}
}
},
fontFamily: {
lexend: ["Lexend", ...defaultTheme.fontFamily.sans],
},
backgroundImage: {
compsci: `url("/compsci-bg.svg")`,
},
animation: {
pan: "pan_keyframes 20s linear infinite",
slidein: "slidein_keyframes .5s ease-in-out",
},
keyframes: {
pan_keyframes: {
"0%": { "background-position": "0 0" },
"100%": { "background-position": "0 256px" },
},
slidein_keyframes: {
"0%": {
opacity: "0%",
translate: "0% 25%",
},
},
},
},
},
plugins: [require("@tailwindcss/typography")],
};