224 lines
4.4 KiB
CSS
224 lines
4.4 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=DotGothic16&family=Major+Mono+Display&family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap");
|
|
|
|
@import url("/public/css/buttons.css");
|
|
@import url("/public/css/vaporwave.css");
|
|
|
|
*,
|
|
*:after,
|
|
*:before {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
|
|
body {
|
|
font-family: "DotGothic16", serif;
|
|
letter-spacing: 0.025em;
|
|
line-height: 1.5;
|
|
min-height: 100vh;
|
|
color: #393232;
|
|
background: linear-gradient(180deg, #2b1165 0%, #1a3a82 37%, #ab24b1 69%, #f54171 100%);
|
|
/* background: linear-gradient(180deg, #ab24b1 0%, #f54171 37%, #2b1165 69%, #1a3a82 100%); */
|
|
background-color: #2b1165;
|
|
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
img {
|
|
display: block;
|
|
max-width: 100%;
|
|
}
|
|
|
|
article {
|
|
width: 90%;
|
|
max-width: 800px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: 10vh;
|
|
margin-bottom: 10vh;
|
|
padding: 2em;
|
|
background-color: #c0c0c0;
|
|
border-left: 2px solid #eee;
|
|
border-top: 2px solid #eee;
|
|
border-right: 2px solid #444;
|
|
border-bottom: 2px solid #444;
|
|
font-size: 1rem;
|
|
position: relative;
|
|
}
|
|
|
|
article:after {
|
|
content: "x";
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
line-height: 1;
|
|
padding-bottom: 0.25em;
|
|
position: absolute;
|
|
top: 0.75em;
|
|
right: 0.75em;
|
|
width: 1.75em;
|
|
height: 1.75em;
|
|
background-color: #c0c0c0;
|
|
border-left: 2px solid #eee;
|
|
border-top: 2px solid #eee;
|
|
border-right: 2px solid #444;
|
|
border-bottom: 2px solid #444;
|
|
}
|
|
|
|
.headline {
|
|
font-size: 2.5em;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.subhead {
|
|
font-size: 1.25em;
|
|
margin-top: 0.25em;
|
|
}
|
|
|
|
.article-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex-flow: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.article-meta div:first-of-type {
|
|
margin-left: 0.75em;
|
|
font-size: 0.875em;
|
|
margin-right: auto;
|
|
padding-right: 0.75em;
|
|
}
|
|
|
|
.article-meta div:last-of-type {
|
|
font-size: 0.875em;
|
|
}
|
|
|
|
aside {
|
|
padding: 1em;
|
|
border-right: 1px solid #eee;
|
|
border-bottom: 1px solid #eee;
|
|
border-left: 1px solid #444;
|
|
border-top: 1px solid #444;
|
|
clear: both;
|
|
}
|
|
|
|
.tag {
|
|
display: inline-block;
|
|
margin-right: 0.25em;
|
|
margin-top: 0.25em;
|
|
border-right: 1px solid #eee;
|
|
border-bottom: 1px solid #eee;
|
|
border-left: 1px solid #444;
|
|
border-top: 1px solid #444;
|
|
padding: 0.125em 0.375em;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
}
|
|
|
|
h2:not(.subhead) {
|
|
font-size: 1.5em;
|
|
font-weight: 700;
|
|
padding-bottom: 0.375em;
|
|
box-shadow: 0 1px 0 0 #444, 0 2px 0 0 #eee;
|
|
}
|
|
|
|
figure {
|
|
background-color: #c0c0c0;
|
|
box-shadow: 0 0 0 1px #eee, 0 0 0 2px #c0c0c0, 0 0 0 3px #444;
|
|
position: relative;
|
|
margin-bottom: 1.25em;
|
|
width: calc(100% + 1.5em + 2em);
|
|
|
|
@media (min-width: 800px) {
|
|
max-width: 50%;
|
|
}
|
|
}
|
|
|
|
figure:nth-of-type(odd) {
|
|
float: left;
|
|
margin-right: 1.5em;
|
|
margin-left: -3em;
|
|
}
|
|
|
|
figure:nth-of-type(even) {
|
|
float: right;
|
|
margin-left: 1.5em;
|
|
margin-right: -3em;
|
|
}
|
|
|
|
figure:after {
|
|
content: "";
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
display: block;
|
|
position: absolute;
|
|
background-image: linear-gradient(
|
|
to top,
|
|
rgba(#ff9100, 0.2) 0%,
|
|
rgba(#ffe630, 0.2) 60%
|
|
),
|
|
linear-gradient(20deg, rgba(#ff0, 0.5) 0%, rgba(#ff0, 0) 35%);
|
|
box-shadow: inset 0px 0px 100px rgba(0, 0, 20, 1);
|
|
z-index: 1;
|
|
}
|
|
|
|
figure figcaption {
|
|
font-family: "DotGothic16", monospace;
|
|
background-color: #8795e8;
|
|
box-shadow: inset 0 -1px 0 0 #020202;
|
|
color: #eee;
|
|
text-align: center;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 0.25em;
|
|
font-size: 0.875em;
|
|
z-index: 2;
|
|
}
|
|
|
|
#image-generation-result {
|
|
border: 2px outset gray;
|
|
background-color: #c0c0c0;
|
|
padding: 2px;
|
|
margin-left: 1rem;
|
|
height: 512px;
|
|
width: 512px;
|
|
|
|
background-size: cover;
|
|
background-position: center;
|
|
|
|
display: flex;
|
|
flex-flow: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.form-loader {
|
|
display: flex;
|
|
flex-flow: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: calc(100% - 16px);
|
|
height: 100%;
|
|
background-size: 512px;
|
|
background-position: center;
|
|
background-image: url(/public/img/gifs/loading.gif);
|
|
position: absolute;
|
|
background-repeat: no-repeat;
|
|
background-color: #c0c0c0e8;
|
|
}
|
|
|
|
form:not(.loading) .form-loader {
|
|
display: none !important;
|
|
}
|
|
|
|
img.vaporwave-image {
|
|
max-width: 480px;
|
|
position: absolute;
|
|
z-index: 0;
|
|
}
|
|
|
|
|