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.

148 lines
2.5 KiB

/* page specific overwrites css */
.page h1 {
font-size: var(--font-xl);
}
.page h3 {
font-size: var(--font-lg);
font-weight: normal;
}
/* menu */
.menu {
padding: var(--padding) 0;
display: inline-flex;
gap: var(--padding-lg);
}
.menu a::before {
content: "// ";
}
/* 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;
padding: 0;
margin: 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 {
height: 60vh;
background-color: #232323;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: start;
color: white;
padding-bottom: var(--padding);
}
/* items */
.links {
flex-wrap: wrap;
font-size: 1.5em;
flex-grow: 1;
display: flex;
gap: var(--padding-lg);
justify-content: start;
align-items: center;
}
.links a {
padding: var(--padding) var(--padding-xl);
transition-duration: var(--transition-speed);
background-color: #2940D3;
-ms-transform: skewX(-20deg);
-webkit-transform: skewX(-20deg);
transform: skewX(-20deg);
}
.links a p {
margin: unset;
-ms-transform: skewX(20deg);
-webkit-transform: skewX(20deg);
transform: skewX(20deg);
display: inline-block;
}
.links a:hover {
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;
}
.links {
font-size: var(--font);
flex-wrap: wrap;
justify-content: center;
}
}
@media (max-aspect-ratio: 5/7) {
.gallery {
column-count: 1;
}
}