create book club template (sans footer)
This commit is contained in:
@ -7,26 +7,45 @@
|
||||
--font-family-sans: "Sora", sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
background: var(--background);
|
||||
}
|
||||
|
||||
body {
|
||||
height: 100vh;
|
||||
font-family: var(--font-family-sans);
|
||||
color: var(--foreground-text);
|
||||
margin: 0;
|
||||
background: radial-gradient(50% 50% at 50% 50%, rgba(142, 154, 236, 0.4) 0%, rgba(142, 154, 236, 0) 100%);
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 908px;
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--foreground-text);
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-family: var(--wp--preset--font-family--eb-garamond);
|
||||
font-size: 38px;
|
||||
}
|
||||
|
||||
.btn {
|
||||
border: 1px solid;
|
||||
border-radius: 0.85em;
|
||||
padding: 0.75em 0.5em;
|
||||
padding: 0.75em 1.5em;
|
||||
text-decoration: none;
|
||||
font-size: 16px;
|
||||
}
|
||||
.btn--solid {
|
||||
background-color: var(--foreground-text);
|
||||
color: var(--background);
|
||||
}
|
||||
|
||||
.site-navigation {
|
||||
@ -44,14 +63,6 @@ a {
|
||||
.site-navigation a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.site-navigation .header-logo {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 63px;
|
||||
}
|
||||
.site-navigation .logo-spacer {
|
||||
width: 155px;
|
||||
}
|
||||
.site-navigation ul.pages-list {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@ -67,13 +78,240 @@ a {
|
||||
gap: 1em;
|
||||
}
|
||||
|
||||
/* .div {
|
||||
text-align: center;
|
||||
padding-block: 20rem;
|
||||
background: radial-gradient(circle at 85% 50%, rgba(142, 154, 236, 0.40) 0%, rgba(142, 154, 236, 0.00) 50%);
|
||||
} */
|
||||
.div h2 {
|
||||
section {
|
||||
padding-block: 82px;
|
||||
}
|
||||
|
||||
.hero--container {
|
||||
max-width: 1440px;
|
||||
margin-inline: auto;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, 1fr);
|
||||
}
|
||||
.hero--container .hero--text {
|
||||
grid-column: 2/4;
|
||||
}
|
||||
.hero--container .hero--text h2 {
|
||||
font-family: var(--wp--preset--font-family--eb-garamond);
|
||||
font-size: 38px;
|
||||
font-weight: 400;
|
||||
max-width: 385px;
|
||||
}
|
||||
.hero--container .hero--text p {
|
||||
font-family: var(wp--preset--font-family--sora);
|
||||
font-size: 18px;
|
||||
max-width: 446px;
|
||||
}
|
||||
.hero--container .hero--img {
|
||||
grid-column: 4/6;
|
||||
width: 100%;
|
||||
border: 1px solid white;
|
||||
border-top-left-radius: 12px;
|
||||
border-bottom-left-radius: 12px;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.sponsor-logos {
|
||||
padding-block: 41px;
|
||||
}
|
||||
.sponsor-logos .container {
|
||||
display: flex;
|
||||
text-align: center;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
column-gap: 2rem;
|
||||
row-gap: 1rem;
|
||||
}
|
||||
|
||||
section.pitch {
|
||||
padding-block: 82px;
|
||||
text-align: center;
|
||||
}
|
||||
section.pitch h2 {
|
||||
font-family: var(--wp--preset--font-family--eb-garamond);
|
||||
font-size: 38px;
|
||||
font-weight: 400;
|
||||
line-height: 100%;
|
||||
max-width: 527px;
|
||||
margin-inline: auto;
|
||||
margin-bottom: 54px;
|
||||
}
|
||||
section.pitch .pitch--cards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 300px);
|
||||
gap: 16px;
|
||||
}
|
||||
section.pitch .pitch--cards .pitch--card-item {
|
||||
border: 1px solid #FAF7EF;
|
||||
border-radius: 12px;
|
||||
text-align: center;
|
||||
padding-block: 40px;
|
||||
padding-inline: 25px;
|
||||
}
|
||||
section.pitch .pitch--cards .pitch--card-item h3 {
|
||||
font-family: var(--wp--preset--font-family--sora);
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
line-height: 1.3;
|
||||
}
|
||||
section.pitch .pitch--cards .pitch--card-item p {
|
||||
font-family: var(--wp--preset--font-family--sora);
|
||||
font-size: 16px;
|
||||
font-weight: 300;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
section.book-club-examples {
|
||||
text-align: center;
|
||||
}
|
||||
section.book-club-examples h2 {
|
||||
font-weight: 400;
|
||||
max-width: 563px;
|
||||
margin-inline: auto;
|
||||
line-height: 1;
|
||||
}
|
||||
section.book-club-examples .book-club-example-cards {
|
||||
padding-block: 84px;
|
||||
}
|
||||
section.book-club-examples .book-club-example-cards .book-club-example-card--item {
|
||||
display: flex;
|
||||
max-width: 908px;
|
||||
border: 1px solid var(--foreground-text);
|
||||
border-radius: 12px;
|
||||
margin-inline: auto;
|
||||
margin-block: 36px;
|
||||
}
|
||||
section.book-club-examples .book-club-example-cards .book-club-example-card--item--img {
|
||||
border-radius: 12px;
|
||||
border-right: 1px solid #F6F6F8;
|
||||
object-fit: cover;
|
||||
}
|
||||
section.book-club-examples .book-club-example-cards .book-club-example-card--item--text {
|
||||
padding-inline: 40px;
|
||||
padding-block: 36px;
|
||||
}
|
||||
section.book-club-examples .book-club-example-cards .book-club-example-card--item--text * {
|
||||
text-align: left;
|
||||
}
|
||||
section.book-club-examples .book-club-example-cards .book-club-example-card--item--text p {
|
||||
font-size: 18px;
|
||||
}
|
||||
section.book-club-examples .book-club-example-cards .book-club-example-card--item--text strong {
|
||||
font-weight: 600;
|
||||
}
|
||||
section.book-club-examples .book-club-example-cards .book-club-example-card--item--text--description {
|
||||
font-size: 16px;
|
||||
}
|
||||
section.book-club-examples .btn {
|
||||
display: inline-block;
|
||||
padding-inline: 5em;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
section.testimonial-section h2 {
|
||||
text-align: center;
|
||||
font-weight: 400;
|
||||
}
|
||||
section.testimonial-section .testimonial-cards {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
padding-block: 84px;
|
||||
}
|
||||
section.testimonial-section .testimonial-cards .testimonial-card--item {
|
||||
border: 1px solid var(--foreground-text);
|
||||
border-radius: 12px;
|
||||
padding: 64px;
|
||||
max-width: 446px;
|
||||
}
|
||||
section.testimonial-section .testimonial-cards .testimonial-card--item .bio {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
padding-bottom: 32px;
|
||||
align-items: center;
|
||||
}
|
||||
section.testimonial-section .testimonial-cards .testimonial-card--item .bio--img {
|
||||
border-radius: 100%;
|
||||
border: 1px solid var(--foreground-text);
|
||||
width: 61px;
|
||||
}
|
||||
section.testimonial-section .testimonial-cards .testimonial-card--item .bio--name {
|
||||
max-width: 12ch;
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
}
|
||||
section.testimonial-section .testimonial-cards .testimonial-card--item--description {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
section.faq {
|
||||
padding-block: 84px;
|
||||
}
|
||||
section.faq h2 {
|
||||
text-align: center;
|
||||
font-weight: 400;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
section.faq .faq-list {
|
||||
border: 1px solid white;
|
||||
border-radius: 12px;
|
||||
}
|
||||
section.faq .faq-list .faq--item {
|
||||
padding-inline: 60px;
|
||||
padding-inline-start: 44px;
|
||||
padding-block: 45px;
|
||||
border-bottom: 1px solid;
|
||||
}
|
||||
section.faq .faq-list .faq--item:last-of-type {
|
||||
border-bottom: none;
|
||||
}
|
||||
section.faq .faq-list .faq--item .answer {
|
||||
margin-top: 16px;
|
||||
padding-left: 16px;
|
||||
display: block;
|
||||
}
|
||||
section.faq .faq-list .faq--item summary {
|
||||
font-weight: 600;
|
||||
list-style-type: "+";
|
||||
}
|
||||
section.faq .faq-list .faq--item summary span {
|
||||
margin-left: 16px;
|
||||
}
|
||||
section.faq .faq-list .faq--item[open] summary {
|
||||
list-style-type: "-";
|
||||
}
|
||||
|
||||
section.book-club-benefits {
|
||||
text-align: center;
|
||||
}
|
||||
section.book-club-benefits h2 {
|
||||
font-weight: 400;
|
||||
}
|
||||
section.book-club-benefits .benefit-cards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 16px;
|
||||
row-gap: 90px;
|
||||
margin-block: 140px;
|
||||
}
|
||||
section.book-club-benefits .benefit-cards .benefit-card--item img {
|
||||
max-width: 215px;
|
||||
border: 1px solid var(--foreground-text);
|
||||
border-radius: 12px;
|
||||
}
|
||||
section.book-club-benefits .benefit-cards .benefit-card--item p {
|
||||
max-width: 289px;
|
||||
margin-inline: auto;
|
||||
}
|
||||
section.book-club-benefits .benefit-cards .benefit-card--item p strong {
|
||||
font-weight: 600;
|
||||
}
|
||||
section.book-club-benefits .book-club-benefits-cta .btn {
|
||||
padding-inline: 4em;
|
||||
display: inline-block;
|
||||
}
|
||||
section.book-club-benefits .book-club-benefits-cta p {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=static.css.map */
|
||||
|
||||
Reference in New Issue
Block a user