forked from Finalgoal231/finalgoal-svelte-ecommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.css
170 lines (133 loc) · 2.4 KB
/
app.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
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
/* Write your global styles here, in PostCSS syntax */
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
body {
@apply text-zinc-800;
}
.prose {
@apply text-zinc-800 text-justify;
}
.prose p {
@apply text-sm text-zinc-500 font-normal;
}
.prose ul {
@apply text-zinc-500 flex flex-col gap-2 my-5;
}
.prose ol {
@apply text-zinc-500 flex flex-col gap-2 my-5;
}
.prose li {
@apply my-0;
}
.prose a {
@apply text-sm text-indigo-500 font-semibold;
}
p {
@apply text-sm text-zinc-500 font-normal;
}
@media only screen and (min-width: 640px) {
.prose h1 {
@apply text-3xl font-bold my-5;
}
.prose h2 {
@apply text-2xl font-bold my-5;
}
.prose h3 {
@apply text-xl font-bold my-5;
}
.prose h4 {
@apply text-lg font-bold my-5;
}
.prose h5 {
@apply text-base font-semibold my-2;
}
.prose h6 {
@apply text-sm font-semibold my-2;
}
h1 {
@apply text-3xl font-bold;
}
h2 {
@apply text-2xl font-bold;
}
h3 {
@apply text-xl font-bold;
}
h4 {
@apply text-lg font-bold;
}
h5 {
@apply text-base font-semibold;
}
h6 {
@apply text-sm font-semibold;
}
}
@media only screen and (max-width: 640px) {
.prose h1 {
@apply text-2xl font-bold my-5;
}
.prose h2 {
@apply text-xl font-bold my-5;
}
.prose h3 {
@apply text-lg font-bold my-5;
}
.prose h4 {
@apply text-base font-bold my-5;
}
.prose h5 {
@apply text-sm font-semibold my-2;
}
.prose h6 {
@apply text-xs font-semibold my-2;
}
h1 {
@apply text-2xl font-bold;
}
h2 {
@apply text-xl font-bold;
}
h3 {
@apply text-lg font-bold;
}
h4 {
@apply text-base font-bold;
}
h5 {
@apply text-sm font-semibold;
}
h6 {
@apply text-xs font-semibold;
}
}
}
@layer components {
.wiggle {
animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
transform: translate3d(0, 0, 0);
backface-visibility: hidden;
perspective: 1000px;
}
@keyframes shake {
10%,
90% {
transform: translate3d(-1px, 0, 0);
}
20%,
80% {
transform: translate3d(2px, 0, 0);
}
30%,
50%,
70% {
transform: translate3d(-4px, 0, 0);
}
40%,
60% {
transform: translate3d(4px, 0, 0);
}
}
}