Files
gapido-grpc-auth/docs/slides/styles.css

179 lines
2.6 KiB
CSS

:root {
color-scheme: dark;
--bg: #070b14;
--panel: #101827;
--text: #e6edf7;
--muted: #93a4bc;
--accent: #34d399;
--border: #223149;
}
:root.light {
color-scheme: light;
--bg: #f7fafc;
--panel: #ffffff;
--text: #172033;
--muted: #5f7088;
--accent: #0f766e;
--border: #d8e1ee;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: var(--bg);
color: var(--text);
}
.topbar,
.progress {
position: fixed;
left: 0;
right: 0;
z-index: 10;
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 24px;
color: var(--muted);
}
.topbar {
top: 0;
}
.progress {
bottom: 0;
}
.controls {
display: flex;
gap: 8px;
}
button {
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel);
color: var(--text);
padding: 8px 12px;
font-weight: 700;
cursor: pointer;
}
.deck {
min-height: 100vh;
display: grid;
place-items: center;
padding: 72px 5vw;
}
.slide {
display: none;
width: min(1120px, 100%);
min-height: 620px;
padding: 48px;
border: 1px solid var(--border);
border-radius: 12px;
background: var(--panel);
box-shadow: 0 24px 80px rgb(0 0 0 / 24%);
}
.slide.active {
display: grid;
align-content: center;
gap: 24px;
}
.split.active {
grid-template-columns: 0.9fr 1.1fr;
align-items: center;
}
.diagram.active {
align-content: start;
}
.eyebrow {
margin: 0;
color: var(--accent);
font-size: 14px;
font-weight: 800;
text-transform: uppercase;
}
h1,
h2 {
margin: 0;
letter-spacing: 0;
}
h1 {
max-width: 900px;
font-size: clamp(54px, 7vw, 92px);
line-height: 0.95;
}
h2 {
font-size: clamp(36px, 5vw, 62px);
line-height: 1;
}
.lede {
max-width: 820px;
margin: 0;
color: var(--muted);
font-size: 24px;
line-height: 1.45;
}
.tiles {
list-style: none;
margin: 0;
padding: 0;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
}
.tiles li {
min-height: 96px;
display: grid;
place-items: center;
padding: 18px;
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text);
background: color-mix(in srgb, var(--panel), var(--accent) 6%);
font-size: 20px;
font-weight: 800;
text-align: center;
}
img {
width: 100%;
max-height: 460px;
object-fit: contain;
border-radius: 8px;
background: #ffffff;
padding: 12px;
}
@media (max-width: 820px) {
.slide {
min-height: 620px;
padding: 28px;
}
.split.active,
.tiles {
grid-template-columns: 1fr;
}
}