Initial commit
This commit is contained in:
BIN
assets/bg.jpg
Normal file
BIN
assets/bg.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 542 KiB |
29
assets/logo.svg
Normal file
29
assets/logo.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 83 KiB |
239
assets/style.css
Normal file
239
assets/style.css
Normal file
@@ -0,0 +1,239 @@
|
||||
/**
|
||||
* @package ogre-suspension
|
||||
* @author cleverogre
|
||||
* @version 1.0.0
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
:root {
|
||||
--color--orange: #f89a31;
|
||||
--color--green: #c2e3e1;
|
||||
--color--yellow: #f7ec76;
|
||||
|
||||
--font-family--sans-serif: 'Passion One', 'Open Sans', Arial, Helvetica, sans-serif;
|
||||
--font-family--serif: 'Roboto Slab', Georgia, Times, "Time New Roman", serif;
|
||||
}
|
||||
|
||||
* {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
html {
|
||||
-ms-text-size-adjust: 100%;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
scroll-behavior: smooth;
|
||||
min-height: 100%;
|
||||
|
||||
font-family: var(--font-family--serif);
|
||||
font-size: 24px;
|
||||
line-height: 2;
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.screen-reader-text {
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
position: absolute !important;
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.screen-reader-text:focus {
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
||||
clip: auto !important;
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
height: auto;
|
||||
left: 5px;
|
||||
line-height: normal;
|
||||
padding: 1rem;
|
||||
text-decoration: none;
|
||||
top: 5px;
|
||||
width: auto;
|
||||
z-index: 100000;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100%;
|
||||
padding: 4rem 2rem;
|
||||
|
||||
background-color: #000;
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
background-size: 100% auto;
|
||||
background-image: url(bg.jpg);
|
||||
color: #fff;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
body:before,
|
||||
body:after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
aspect-ratio: 1284 / 1920;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: auto;
|
||||
left: 0;
|
||||
}
|
||||
body:before {
|
||||
z-index: 10;
|
||||
background-image: linear-gradient(to bottom, transparent 0%, #000 100%), url(bg.jpg);
|
||||
}
|
||||
body:after {
|
||||
z-index: 20;
|
||||
background-color: transparent;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: 100% auto;
|
||||
background-image: url(texture.png);
|
||||
}
|
||||
|
||||
main {
|
||||
width: 1140px;
|
||||
max-width: 100%;
|
||||
margin: auto;
|
||||
padding: 4rem 2rem 2rem;
|
||||
position: relative;
|
||||
z-index: 30;
|
||||
background: rgba(0, 0, 0, .75);
|
||||
}
|
||||
main > *:first-child {
|
||||
margin-block-start: 0;
|
||||
}
|
||||
main > *:last-child {
|
||||
margin-block-end: 0;
|
||||
}
|
||||
|
||||
:where(h1, h2, h3, h4, h5, h6) {
|
||||
margin: 1em auto;
|
||||
width: 100%;
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
line-height: 1.5;
|
||||
font-family: var(--font-family--serif);
|
||||
}
|
||||
|
||||
:where(h1, h2) {
|
||||
max-width: 940px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
:where(h3, h4, h5) {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-family: var(--font-family--sans-serif);
|
||||
font-size: 1.25em;
|
||||
line-height: 1;
|
||||
font-weight: normal;
|
||||
color: var(--color--orange);
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1em;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: .9em;
|
||||
color: var(--color--orange);
|
||||
}
|
||||
|
||||
p {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
margin: .6em auto;
|
||||
padding: 0;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
width: auto;
|
||||
height: auto;
|
||||
float: none;
|
||||
max-width: 100%;
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
figure {
|
||||
width: 100%;
|
||||
max-width: 940px;
|
||||
margin: 0 auto .5em;
|
||||
border-bottom: 10px solid rgba(248, 154, 49, .7);
|
||||
}
|
||||
|
||||
a {
|
||||
display: inline;
|
||||
background: transparent;
|
||||
text-decoration: none;
|
||||
font-weight: inherit;
|
||||
color: var(--color--orange);
|
||||
}
|
||||
a:hover {
|
||||
color: var(--color--green);
|
||||
}
|
||||
a:active {
|
||||
color: var(--color--yellow);
|
||||
}
|
||||
a:hover,
|
||||
a:active {
|
||||
box-shadow: 0px 2px 0px currentColor;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
@media (min-width: 1921px) {
|
||||
body:before,
|
||||
body:after {
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
background-attachment: fixed;
|
||||
}
|
||||
body:before {
|
||||
background-size: cover;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
body {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
background-image: none;
|
||||
}
|
||||
body:before,
|
||||
body:after {
|
||||
content: none;
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
main {
|
||||
padding-inline: 1rem;
|
||||
padding-bottom: 4rem;
|
||||
}
|
||||
}
|
||||
BIN
assets/texture.png
Normal file
BIN
assets/texture.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 93 KiB |
Reference in New Issue
Block a user