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.

189 lines
3.3 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 */
3 years ago
.page {
display: flex;
}
.page .content {
flex-grow: 1;
}
3 years ago
3 years ago
.content {
position: relative;
width: 100%;
3 years ago
}
.topcontainerbackg {
height: 40vh;
3 years ago
z-index: 0;
3 years ago
background-color: #2940D3;
-ms-transform: skewX(-20deg);
-webkit-transform: skewX(-20deg);
transform: skewX(-20deg);
}
.topcontainer {
3 years ago
padding: 0 var(--padding-xl);
3 years ago
top: 0;
3 years ago
right: 0;
3 years ago
left: 0;
3 years ago
bottom: 0;
position: absolute;
3 years ago
height: 40vh;
display: flex;
flex-direction: column;
3 years ago
align-items: start;
3 years ago
justify-content: space-between;
color: white;
background-image: url('/gun.png');
background-size: contain;
background-repeat: no-repeat;
3 years ago
background-position: right center;
3 years ago
}
.topcontainer h1 {
margin: unset;
}
.topcontainer p {
opacity: 50%;
margin-top: - var(--padding-sm);
}
.bottomcontainer {
3 years ago
padding: 0 var(--padding-xl);
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 {
3 years ago
z-index: 1;
3 years ago
width: 10vw;
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 {
3 years ago
width: 100%;
3 years ago
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;
3 years ago
padding: 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 a:hover {
-ms-transform: skewX(0deg);
-webkit-transform: skewX(0deg);
transform: skewX(0deg);
transition-duration: var(--transition-speed);
}
.links div a:hover span {
-ms-transform: skewX(0deg);
-webkit-transform: skewX(0deg);
transform: skewX(0deg);
transition-duration: var(--transition-speed);
}
3 years ago
.links div p {
3 years ago
margin: unset;
3 years ago
}
.links div a span {
3 years ago
transition-duration: var(--transition-speed);
3 years ago
-ms-transform: skewX(20deg);
-webkit-transform: skewX(20deg);
3 years ago
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/4) {
3 years ago
.leftsidetint {
display: none;
3 years ago
}
}