serverscoop-site/static/serverscoop.css

392 lines
5.5 KiB
CSS

body {
display: flex;
flex-direction: row;
justify-content: center;
background-color: var(--background);
font-family: var(--font-family-sans);
}
main {
padding: 2rem;
width: 1280px;
display: flex;
flex-direction: column;
}
@media screen and (max-width: 1280px) {
main {
width: var(--width-tablet);
}
}
@media screen and (max-width: 786px) {
main {
width: var(--width-mobile);
}
}
a {
text-decoration: initial;
color: var(--accent);
}
p {
font-weight: bold;
color: var(--off-black);
line-height: 1.7em;
font-size: var(--font-size-m);
}
h1,h2,h3 {
color: var(--accent);
font-weight: bold;
}
h1,h2 {
font-size: var(--font-size-xl);
}
h3 {
font-size: var(--font-size-l);
}
header {
margin-top: 1.5vh;
margin-right: 8vw;
display: flex;
flex-direction: row;
justify-content: space-between;
}
header a,
footer a {
margin: 0.6rem;
margin-top: 1.8rem;
font-weight: bold;
color: var(--off-black);
font-size: var(--font-size-m);
}
header a {
margin: 1.8rem;
}
header img {
width: 316px;
}
@media screen and (max-width: 1280px) {
header {
margin-top: 0.4rem;
margin-right: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
}
header img {
width: 360px;
}
}
@media screen and (max-width: 768px) {
header .header-links {
width: 360px;
}
header .header-links {
justify-content: flex-start;
}
header .header-links a:first-of-type{
margin-left: 0;
}
}
.splash {
display: flex;
flex-direction: row;
margin-top: 2rem;
}
.splash p {
margin-bottom: 50px;
}
.splash h1 {
margin-top: 1rem;
line-height: 1.6em;
}
.splash-text-content {
max-width: 50%;
}
.splash-image-content {
display: flex;
flex-direction: row;
justify-content: right;
height: 520px;
}
.pyramid-image {
position: relative;
}
.squatting-person {
position: relative;
top: 298px;
right: 532px;
}
.splash > .button-links {
display: none;
}
@media screen and (max-width: 1280px) {
.splash {
margin-top: 0;
flex-direction: column;
}
.splash-text-content {
display: flex;
flex-direction: column;
max-width: initial;
align-items: center;
text-align: center;
}
.splash-text-content h1 {
line-height: initial;
font-size: var(--font-size-l);
}
.splash p {
margin-bottom: 15px;
max-width: 70%;
}
.splash-text-content > .button-links {
display: none;
}
.splash > .button-links {
margin: 40px;
margin-bottom: 80px;
display: flex;
}
}
@media screen and (max-width: 768px) {
.splash-text-content {
text-align: initial;
}
.splash p {
max-width: initial;
}
.splash-image-content {
height: 300px;
}
.pyramid-image {
width: 360px;
}
.squatting-person {
top: 198px;
right: 292px;
width: 80px;
}
.splash > .button-links {
margin-left: 0;
margin-right: 0;
display: flex;
}
}
.button-link {
font-family: var(--font-family-mono);
padding: 15px 22px;
font-weight: bold;
background: var(--light-gray);
color: var(--accent);
margin-right: 30px;
}
.button-link.primary {
background: var(--accent);
color: var(--white);
}
.background-tilt-top, .background-tilt-bottom {
margin: 0;
width: var(--width-desktop);
}
.background-tilt-top {
margin-top: -4rem;
}
@media screen and (max-width: 1280px) {
.background-tilt-top, .background-tilt-bottom {
width: var(--width-tablet);
}
}
@media screen and (max-width: 768px) {
.background-tilt-top, .background-tilt-bottom {
width: var(--width-mobile);
}
}
.main-content {
width: 100%;
margin: 0;
background: var(--main-content-bg);
padding-top: 30px;
}
.main-content-paragraph {
max-width: 650px;
}
.box {
width: 50%;
background: var(--white);
box-shadow: 10px 10px 0 0 var(--accent);
margin: 20px;
text-align: left;
}
.box h1,.box h2,.box h3 {
margin-left: 8px;
}
.box a {
text-decoration: underline;
}
.box p {
margin-left: 30px;
margin-bottom: 40px;
}
.box img {
margin-top: 15px;
margin-right: 70px;
}
.arms-crossed-people-image {
position: relative;
top: -10px;
width: 180px;
}
.main-content-footer {
background: var(--white);
width: 100%;
display: flex;
flex-direction: column;
}
@media screen and (max-width: 1280px) {
.arms-crossed-people-image {
width: 150px;
top: -30px;
}
.main-content-footer p {
max-width: 70%;
}
}
@media screen and (max-width: 768px) {
.main-content h1 {
font-size: var(--font-size-l);
}
.boxes-container.horizontal {
flex-direction: column;
}
.box {
width: initial;
}
.arms-crossed-people-image {
width: 120px;
top: -50px;
}
}
.logos {
max-width: 60%;
margin-bottom: 30px;
}
.darker-background {
background: var(--light-gray);
}
.logos a {
margin: 30px;
}
footer {
margin-bottom: 100px;
}
.position-absolute {
position: absolute;
}
.horizontal {
display: flex;
align-items: flex-start;
}
.horizontal.expand {
width: 100%;
}
.vertical {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.vertical.expand {
width: 100%;
}
.align-center {
align-items: center;
}
.align-stretch {
align-items: stretch;
}
.justify-center {
justify-content: center;
}
.center {
align-items: center;
text-align: center;
}
.space-around {
justify-content: space-around;
}
.space-between {
justify-content: space-between;
}
.flex-start {
justify-content: flex-start;
}
.flex-end {
justify-content: flex-end;
}
.wrap {
flex-wrap: wrap;
}
.float-right {
float: right;
}