-
Notifications
You must be signed in to change notification settings - Fork 0
/
current.css
109 lines (95 loc) · 1.91 KB
/
current.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
/* Reset some default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
line-height: 1.6;
color: #333;
background-color: #f4f4f4;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
}
/* Header Styling */
header {
background: #1a1a1a;
color: #fff;
padding: 20px 10px;
text-align: center;
position: sticky;
top: 0;
z-index: 1000;
}
header h1 {
font-size: 2rem;
letter-spacing: 1.5px;
}
/* Main Content */
main {
flex: 1;
padding: 20px;
max-width: 1200px;
margin: 20px auto;
}
/* Section Headings */
section h2 {
font-size: 1.8rem;
margin-bottom: 15px;
color: #008080;
text-align: center;
}
/* Trend Container */
.trend-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
padding: 10px;
}
/* Individual Trend Cards */
.trend-container div {
background: #fff;
border: 1px solid #ddd;
border-radius: 10px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
padding: 20px;
text-align: center;
transition: transform 0.3s, box-shadow 0.3s;
}
.trend-container div:hover {
transform: translateY(-5px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.trend-container h3 {
font-size: 1.5rem;
margin-bottom: 10px;
color: #ff5733;
}
.trend-container p {
font-size: 1rem;
color: #555;
}
/* Footer */
footer {
background: #1a1a1a;
color: #fff;
text-align: center;
padding: 10px 0;
margin-top: auto;
}
/* Responsive Design */
@media (max-width: 768px) {
header h1 {
font-size: 1.5rem;
}
section h2 {
font-size: 1.5rem;
}
.trend-container {
grid-template-columns: 1fr;
}
}