-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.module.css
68 lines (63 loc) · 1.51 KB
/
index.module.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
a.cta {
display: inline-block;
/* background: linear-gradient(to bottom, #f5a0e7, #ffa6f1); */
border: 2px solid #8e0000;
text-decoration: none;
border-radius: 9999px;
color: #f24e4e;
padding: 0.75rem 1.5rem;
margin-top: 0.5rem;
text-shadow: 0 1px 1px #00387838;
box-shadow: 0 1px 2px #00295738;
transition: all 0.2s ease;
-webkit-user-drag: none;
user-select: none;
-webkit-tap-highlight-color: transparent;
}
a.cta span {
display: inline-block;
transition: all 0.2s ease;
}
a.cta:hover span {
transform: translateX(3px);
}
a.cta:hover {
box-shadow: 0 5px 30px -10px #f5a0e7ab;
filter: brightness(1.05);
}
a.cta:active {
box-shadow: 0 1px 3px #00295738;
filter: brightness(0.95);
}
a.cta:active span {
transform: translateX(5px);
}
a.cta:focus-visible {
outline: 2px solid hsl(var(--nextra-primary-hue) 100% 77%);
outline-offset: 2px;
}
a.cta:focus-visible span {
transform: translateX(3px);
}
.halfhalf {
display: flex;
align-items: center;
}
.halfhalf > * {
/* Style for the items to take half width on larger screens */
flex: 1;
gap: 1rem;
}
.halfhalf p{
align-items: center;
}
/* Media query for smaller screens (phones) */
@media (max-width: 767px) {
.halfhalf {
flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}
.halfhalf > * {
flex-basis: 100%; /* Take full width on smaller screens */
margin-bottom: 1rem;
}
}