apache2/nginx default error documents. https://turbopixel.codeberg.page/default-server-documents/
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.
 
 

158 lines
2.5 KiB

// ========================================
// -- vars
$color-background: #3a6e8f !default;
$color-background-ter: #eff2ec !default;
// ========================================
// -- mixins
@mixin screen-md {
@media screen and (min-width:501px) and (max-width:1300px) {
@content;
}
}
@mixin screen-xs {
@media screen and (max-width:500px) {
@content;
}
}
// ========================================
// template
* {
margin: 0;
padding: 0
}
html {
width: 100%;
height: 100%;
> body {
background: $color-background;
font-size: 1em;
font-family: Verdana, Arial, sans-serif;
font-weight: 400;
width: 100%;
height: 100%;
color: #000;
display: flex;
align-items: center;
justify-content: start;
> .container {
display: flex;
align-items: center;
justify-content: start;
background: #eff2ec;
width: 100%;
transform: rotate(-3deg) skewX(-3deg);
box-shadow: 2px 2px 10px 1px rgba(0, 0, 0, 0.14);
@include screen-xs {
background: $color-background-ter;
box-shadow: none;
transform: rotate(-3deg) skewX(-3deg);
}
> .content {
margin: 0 auto;
width: 60%;
padding: 4rem 0;
@include screen-md {
padding: 3rem 0;
width: 80%;
}
@include screen-xs {
padding: 2rem;
width: calc(100% - 4rem);
}
> h1 {
font-size: 1.25em;
font-weight: 400;
text-transform: uppercase;
letter-spacing: 1px;
@include screen-md {
font-size: 1rem;
}
@include screen-xs {
font-size: 0.90rem;
}
}
> p {
display: block;
margin: 1.95rem 0 0;
font-size: 2.25rem;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 2px;
@include screen-md {
margin: 1.25rem 0 0;
font-size: 1.8rem;
}
@include screen-xs {
margin: 1rem 0 0;
font-size: 1.35rem;
}
}
> a {
display: block;
margin: 1.9rem 0 0 0.5rem;
font-size: 0.85em;
font-weight: 500;
color: $color-background;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 2px;
@include screen-md {
margin: 1.25rem 0 0;
font-size: 0.70em;
}
@include screen-xs {
margin: 1rem 0 0;
font-size: 0.55em;
}
}
> div.internal {
position: absolute;
bottom: 0;
right: 0;
color: #8f8f8f;
font-size: 0.55em;
padding: 0 10px 6px 0;
a {
color: #999;
text-decoration: none
}
a:hover {
color: #000
}
}
}
}
}
}