90 lines
1.7 KiB
CSS
90 lines
1.7 KiB
CSS
.onlyyes-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.85fr);
|
|
gap: 20px;
|
|
align-items: start;
|
|
}
|
|
|
|
.consent-card {
|
|
min-height: 28rem;
|
|
align-content: space-between;
|
|
}
|
|
|
|
.question-container {
|
|
max-width: 34rem;
|
|
padding-top: 8px;
|
|
}
|
|
|
|
.question-text {
|
|
display: block;
|
|
font-family: 'Fraunces', serif;
|
|
font-size: clamp(2.2rem, 5vw, 4.2rem);
|
|
line-height: 1.08;
|
|
letter-spacing: -0.04em;
|
|
}
|
|
|
|
.options-container {
|
|
position: relative;
|
|
min-height: 7.5rem;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.option-btn {
|
|
position: absolute;
|
|
min-width: 8rem;
|
|
min-height: 3rem;
|
|
padding: 0 18px;
|
|
border-radius: 999px;
|
|
border: 1px solid var(--rule-strong);
|
|
font-family: 'IBM Plex Mono', monospace;
|
|
font-size: 0.84rem;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
|
|
}
|
|
|
|
#yes {
|
|
left: 0;
|
|
top: 0;
|
|
background: var(--ink);
|
|
color: var(--paper);
|
|
border-color: var(--ink);
|
|
}
|
|
|
|
#yes:hover {
|
|
background: var(--accent);
|
|
border-color: var(--accent);
|
|
color: var(--accent-contrast);
|
|
}
|
|
|
|
#no {
|
|
left: 10rem;
|
|
top: 0;
|
|
background: transparent;
|
|
color: var(--ink-soft);
|
|
border-style: dashed;
|
|
}
|
|
|
|
.instruction-card {
|
|
gap: 14px;
|
|
}
|
|
|
|
.footer {
|
|
white-space: pre-line;
|
|
color: var(--ink-soft);
|
|
font-family: 'IBM Plex Mono', monospace;
|
|
font-size: 0.78rem;
|
|
line-height: 1.9;
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.onlyyes-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.options-container {
|
|
min-height: 10rem;
|
|
}
|
|
}
|