@import url(./colors.css); @import url(./fonts.css); @import url(./scaling.css); * { padding: 0; margin: 0; box-sizing: border-box; font-family: 'Manrope XLight'; font-size: .85rem; font-weight: normal; line-height: 1.5; scroll-behavior: smooth; } body, html { width: 100%; color: var(--text); background-color: var(--surface); } body { background-color: var(--surface); display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: 'pad1 content pad2'; } .grid-container { width: min(95vw, 125ch); grid-area: content; display: flex; flex-direction: column; align-items: center; } nav { display: flex; justify-content: center; flex-wrap: wrap; padding: .5rem 3rem 1rem 3rem; margin-top: 3rem; } nav > a { color: var(--text); border-bottom: .1rem solid var(--text); padding: .3rem 2rem; margin: 1rem 2rem; font-size: 1.25rem; text-decoration: none; transition: color .3s, border-bottom .3s; } nav > a:hover { color: var(--primary); border-bottom: .1rem solid var(--primary); } .presentation { display: grid; grid-template-areas: 'logo name' 'logo desc'; grid-template-columns: auto auto; grid-template-rows: auto auto; place-items: center start; padding: 2rem 3rem; margin: 3rem 0; max-width: 100%; background-color: var(--grey3); border-radius: 1rem; box-shadow: 0 1rem 2rem var(--grey1); } @media screen and (max-width: 650px) { .presentation { display: flex; flex-direction: column; } } img { grid-area: logo; width: min(20ch, 35vmin); margin-right: 1rem; } header { grid-area: name; color: var(--primary); font-size: 2rem; margin-left: 1rem; margin-bottom: 1rem; } .qwik-explained { grid-area: desc; width: min(40ch, 45vmin); margin-left: 1rem; } h1 { color: var(--primary); font-size: 2rem; margin-top: 3rem; } h2 { color: var(--accent); font-size: 1.15rem; } a { color: var(--accent2); } b { font-family: 'Manrope Medium'; } p { margin: 0 auto; width: min(70ch, 90%); } .services-list { display: flex; flex-wrap: wrap; justify-content: center; } .service { width: min(30ch, 80%); display: flex; flex-direction: column; margin: 2rem; padding: 1rem 1.5rem; background-color: var(--grey3); border-radius: 1rem; box-shadow: 0 1rem 2rem var(--grey1); } .service > h2 { text-align: center; } .service > p { margin: 1rem 0; } .service > a { color: var(--primary); background-color: transparent; border: .1rem solid var(--primary); border-radius: 999rem; /* box-shadow: 0 -5rem 20rem transparent; */ margin-top: auto; margin-bottom: .5rem; padding: .5rem; width: 100%; display: block; font-size: 1rem; text-decoration: none transparent; text-align: center; transition: color .3s, background-color .3s, box-shadow .3s; } .service > a:hover, .service > a:focus { color: var(--surface); background-color: var(--primary); /* box-shadow: 0 .25rem 2rem var(--primary); */ } .maintainer-list { display: flex; flex-wrap: wrap; justify-content: center; } .maintainer { display: flex; flex-direction: column; align-items: center; padding: 1rem 2rem; margin: 2rem 3rem; background-color: var(--grey3); border-radius: 1rem; box-shadow: 0 1rem 2rem var(--grey1); } .maintainer > h2 { margin-bottom: 1rem; } .contact-options { display: grid; grid-template-columns: auto auto; } .contact-type { color: var(--accent); margin-right: 1rem; } .contact-options > p { padding: .5rem 0; } .promo-image { width: min(55ch, 100%); margin: 2rem 0; border-radius: 1rem; box-shadow: 0 1rem 2rem var(--grey1); } footer { display: flex; flex-direction: column; align-items: center; margin: 15vh 0; padding: 1rem 5rem; border-top: .1rem solid var(--accent); } footer > p, footer > p > a { font-size: .65rem; width: auto; } .love { font-size: .85rem; } .heart { color: var(--accent2); font-size: 1.15rem; }