forked from webpack/webpack.js.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
68 lines (56 loc) · 1.23 KB
/
index.css
File metadata and controls
68 lines (56 loc) · 1.23 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
64
65
66
67
68
@reference "tailwindcss";
@import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600&family=Source+Sans+Pro:ital,wght@0,400;0,600;1,400&family=Source+Serif+Pro:wght@600&display=swap");
@import "./theme.css";
@import "./dark.css";
* {
box-sizing: inherit;
}
html {
@apply box-border;
}
body {
font:
400 1rem "Source Sans Pro",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Helvetica,
Arial,
sans-serif;
@apply text-blue-800;
}
.header-link {
@apply inline-block w-[22px] h-[22px] bg-no-repeat bg-center bg-contain;
background-image: url("../assets/link.svg");
}
[aria-hidden="true"]:hover .header-link {
@apply visible;
}
@layer base {
a,
button.as-link {
@apply text-brand-link no-underline;
@apply transition-colors duration-[250ms];
&.icon-link {
@apply inline-block text-[0.7em] ml-[16px] -rotate-45 text-[#909090];
&:hover {
@apply text-brand-link;
}
}
&:hover {
@apply text-brand-link-hover;
}
}
::selection {
@apply bg-[rgba(141,214,249,0.35)];
}
.language-diff {
.token.prefix.inserted,
.token.prefix.deleted {
user-select: none;
}
}
}
.screen-reader-only {
@apply sr-only;
}