Added splash image for Jason

This commit is contained in:
Jason Williams
2022-11-19 12:42:14 -07:00
parent a2421fad12
commit 7233356524
6 changed files with 49 additions and 20 deletions

View File

@@ -87,7 +87,10 @@ textarea {
Author's custom styles
========================================================================== */
body { overflow-x: hidden; }
:root {
--jason-bg-color: #F2EDEA;
--flo-bg-color: #601F22;
}
#view {
width: 100vw;
@@ -96,10 +99,11 @@ body { overflow-x: hidden; }
#container {
min-height: 100vh;
width: 100vw;
position: relative;
/* position: relative; */
}
.main {
position: relative;
float: left;
overflow: hidden;
}
@@ -111,11 +115,34 @@ body { overflow-x: hidden; }
overflow: hidden;
}
@media (orientation: landscape) {
body {
background-color: #FF0000;
}
.splash .splash-container {
height: 100%;
width: 100%;
padding: 1rem;
}
.splash img { width: 100%; height: 100%; border-radius: 1rem; object-fit: cover; }
.banner {
position: absolute;
width: 100%;
top: 50%;
-ms-transform: translateY(-50%);
transform: translateY(-50%);
text-align: center;
}
.banner img {max-width: 20vw; max-height: 20vh; }
.jason {
background-color: var(--jason-bg-color);
}
.flo {
background-color: var(--flo-bg-color);
}
@media (orientation: landscape) {
.main {
width: 50vw;
min-height: 100vh;
@@ -123,15 +150,6 @@ body { overflow-x: hidden; }
}
@media (orientation: portrait) {
body {
background-color: #00FF00;
}
#container {
width: 100vw;
left: 0;
}
.main {
width: 100vw;
min-height: 50vh;