You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

165 lines
2.8 KiB

3 years ago
/* page specific overwrites css */
.page h1 {
font-size: var(--font-xl);
}
.page h3 {
font-size: var(--font-lg);
font-weight: normal;
}
/* page layout */
.topcontent {
width: var(--page-width);
margin: 0 auto;
}
.topcontainerbackg {
height: 40vh;
background-color: #2940D3;
-ms-transform: skewX(-20deg);
-webkit-transform: skewX(-20deg);
transform: skewX(-20deg);
}
.topcontainer {
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 40vh;
display: flex;
flex-direction: column;
align-items: end;
justify-content: space-between;
color: white;
background-image: url('/gun.png');
background-size: contain;
background-repeat: no-repeat;
background-position: right;
}
.topcontainer h1 {
margin: unset;
}
.topcontainer p {
opacity: 50%;
margin-top: - var(--padding-sm);
}
.bottomcontainer {
3 years ago
height: 60vh;
3 years ago
background-color: #232323;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: start;
color: white;
padding-bottom: var(--padding);
}
3 years ago
.leftsidetint {
position: absolute;
z-index: 10;
top: 0;
left: 0;
width: 10vw;
height: 100vh;
background-color: #1a1a1a;
3 years ago
display: flex;
flex-direction: column;
justify-content: space-between;
}
.leftsidetint footer {
font-size: var(--font-sm);
padding: var(--padding-lg);
3 years ago
}
3 years ago
/* items */
3 years ago
.links {
display: flex;
flex-grow: 1;
align-items: center;
}
3 years ago
.links div {
3 years ago
width: 100%;
3 years ago
font-size: 1.5em;
3 years ago
display: grid;
grid-template-columns: 25% 25% 25%;
3 years ago
gap: var(--padding-lg);
}
3 years ago
.links div a {
text-align: center;
padding: var(--padding) var(--padding-lg) var(--padding) var(--padding-xl);
3 years ago
transition-duration: var(--transition-speed);
background-color: #2940D3;
-ms-transform: skewX(-20deg);
-webkit-transform: skewX(-20deg);
transform: skewX(-20deg);
}
3 years ago
.links div p {
3 years ago
margin: unset;
3 years ago
}
.links div a span {
3 years ago
-ms-transform: skewX(20deg);
-webkit-transform: skewX(20deg);
transform: skewX(20deg);
3 years ago
display: inline-flex;
align-items: center;
justify-content: space-between;
width: 100%;
3 years ago
}
3 years ago
.links div a:hover {
3 years ago
transition-duration: 0.3s;
background-color: #1f309e;
}
/* mobile responsivity */
@media (max-aspect-ratio: 1/1) {
.topcontent {
width: 100%;
padding: var(--padding);
}
.links a {
padding: 0 var(--padding-lg);
}
.page h1 {
font-size: var(--font-lg);
}
.page h3 {
font-size: var(--font-lg);
font-weight: normal;
}
3 years ago
.links div {
3 years ago
font-size: var(--font);
3 years ago
display: flex;
3 years ago
flex-wrap: wrap;
justify-content: center;
}
}
3 years ago
@media (max-aspect-ratio: 5/3) {
.leftsidetint {
display: none;
3 years ago
}
}