-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.css
63 lines (61 loc) · 1.07 KB
/
tailwind.css
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
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
p {
margin-bottom: 1rem;
}
p > a {
text-decoration: underline;
}
p > a:hover {
text-decoration: none;
}
/* pink links (excludes the logo) */
a:not(.logo) {
position: relative;
}
a:not(.logo)::after {
content: '';
transform-origin: 0 0;
transform: scaleX(0);
position: absolute;
bottom: 0.01em;
left: 0;
right: 0;
height: .4em;
background: #F5B2A5;
z-index: -1;
opacity: 0.8;
transition: transform .3s;
}
a:not(.logo):hover::after {
transform: scaleX(1);
}
nav a:not(.logo)::after {
bottom: 0.22em;
}
/* blog */
article header h1,
article header h2 {
margin-bottom: 0 !important;
}
/* images in figures */
figure img {
margin-top: 0 !important;
margin-bottom: 0 !important;
}
}
@layer components {
/* background noise effect */
.noise {
z-index: 100;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
opacity: .05;
}
}