m |
m |
||
Line 158: | Line 158: | ||
} | } | ||
} | } | ||
− | main .scrollBlock .content sup { | + | main .scrollBlock .content ol { |
+ | padding-left: 1.5em; | ||
+ | } | ||
+ | main .scrollBlock .content li { | ||
+ | padding-left: 0.5em; | ||
+ | } | ||
+ | main .scrollBlock .content sup, main .scrollBlock .content sub { | ||
font-size: 0.7rem; | font-size: 0.7rem; | ||
+ | } | ||
+ | @media (max-width: 480px) { | ||
+ | main .scrollBlock .content sup, main .scrollBlock .content sub { | ||
+ | font-size: 0.6rem; | ||
+ | } | ||
} | } | ||
@media (max-width: 800px) { | @media (max-width: 800px) { | ||
Line 267: | Line 278: | ||
border-radius: 1000px; | border-radius: 1000px; | ||
margin: 0 32px; | margin: 0 32px; | ||
+ | transition: transform 0.3s, box-shadow 0.3s; | ||
} | } | ||
main .buttonContainer > *:first-child { | main .buttonContainer > *:first-child { | ||
Line 344: | Line 356: | ||
min-width: 200px; | min-width: 200px; | ||
max-width: 600px; | max-width: 600px; | ||
− | max-height: | + | max-height: 100vh; |
} | } | ||
@media (max-width: 800px) { | @media (max-width: 800px) { | ||
Line 425: | Line 437: | ||
} | } | ||
− | p.content-paragraph, #HQ_page p.content-paragraph { | + | p.content-paragraph, #HQ_page p.content-paragraph, main .content > p { |
font-family: "lato-regular"; | font-family: "lato-regular"; | ||
margin: 0; | margin: 0; | ||
Line 431: | Line 443: | ||
line-height: 1.5; | line-height: 1.5; | ||
} | } | ||
− | p.content-paragraph:empty, #HQ_page p.content-paragraph:empty { | + | p.content-paragraph:empty, #HQ_page p.content-paragraph:empty, main .content > p:empty { |
margin: 0; | margin: 0; | ||
+ | } | ||
+ | p.content-paragraph + p, #HQ_page p.content-paragraph + p, main .content > p + p { | ||
+ | margin-top: 16px; | ||
} | } | ||
@media (max-width: 480px) { | @media (max-width: 480px) { | ||
− | p.content-paragraph, #HQ_page p.content-paragraph { | + | p.content-paragraph, #HQ_page p.content-paragraph, main .content > p { |
font-size: 1rem; | font-size: 1rem; | ||
} | } | ||
} | } |
Revision as of 19:20, 13 October 2020
main .buttonContainer > * {
cursor: pointer; transition: transform 0.3s;
} main .buttonContainer > :hover {
transform: translateY(-2px);
} main .buttonContainer > :active {
transform: translateY(2px);
}
body, html {
margin: 0; padding: 0; color: #222222; font-family: "lato-regular";
}
body, #bodyContent {
background-image: url();
}
main {
flex-direction: column; justify-content: center; align-items: center; background-color: unset; padding-bottom: 70px;
} main .notvisible {
margin: 0; padding: 0; height: 0; max-height: 0; color: transparent; background-color: transparent; border: none; outline: none;
} main .h3 {
font-size: 1.5rem;
} @media (max-aspect-ratio: 1/1) {
main .h3 { font-size: 1.2rem; }
} main .scrollBlock {
height: 80vh; width: 90vw; display: grid; grid-template-columns: 45vw auto 16px; grid-template-rows: 1fr; column-gap: 10px; position: -webkit-sticky; position: sticky; top: 10vh;
} main .scrollBlock.contentLarger {
grid-template-columns: 0 auto 16px; grid-template-rows: 1fr;
} main .scrollBlock.noanim {
width: 90vw; height: unset; grid-template-columns: 0 auto 16px; grid-template-rows: 1fr;
} main .scrollBlock.noanim .content {
width: 70vw; justify-self: center;
} main .scrollBlock .scrollItem {
grid-column-start: 1; grid-column-end: 2; grid-row-start: 1; grid-row-end: 2; align-self: center; height: 440px; display: flex; align-items: center; justify-content: center;
} @media (max-aspect-ratio: 1/1) {
main .scrollBlock .scrollItem { grid-column-start: 1; grid-column-end: 2; grid-row-start: 1; grid-row-end: 2; }
} main .scrollBlock .scrollItem > div {
width: 100%; height: 100%;
} main .scrollBlock .scrollItem.contentLarger {
width: 0vw;
} main .scrollBlock .content {
display: flex; flex-direction: column; align-items: stretch; grid-column-start: 2; grid-column-end: 3; grid-row-start: 1; grid-row-end: 2; align-self: center; justify-self: stretch; padding: 40px; margin-top: 0; background-color: #FAFAFC; transition: opacity 0.2s, transform 0.2s;
} main .scrollBlock .content.contentLarger {
width: 70vw; height: 50vh; justify-self: center;
} main .scrollBlock .content.fadeOutDown, main .scrollBlock .content.fadeOutUp, main .scrollBlock .content.fadedInvisibleDown, main .scrollBlock .content.fadedInvisibleUp {
opacity: 0;
} main .scrollBlock .content.fadeOutDown, main .scrollBlock .content.fadedInvisibleUp {
transform: translateY(-50px);
} main .scrollBlock .content.fadeOutUp, main .scrollBlock .content.fadedInvisibleDown {
transform: translateY(50px);
} main .scrollBlock .content.fadedInvisibleDown, main .scrollBlock .content.fadedInvisibleUp {
transition: 0s;
} main .scrollBlock .content .h2 {
font-size: 1.6rem; margin: 0 0 8px;
} main .scrollBlock .content .h2:empty {
margin: 0;
} main .scrollBlock .content .h3 {
font-size: 1.3rem; margin: 0 0 8px;
} main .scrollBlock .content .h3:empty {
margin: 0;
} main .scrollBlock .content p {
margin-bottom: 0;
} main .scrollBlock .content ol, main .scrollBlock .content li {
margin: 0; font-family: "lato-regular"; font-size: 1.2rem; line-height: 1.5; text-align: justify;
} @media (max-width: 480px) {
main .scrollBlock .content ol, main .scrollBlock .content li { font-size: 1rem; }
} main .scrollBlock .content ol {
padding-left: 1.5em;
} main .scrollBlock .content li {
padding-left: 0.5em;
} main .scrollBlock .content sup, main .scrollBlock .content sub {
font-size: 0.7rem;
} @media (max-width: 480px) {
main .scrollBlock .content sup, main .scrollBlock .content sub { font-size: 0.6rem; }
} @media (max-width: 800px) {
main .scrollBlock .content { margin: 0; box-shadow: 0 0 10px lightgrey; }
} @media (max-aspect-ratio: 1/1) {
main .scrollBlock .content { grid-column-start: 1; grid-column-end: 2; grid-row-start: 2; grid-row-end: 3; }
} main .scrollBlock .bubbleIndex {
margin-left: 12px; display: flex; flex-direction: column; justify-content: center; align-items: center; grid-column-start: 3; grid-column-end: 4; grid-row-start: 1; grid-row-end: 2;
} @media (max-aspect-ratio: 1/1) {
main .scrollBlock .bubbleIndex { margin-left: 4px; grid-column-start: 2; grid-column-end: 3; grid-row-start: 1; grid-row-end: 3; }
} main .scrollBlock .bubbleIndex > div {
width: 8px; height: 8px; margin: 2px 0; border-radius: 1000px; border: 2px solid #6281EF; cursor: pointer; transition: background-color 0.3s, transform 0.3s;
} main .scrollBlock .bubbleIndex > div:hover {
transform: scale(1.3);
} main .scrollBlock .bubbleIndex > div.active {
background-color: #6281EF;
} @media (max-aspect-ratio: 1/1) {
main .scrollBlock { grid-template-columns: 83vw 16px; grid-template-rows: 40vh 50vh; margin-left: 16px; height: 90vh; top: 5vh; } main .scrollBlock.contentLarger { grid-template-columns: 83vw 16px; grid-template-rows: 0 90vh; } main .scrollBlock.noanim { width: 90vw; justify-content: center; padding: 40px 0; } main .scrollBlock .scrollItem { width: 83vw; height: 35vh; } main .scrollBlock .scrollItem.contentLarger { height: 0vh; } main .scrollBlock .content { width: 83vw; box-shadow: 0 0 10px lightgrey; padding: 20px; }
} main .buttonHeading {
font-family: "montserrat-bold"; font-size: 1.5rem; margin-bottom: 64px;
} @media (max-aspect-ratio: 1/1) {
main .buttonHeading { margin-bottom: 16px; }
} main .buttonContainer {
display: flex; justify-content: center; align-items: stretch;
} main .buttonContainer > * {
display: flex; align-items: center; justify-content: center; font-family: "montserrat-bold"; color: #FAFAFC; padding: 32px 56px; font-size: 1.2rem; max-width: 200px; text-align: center; border-radius: 1000px; margin: 0 32px; transition: transform 0.3s, box-shadow 0.3s;
} main .buttonContainer > *:first-child {
background-color: #6D8CF1; box-shadow: 0 16px 32px -12px #708ff1;
} main .buttonContainer > *:first-child:hover {
box-shadow: 0 18px 40px -14px #708ff1;
} main .buttonContainer > *:last-child {
background-color: #3356CE; box-shadow: 0 16px 32px -12px #3658cf;
} main .buttonContainer > *:last-child:hover {
box-shadow: 0 18px 40px -14px #3658cf;
} @media (max-aspect-ratio: 1/1) {
main .buttonContainer > * { padding: 16px 24px; font-size: 1rem; margin: 8px 0; width: 80vw; }
} @media (max-aspect-ratio: 1/1) {
main .buttonContainer { flex-direction: column; }
}
.sideBlock {
color: #FAFAFC; display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr; justify-items: center; position: fixed; margin: 0 0 32px 32px; box-sizing: border-box; left: 0; bottom: 0; z-index: 11; top: unset; transform: unset; min-width: 62px; max-width: 62px; max-height: 62px; border-radius: 31px; background-color: #6281EF; overflow: hidden; transition: 0.3s; box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
} .sideBlock b {
text-align: center; margin: 0;
} .sideBlock ul {
margin: 1em 0 2em;
} .sideBlock ul div {
color: #FAFAFC; border-color: #FAFAFC;
} .sideBlock ul li.active div {
background-color: #FAFAFC;
} .sideBlock ul a {
color: #FAFAFC;
} .sideBlock ul a.indexsection {
font-family: "montserrat-bold";
} .sideBlock.open {
padding: 32px 32px 62px; border-radius: 0px; min-width: 200px; max-width: 600px; max-height: 100vh;
} @media (max-width: 800px) {
.sideBlock { position: fixed; bottom: 0; padding: 0 64px; margin: 0; z-index: 20; width: 100%; box-sizing: border-box; min-width: unset; max-width: unset; text-align: center; transition: transform 0.5s; top: unset; transform: translateY(calc(100% - 62px)); display: flex; flex-direction: column; align-items: center; min-width: unset; max-width: unset; max-height: unset; border-radius: unset; box-shadow: unset; } .sideBlock.open { padding: 0 64px; min-width: unset; max-width: unset; max-height: unset; }
}
.indexbutton2 {
color: #FAFAFC; background-color: #6281EF; font-family: "montserrat-bold"; z-index: 12; cursor: pointer; position: fixed; left: 0; bottom: 0; margin: 0 0 32px 32px; display: flex; justify-content: center; align-items: center; text-transform: uppercase; font-size: 1rem; width: 62px; height: 62px; border-radius: 32px;
} @media (max-width: 800px) {
.indexbutton2 { display: none; }
}
.sideBlockOverlay {
position: fixed; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; opacity: 0; z-index: 11; background-color: rgba(0, 0, 0, 0.5); transition: opacity 0.5s;
} .sideBlockOverlay.open {
opacity: 1; pointer-events: unset;
}
.scrollAnim {
width: 100%; height: 50vh;
}
p.content-paragraph, #HQ_page p.content-paragraph, main .content > p {
font-family: "lato-regular"; margin: 0; font-size: 1.2rem; line-height: 1.5;
} p.content-paragraph:empty, #HQ_page p.content-paragraph:empty, main .content > p:empty {
margin: 0;
} p.content-paragraph + p, #HQ_page p.content-paragraph + p, main .content > p + p {
margin-top: 16px;
} @media (max-width: 480px) {
p.content-paragraph, #HQ_page p.content-paragraph, main .content > p { font-size: 1rem; }
}