barrettruth.com/public/styles/index.css
2026-01-14 13:15:31 -05:00

60 lines
974 B
CSS

.container {
width: 100%;
max-width: 55%;
margin: 0 auto;
padding: 0 clamp(20px, 5vw, 60px);
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
}
header {
padding: clamp(30px, 5vw, 50px) 0;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: nowrap;
gap: 20px;
}
h1,
.delta {
font-size: clamp(1.5rem, 8vw, 4rem);
font-weight: 300;
flex-shrink: 1;
}
.delta {
flex-shrink: 0;
}
section {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: clamp(20px, 3vw, 40px);
padding-bottom: clamp(80px, 15vw, 150px);
}
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;
}