njpma/app/static/css/partials/_about.scss

101 lines
1.6 KiB
SCSS
Raw Normal View History

.body--about.animated {
//background: linear-gradient(to right, #14801c, #1f3164);
}
2021-10-22 09:53:56 +00:00
.about {
max-width: var(--container-lg-width);
margin: 0 auto;
padding: var(--spacing-2);
h1 {
font-size: 22px;
margin: 0 0 var(--spacing) 0;
}
2021-10-22 09:53:56 +00:00
h2 {
font-size: 22px;
2021-10-22 09:53:56 +00:00
font-weight: 700;
margin: var(--spacing-2) 0;
padding: 0 0 var(--spacing) 0;
}
h3 {
font-size: 21px;
2021-10-22 09:53:56 +00:00
}
a {
color: #ee0;
font-weight: 700;
text-decoration: none;
}
> .row {
@media screen and (max-width: 799px) {
display: block;
}
}
}
.col--about, .col--bios {
2021-10-22 09:53:56 +00:00
@media screen and (min-width: 800px) {
width: 50%;
display: flex;
}
}
.col--bios {
.about-phantasma-block {
width: 100%;
margin-top: var(--spacing);
}
}
2021-10-22 09:53:56 +00:00
.about-phantasma-block {
@media screen and (min-width: 800px) {
background: rgba(255, 255, 255, 0.04);
2021-10-22 09:53:56 +00:00
padding: var(--spacing-2);
}
}
.accordion-checkbox {
position: absolute;
opacity: 0;
}
.about-bios {
//max-width: 670px;
2021-10-22 09:53:56 +00:00
padding: var(--spacing-2) 0;
}
.accordion-title {
//border-bottom: 2px solid rgba(255, 255, 255, 0.2);
2021-10-22 09:53:56 +00:00
margin: var(--spacing-2) 0;
padding: 0 0 calc(var(--spacing) / 2) 0;
display: flex;
align-items: center;
cursor: pointer;
&:hover, &:focus {
opacity: 0.8;
}
h3 {
flex: 1;
padding-right: var(--spacing-2);
}
}
.accordion-caret {
font-size: 21px;
2021-10-22 09:53:56 +00:00
margin-left: auto;
}
.accordion-content {
display: none;
}
.accordion-checkbox:checked + .accordion-content {
display: block;
}