-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsrc.css
More file actions
68 lines (67 loc) · 1.47 KB
/
src.css
File metadata and controls
68 lines (67 loc) · 1.47 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
@tailwind base;
@tailwind components;
@tailwind utilities;
h1 {
@apply text-pink-500 font-bold text-7xl leading-loose drop-shadow-lg;
}
h2 {
@apply text-center text-3xl font-bold text-pink-500 space-y-80 leading-loose drop-shadow-lg;
}
a {
@apply text-green-400 hover:underline hover:text-green-500 hover:bg-green-100 dark:hover:bg-green-900;
}
input {
@apply text-black;
}
input[type="checkbox"] {
display: none;
}
label {
@apply m-2 p-2 border-2 border-green-500;
display: block;
position: relative;
cursor: pointer;
}
label:before {
background-color: white;
color: white;
content: " ";
display: block;
border-radius: 50%;
border: 1px solid grey;
position: absolute;
top: -1rem;
left: -1rem;
width: 1.75rem;
text-align: center;
/* line-height: 28px; */
transition-duration: 0.2s;
transform: scale(0);
}
label img {
height: 8rem;
width: 8rem;
transition-duration: 0.1s;
transform-origin: 50% 50%;
}
:checked + label {
@apply border-pink-500;
}
:checked + label:before {
content: "✓";
background-color: green;
transform: scale(1);
align-self: center;
}
:checked + label img {
transform: scale(0.9);
z-index: -1;
}
td {
@apply hover:bg-pink-500;
width:14.29%;
text-align: center;
}
button,input {
@apply mt-4 mb-4 p-2 text-xl text-center text-green-500 font-bold border-4 border-pink-500 rounded-md leading-loose hover:bg-pink-500 dark:bg-black;
}