Skip to content

Commit 4ead081

Browse files
committed
css changes last min
1 parent 3094fc8 commit 4ead081

File tree

4 files changed

+326
-125
lines changed

4 files changed

+326
-125
lines changed

site/app/styles/sigma-dev-8020.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ figure {
10341034

10351035
.g-section-padding-medium {
10361036
padding-top: 5rem;
1037-
padding-bottom: 5rem;
1037+
/* padding-bottom: 5rem; */
10381038
}
10391039

10401040
.g-section-padding-small {

site/app/views/archive/index.html

Lines changed: 82 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -97,49 +97,84 @@
9797
display: none;
9898
}
9999

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 */
101109
#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;
106113
}
107114

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+
}
113143
}
114144

115145
/* Card styling updates */
116146
.codelab-card {
147+
background-color: #FFFFFF !important;
117148
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;
120155
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;
125163
}
126164

127165
/* Make card title a clickable link */
128166
.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;
129173
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;
139174
}
140175

141176
.codelab-card:hover .description {
142-
opacity: 0.7 !important;
177+
color: #2563EB !important;
143178
}
144179

145180
/* Hide the old Start button */
@@ -150,14 +185,20 @@
150185
/* Category bar at bottom */
151186
.card-footer {
152187
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;
154192
}
155193

156194
.card-footer .category-icon {
157195
display: none !important;
158196
}
159197

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,
161202
.administration-bg,
162203
.aiapps-bg,
163204
.dataapps-bg,
@@ -170,17 +211,22 @@
170211
.tables-bg,
171212
.templates-bg,
172213
.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;
175217
text-align: center !important;
176218
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;
179221
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;
182226
margin: 0 !important;
183-
display: block !important;
227+
color: #FFFFFF !important;
228+
border: none !important;
229+
box-shadow: none !important;
184230
cursor: pointer !important;
185231
}
186232

@@ -204,7 +250,7 @@
204250
.buttons-wrapper a.button-secondary:visited,
205251
.section-hero a.button-secondary,
206252
a.button-secondary.w-button {
207-
background-color: transparent !important;
253+
background-color: #d4ff00 !important;
208254
background-image: none !important;
209255
border: 1px solid #000 !important;
210256
color: #000 !important;

0 commit comments

Comments
 (0)