|
97 | 97 | display: none; |
98 | 98 | } |
99 | 99 |
|
100 | | - /* Card grid layout */ |
| 100 | + /* Header section - gradient background */ |
| 101 | + .section-hero { |
| 102 | + background: linear-gradient(to bottom, rgba(243, 234, 252, 0.5), #FFFFFF) !important; |
| 103 | + border-bottom: 1px solid #E5E7EB !important; |
| 104 | + padding-top: 6rem !important; |
| 105 | + padding-bottom: 2rem !important; |
| 106 | + } |
| 107 | + |
| 108 | + /* Responsive Grid System */ |
101 | 109 | #cards { |
102 | | - display: flex !important; |
103 | | - flex-wrap: wrap !important; |
104 | | - gap: 24px !important; |
105 | | - justify-content: flex-start !important; |
| 110 | + display: grid !important; |
| 111 | + grid-template-columns: repeat(1, minmax(0, 1fr)) !important; |
| 112 | + gap: 1rem !important; |
106 | 113 | } |
107 | 114 |
|
108 | | - /* Header section - light background with grid pattern */ |
109 | | - .section-hero { |
110 | | - background-color: #FFFFFF !important; |
111 | | - background-image: url('https://cdn.prod.website-files.com/666bbba4ff7240a20f4ccccf/685106838d461923ec10fc64_0ae8ba725281d3ce0757318ef80f6942_grid-fade.svg') !important; |
112 | | - border-bottom: 1px solid #E5E7EB !important; |
| 115 | + @media (min-width: 640px) { |
| 116 | + #cards { |
| 117 | + grid-template-columns: repeat(2, minmax(0, 1fr)) !important; |
| 118 | + } |
| 119 | + } |
| 120 | + |
| 121 | + @media (min-width: 768px) { |
| 122 | + #cards { |
| 123 | + grid-template-columns: repeat(3, minmax(0, 1fr)) !important; |
| 124 | + } |
| 125 | + } |
| 126 | + |
| 127 | + @media (min-width: 1024px) { |
| 128 | + #cards { |
| 129 | + grid-template-columns: repeat(4, minmax(0, 1fr)) !important; |
| 130 | + } |
| 131 | + } |
| 132 | + |
| 133 | + @media (min-width: 1280px) { |
| 134 | + #cards { |
| 135 | + grid-template-columns: repeat(5, minmax(0, 1fr)) !important; |
| 136 | + } |
| 137 | + } |
| 138 | + |
| 139 | + @media (min-width: 1536px) { |
| 140 | + #cards { |
| 141 | + grid-template-columns: repeat(6, minmax(0, 1fr)) !important; |
| 142 | + } |
113 | 143 | } |
114 | 144 |
|
115 | 145 | /* Card styling updates */ |
116 | 146 | .codelab-card { |
| 147 | + background-color: #FFFFFF !important; |
117 | 148 | border-radius: 6px !important; |
118 | | - border: 1px solid #4D4344 !important; |
119 | | - /* display: flex !important; */ |
| 149 | + border: 1px solid #D1D5DB !important; |
| 150 | + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important; |
| 151 | + transition: all 0.2s ease !important; |
| 152 | + overflow: hidden !important; |
| 153 | + padding: 0 !important; |
| 154 | + display: flex !important; |
120 | 155 | flex-direction: column !important; |
121 | | - /* height: 200px !important; |
122 | | - width: 300px !important; */ |
123 | | - max-width: 300px !important; |
124 | | - flex: 0 0 300px !important; |
| 156 | + cursor: pointer !important; |
| 157 | + } |
| 158 | + |
| 159 | + .codelab-card:hover { |
| 160 | + transform: translateY(-2px) !important; |
| 161 | + box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; |
| 162 | + border-color: #2563EB !important; |
125 | 163 | } |
126 | 164 |
|
127 | 165 | /* Make card title a clickable link */ |
128 | 166 | .codelab-card .description { |
| 167 | + color: #374151 !important; |
| 168 | + font-size: 1rem !important; |
| 169 | + line-height: 1.25rem !important; |
| 170 | + padding: 1rem 1rem 0.5rem 1rem !important; |
| 171 | + transition: color 0.2s ease !important; |
| 172 | + min-height: 3.5rem !important; |
129 | 173 | cursor: pointer !important; |
130 | | - transition: opacity 0.2s ease !important; |
131 | | - padding: 16px 16px 12px 16px !important; |
132 | | - text-align: left !important; |
133 | | - line-height: 1.3 !important; |
134 | | - font-size: 15px !important; |
135 | | - overflow: hidden !important; |
136 | | - display: -webkit-box !important; |
137 | | - -webkit-line-clamp: 4 !important; |
138 | | - -webkit-box-orient: vertical !important; |
139 | 174 | } |
140 | 175 |
|
141 | 176 | .codelab-card:hover .description { |
142 | | - opacity: 0.7 !important; |
| 177 | + color: #2563EB !important; |
143 | 178 | } |
144 | 179 |
|
145 | 180 | /* Hide the old Start button */ |
|
150 | 185 | /* Category bar at bottom */ |
151 | 186 | .card-footer { |
152 | 187 | margin-top: auto !important; |
153 | | - padding: 0 !important; |
| 188 | + padding: 1rem !important; |
| 189 | + display: flex !important; |
| 190 | + align-items: flex-start !important; |
| 191 | + justify-content: flex-start !important; |
154 | 192 | } |
155 | 193 |
|
156 | 194 | .card-footer .category-icon { |
157 | 195 | display: none !important; |
158 | 196 | } |
159 | 197 |
|
160 | | - /* Category bars with proper padding */ |
| 198 | + /* Category pills with proper styling */ |
| 199 | + .card-footer .category-bar, |
| 200 | + .codelab-card .card-footer .category-bar, |
| 201 | + .category-bar, |
161 | 202 | .administration-bg, |
162 | 203 | .aiapps-bg, |
163 | 204 | .dataapps-bg, |
|
170 | 211 | .tables-bg, |
171 | 212 | .templates-bg, |
172 | 213 | .use-cases-bg { |
173 | | - width: 100% !important; |
174 | | - padding: 1px 1px !important; |
| 214 | + display: inline-block !important; |
| 215 | + width: auto !important; |
| 216 | + padding: 0.25rem 0.75rem !important; |
175 | 217 | text-align: center !important; |
176 | 218 | font-family: 'Lato', sans-serif !important; |
177 | | - font-weight: 700 !important; |
178 | | - font-size: 13px !important; |
| 219 | + font-weight: 600 !important; |
| 220 | + font-size: 0.75rem !important; |
179 | 221 | text-transform: uppercase !important; |
180 | | - letter-spacing: 0.5px !important; |
181 | | - border-radius: 0 !important; |
| 222 | + letter-spacing: 0.025em !important; |
| 223 | + border-radius: 9999px !important; |
| 224 | + -webkit-border-radius: 9999px !important; |
| 225 | + -moz-border-radius: 9999px !important; |
182 | 226 | margin: 0 !important; |
183 | | - display: block !important; |
| 227 | + color: #FFFFFF !important; |
| 228 | + border: none !important; |
| 229 | + box-shadow: none !important; |
184 | 230 | cursor: pointer !important; |
185 | 231 | } |
186 | 232 |
|
|
204 | 250 | .buttons-wrapper a.button-secondary:visited, |
205 | 251 | .section-hero a.button-secondary, |
206 | 252 | a.button-secondary.w-button { |
207 | | - background-color: transparent !important; |
| 253 | + background-color: #d4ff00 !important; |
208 | 254 | background-image: none !important; |
209 | 255 | border: 1px solid #000 !important; |
210 | 256 | color: #000 !important; |
|
0 commit comments