-
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathmain.css
More file actions
105 lines (92 loc) · 1.63 KB
/
Copy pathmain.css
File metadata and controls
105 lines (92 loc) · 1.63 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
@import 'base.css';
/*! purgecss start ignore */
@import 'docsearch.css';
@import 'prism.css';
@import 'progress-bar.css';
/*! purgecss end ignore */
@import 'tailwindcss/components';
@import 'utilities.css';
/*Custom CSS*/
h1,
h2,
h3,
h4,
h5,
h6,
code,
strong,
prose {
@apply text-gray-900 dark:text-white;
}
p {
@apply text-gray-500 dark:text-gray-300;
}
p a,
.prose a {
@apply text-blue-500 no-underline hover:underline dark:text-blue-300;
}
.prose p code,
li code,
td code {
@apply bg-gray-200 text-gray-700 dark:bg-gray-600 dark:text-white;
}
ol a {
@apply hover:text-blue-500 dark:hover:text-blue-400;
}
hr {
@apply border-gray-300 dark:border-gray-700;
}
thead tr th {
@apply bg-gray-200 text-gray-700 dark:bg-gray-600 dark:text-white;
}
.prose {
@apply text-gray-500 dark:text-gray-300;
}
.prose strong {
font-weight: 700;
}
/* Heart */
.heart {
position: relative;
width: 10px;
height: 10px;
background-color: red;
transform: rotate(45deg) scale(1);
border-radius: 0 0 2px 0;
animation: pumpHeart 1500ms ease-in-out infinite;
}
.heart::before,
.heart::after {
content: '';
position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
background-color: red;
}
.heart::before {
transform: translateY(-50%);
}
.heart::after {
transform: translateX(-50%);
}
@keyframes pumpHeart {
0% {
transform: rotate(45deg) scale(1);
}
50% {
transform: rotate(45deg) scale(1);
}
60% {
transform: rotate(45deg) scale(1.2);
}
80% {
transform: rotate(45deg) scale(0.95);
}
90% {
transform: rotate(45deg) scale(1);
}
100% {
transform: rotate(45deg) scale(1);
}
}