Skip to content

Commit 55927c8

Browse files
committed
large button fixes
1 parent 4040650 commit 55927c8

File tree

2 files changed

+27
-15
lines changed

2 files changed

+27
-15
lines changed

assets/styles/default-core.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,3 @@ button,
273273
color: var(--cust-black);
274274
background-color: var(--cust-white);
275275
}
276-
277-
/* custom large button */
278-
.large {
279-
--pico-form-element-spacing-vertical: 0.4375rem;
280-
--pico-form-element-spacing-horizontal: 1.25rem;
281-
font-size: 1.25rem;
282-
}

assets/styles/main.css

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,6 @@ section {
9999
padding-bottom: 1rem;
100100
}
101101

102-
.cta-buttons {
103-
margin-top: 1rem;
104-
margin-bottom: 1rem;
105-
display: flex;
106-
flex-direction: row;
107-
gap: 0.5rem;
108-
}
109-
110102
/*
111103
*
112104
* TYPOGRAPHY
@@ -211,3 +203,30 @@ section {
211203
.colorized-orange path {
212204
fill: var(--cust-orange);
213205
}
206+
207+
/* custom large button */
208+
.large {
209+
--pico-form-element-spacing-vertical: 0.4375rem;
210+
--pico-form-element-spacing-horizontal: 1.25rem;
211+
font-size: 1.25rem;
212+
}
213+
214+
.cta-buttons {
215+
margin-top: 1rem;
216+
margin-bottom: 1rem;
217+
display: flex;
218+
flex-direction: row;
219+
gap: 0.5rem;
220+
}
221+
222+
@media (max-width: 767px) {
223+
.cta-buttons {
224+
display: block;
225+
text-align: center;
226+
/* flex-direction: row; */
227+
/* gap: 0.5rem; */
228+
}
229+
.cta-buttons .large {
230+
margin: 0.25rem;
231+
}
232+
}

0 commit comments

Comments
 (0)