Files
psu-schedule/public/privacy.css

129 lines
1.8 KiB
CSS

@font-face {
font-family: "Manrope";
font-weight: 400;
font-display: swap;
src: url("fonts/manrope-400.ttf") format("truetype");
}
@font-face {
font-family: "Manrope";
font-weight: 700;
font-display: swap;
src: url("fonts/manrope-700.ttf") format("truetype");
}
:root {
color-scheme: light;
--primary: #6750a4;
--surface: #fef7ff;
--on-surface: #1d1b20;
--on-surface-variant: #49454f;
--container: #f3edf7;
--outline-variant: #cac4d0;
}
@media (prefers-color-scheme: dark) {
:root {
color-scheme: dark;
--primary: #d0bcff;
--surface: #141218;
--on-surface: #e6e0e9;
--on-surface-variant: #cac4d0;
--container: #211f26;
--outline-variant: #49454f;
}
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: var(--surface);
color: var(--on-surface);
font: 400 1rem/1.6 "Manrope", system-ui, sans-serif;
}
main {
max-width: 44rem;
margin: 0 auto;
padding: 2.5rem 1rem 4rem;
}
header {
display: flex;
gap: 1rem;
align-items: center;
margin-bottom: 1.5rem;
}
header img {
flex: none;
border-radius: 14px;
}
h1 {
margin: 0;
font-size: clamp(1.5rem, 5vw, 2rem);
line-height: 1.2;
}
h2 {
margin: 0 0 0.5rem;
font-size: 1.15rem;
}
.meta {
margin: 0.25rem 0 0;
color: var(--on-surface-variant);
font-size: 0.9rem;
}
.lead {
font-size: 1.075rem;
}
section {
margin-top: 1rem;
padding: 1.25rem;
border-radius: 20px;
background: var(--container);
}
section p:last-child,
section ul:last-child {
margin-bottom: 0;
}
p,
ul {
margin: 0 0 0.75rem;
}
ul {
padding-left: 1.25rem;
}
dl {
margin: 0;
}
dt {
font-weight: 700;
}
dd {
margin: 0 0 0.75rem;
color: var(--on-surface-variant);
}
dd:last-child {
margin-bottom: 0;
}
a {
color: var(--primary);
overflow-wrap: anywhere;
}