barrettruth.com/public/styles/index.css
2026-01-12 17:57:14 -05:00

50 lines
817 B
CSS

.container {
width: 100%;
max-width: 55%;
margin: 0 auto;
padding: 0 clamp(20px, 5vw, 60px);
}
header {
padding: clamp(80px, 15vw, 150px) 0 clamp(50px, 10vw, 80px) 0;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 20px;
}
h1,
.delta {
font-size: clamp(1.5rem, 8vw, 4rem);
font-weight: 300;
}
section {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: clamp(20px, 3vw, 40px);
}
h2 {
font-weight: 300;
font-style: italic;
font-size: clamp(1.25rem, 4vw, 2rem);
margin-bottom: clamp(15px, 3vw, 25px);
}
ul {
list-style: none;
padding: 0;
}
li {
margin-bottom: 10px;
font-size: clamp(0.9rem, 2.5vw, 1.1rem);
line-height: 1.1;
}
a {
color: inherit;
border-bottom: 1px solid transparent;
}