-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathresponsive.css
More file actions
112 lines (90 loc) · 1.86 KB
/
Copy pathresponsive.css
File metadata and controls
112 lines (90 loc) · 1.86 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
103
104
105
106
107
108
109
110
111
112
/* ==========================================================================
GREEN KARMA — RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
========================================================================== */
/* Tablet Breakpoint (<= 1024px) */
@media (max-width: 1024px) {
:root {
--container-max: 960px;
}
.grid-cols-4 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hero-grid {
grid-template-columns: 1fr !important;
gap: 2.5rem !important;
}
.hero-visual {
order: -1;
}
}
/* Mobile Breakpoint (<= 768px) */
@media (max-width: 768px) {
:root {
--nav-height: 64px;
}
body {
padding-bottom: var(--mobile-nav-height);
}
.mobile-bottom-nav {
display: block;
}
.desktop-only-nav {
display: none !important;
}
.grid-cols-2,
.grid-cols-3,
.grid-cols-4 {
grid-template-columns: 1fr;
gap: 1rem;
}
.app-container {
padding: 0 1rem;
}
.main-content {
padding-top: calc(var(--nav-height) + 1rem);
padding-bottom: 5rem;
}
.stepper-header::before {
display: none;
}
.stepper-header {
overflow-x: auto;
padding-bottom: 0.5rem;
gap: 1rem;
justify-content: flex-start;
}
.step-label {
display: none;
}
.modal-content {
padding: 1.5rem;
border-radius: var(--radius-lg);
}
.toast-container {
left: 1rem;
right: 1rem;
bottom: calc(var(--mobile-nav-height) + 1rem);
}
.toast {
min-width: unset;
width: 100%;
}
/* Hide decorative floating cards on small screens */
.floating-stat-card {
display: none;
}
.hero-buttons {
flex-direction: column;
width: 100%;
}
.hero-buttons .btn {
width: 100%;
}
.points-podium {
flex-direction: column !important;
align-items: stretch !important;
}
}