157 lines
2.6 KiB
CSS
157 lines
2.6 KiB
CSS
.index .content {
|
|
|
|
.hero,
|
|
.guides,
|
|
.explore {
|
|
grid-column: 1/3;
|
|
margin: 0 0 2.5rem 0;
|
|
|
|
p {
|
|
color: var(--fq-color);
|
|
font-size: 1.05rem;
|
|
font-weight: 300;
|
|
line-height: 1.5rem;
|
|
padding: 0;
|
|
margin: 0 0 1rem 0;
|
|
}
|
|
|
|
.cta {
|
|
display: inline-block;
|
|
width: fit-content;
|
|
color: var(--t-color);
|
|
background: var(--b-color);
|
|
font-size: .95rem;
|
|
font-weight: 600;
|
|
border: .15rem solid var(--hr-color);
|
|
padding: .65rem 1.85rem;
|
|
margin: .5rem .25rem 0 0;
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
border-color: var(--t-color);
|
|
}
|
|
}
|
|
|
|
.secondary {
|
|
color: var(--f-color);
|
|
font-size: .95rem;
|
|
font-weight: 600;
|
|
margin: 0 1.25rem;
|
|
transition: none;
|
|
|
|
span {
|
|
font-size: .75rem;
|
|
margin: 0 .25rem;
|
|
transition: none;
|
|
}
|
|
|
|
&:hover {
|
|
color: var(--t-color);
|
|
transition: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.hero {
|
|
padding: 2rem 0 0 0;
|
|
|
|
h1 {
|
|
color: var(--ft-color);
|
|
font-family: var(--s-font);
|
|
font-size: 2.25rem;
|
|
font-weight: 700;
|
|
line-height: 3rem;
|
|
margin: .75rem 0;
|
|
}
|
|
|
|
p {
|
|
padding: 0 1rem 0 .1rem;
|
|
}
|
|
}
|
|
|
|
.guides,
|
|
.explore {
|
|
padding: 2rem 0;
|
|
|
|
h2 {
|
|
color: var(--ft-color);
|
|
font-family: var(--s-font);
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
line-height: 2.25rem;
|
|
margin: 1rem 0 .5rem 0;
|
|
}
|
|
}
|
|
|
|
.guides {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
h2,
|
|
p {
|
|
grid-column: 1/3;
|
|
}
|
|
|
|
a {
|
|
background: var(--w-color);
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
line-height: 1.5rem;
|
|
padding: 1rem 1.5rem;
|
|
box-shadow: #0000001a 0px 4px 10px 0px, #0000002a 0px 0px 1px 0px;
|
|
border: .1rem solid var(--hr-color);
|
|
|
|
|
|
&:nth-child(odd) {
|
|
margin: .5rem .5rem .5rem 0;
|
|
}
|
|
|
|
&:nth-child(even) {
|
|
margin: .5rem 0 .5rem .5rem;
|
|
}
|
|
|
|
&:hover {
|
|
color: var(--t-color);
|
|
}
|
|
}
|
|
}
|
|
|
|
.explore {
|
|
padding: 2rem 0 0 0;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 480px) {
|
|
.index .content {
|
|
.hero {
|
|
padding: 0 0 1rem 0;
|
|
|
|
h1 {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
p {
|
|
padding: 0 1rem 0 .1rem;
|
|
}
|
|
|
|
.secondary {
|
|
display: inline-block;
|
|
margin: 0 0 0 1.25rem;
|
|
}
|
|
}
|
|
|
|
.guides,
|
|
.explore {
|
|
padding: 2rem 0;
|
|
|
|
h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.guides a {
|
|
padding: 1rem 1.25rem 1.1rem 1.25rem;
|
|
}
|
|
}
|
|
} |