forked from recodehive/recode-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDailyCodingTip.module.css
More file actions
102 lines (89 loc) · 1.7 KB
/
Copy pathDailyCodingTip.module.css
File metadata and controls
102 lines (89 loc) · 1.7 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
.container {
background: var(--ifm-card-background-color, #ffffff);
border: 1px solid var(--ifm-color-emphasis-200, #e5e7eb);
border-radius: 12px;
padding: 24px;
max-width: 600px;
margin: 24px auto;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
transition: box-shadow 0.2s ease;
}
.container:hover {
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.header {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 16px;
}
.headerIcon {
font-size: 20px;
}
.headerTitle {
font-size: 18px;
font-weight: 700;
margin: 0;
color: var(--ifm-heading-color);
}
.tipCard {
background: var(--ifm-color-emphasis-100, #f9fafb);
border-radius: 8px;
padding: 16px;
margin-bottom: 16px;
}
.fadeIn {
animation: fadeInUp 0.3s ease forwards;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.categoryBadge {
display: inline-block;
font-size: 11px;
font-weight: 600;
padding: 3px 10px;
border-radius: 999px;
border: 1px solid;
margin-bottom: 10px;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.tipText {
font-size: 15px;
line-height: 1.6;
color: var(--ifm-font-color-base);
margin: 0;
}
.refreshButton {
background: var(--ifm-color-primary, #2563eb);
color: #ffffff;
border: none;
border-radius: 8px;
padding: 10px 20px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: opacity 0.2s ease, transform 0.1s ease;
width: 100%;
}
.refreshButton:hover {
opacity: 0.9;
transform: translateY(-1px);
}
.refreshButton:active {
transform: translateY(0);
}
@media (max-width: 768px) {
.container {
margin: 16px;
padding: 16px;
}
}