410 lines
7.3 KiB
CSS
410 lines
7.3 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Texturina:ital,wght@0,200;1,200&display=swap');
|
|
|
|
body {
|
|
font-family: 'Texturina', serif;
|
|
|
|
--PUP-BGCOLOR: #EFEFEF;
|
|
--PUP-BORDERCOLOR: gray;
|
|
--PAGE-BGCOLOR: #EFEFEF;
|
|
--BTN-INACT-BGCOLOR: #28C1C0;
|
|
--BTN-HOV-BGCOLOR: #198786;
|
|
--BTN-ACT-BGCOLOR: #90dedd;
|
|
--INPUT-INACT-BORDERCOLOR: lightgray;
|
|
--INPUT-ACT-BORDERCOLOR: var(--BTN-HOV-BGCOLOR);
|
|
--INPUT-BGCOLOR: var(--PUP-BGCOLOR);
|
|
--LABEL-TCOLOR: #0d4c4b;
|
|
|
|
--TITLE-COLOR: white;
|
|
--AUTHOR-COLOR: lightgray;
|
|
--DESC-COLOR: white;
|
|
|
|
background-color: var(--PAGE-BGCOLOR);
|
|
/*scrollbar-width: none;*/
|
|
}
|
|
|
|
html {
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
body::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
input, textarea {
|
|
font-family: 'Texturina', serif;
|
|
font-size: 16px;
|
|
background-color: var(--INPUT-BGCOLOR);
|
|
}
|
|
|
|
label {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
section.popup {
|
|
display: block;
|
|
position: fixed;
|
|
width: 600px;
|
|
height: 600px;
|
|
left: calc(50vw - 300px);
|
|
top: calc(50vh - 300px);
|
|
background-color: var(--PUP-BGCOLOR);
|
|
overflow: hidden;
|
|
border: 1px dashed var(--PUP-BORDERCOLOR);
|
|
border-radius: 0.5em;
|
|
z-index: 10;
|
|
}
|
|
|
|
section.popup-slider {
|
|
display: block;
|
|
position: absolute;
|
|
width: 1900px;
|
|
height: 600px;
|
|
background-color: var(--PUP-BGCOLOR);
|
|
left: 0px;
|
|
|
|
transition: 0.3s ease-in-out;
|
|
}
|
|
|
|
section.popup-inner-container {
|
|
display: inline-block;
|
|
width: 560px;
|
|
height: 560px;
|
|
margin: 10px;
|
|
padding: 10px;
|
|
vertical-align: bottom;
|
|
background-color: var(--PUP-BGCOLOR);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
section.popup {
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
|
|
width: unset;
|
|
height: unset;
|
|
}
|
|
|
|
section.popup-slider {
|
|
width: calc(300% + 100px);
|
|
height: 100%;
|
|
}
|
|
|
|
section.popup-inner-container {
|
|
width: calc(100vw - 40px);
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
section.btn,
|
|
section.upload-btn {
|
|
padding: 0.8em 1.2em;
|
|
background-color: var(--BTN-INACT-BGCOLOR);
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
color: white;
|
|
text-transform: uppercase;
|
|
font-weight: bold;
|
|
border-radius: 0.2em;
|
|
}
|
|
|
|
section.btn:hover,
|
|
section.upload-btn:hover {
|
|
background-color: var(--BTN-HOV-BGCOLOR);
|
|
}
|
|
|
|
section.btn:active,
|
|
section.upload-btn:active {
|
|
background-color: var(--BTN-ACT-BGCOLOR);
|
|
}
|
|
|
|
section.upload-btn {
|
|
padding: 1em 1em;
|
|
background-color: gray;
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
height: 2.4em;
|
|
width: 2.4em;
|
|
text-align: center;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
*[shown="false"] {
|
|
visibility: hidden;
|
|
display: none;
|
|
opacity: 0;
|
|
transition: 0.3s ease;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
*[shown="true"] {
|
|
opacity: 1;
|
|
transition: 0.3s ease;
|
|
}
|
|
|
|
label {
|
|
color: var(--LABEL-TCOLOR);
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="password"],
|
|
textarea {
|
|
margin-left: 20px;
|
|
border: 0;
|
|
border-bottom: 2px solid var(--INPUT-INACT-BORDERCOLOR);
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
input[type="text"],
|
|
input[type="password"],
|
|
textarea {
|
|
max-width: 80vw;
|
|
}
|
|
}
|
|
|
|
input[type="text"]:focus,
|
|
input[type="password"]:focus,
|
|
textarea:focus {
|
|
border-bottom-color: var(--INPUT-ACT-BORDERCOLOR);
|
|
}
|
|
|
|
section.upload-popup-closebtn {
|
|
font-size: 24px;
|
|
display: block;
|
|
float: right;
|
|
position: absolute;
|
|
z-index: 1000;
|
|
text-align: center;
|
|
right: 0.5em;
|
|
color: #c15353;
|
|
cursor: pointer;
|
|
}
|
|
|
|
section.display {
|
|
display: block;
|
|
position: absolute;
|
|
top: 5px;
|
|
left: 5px;
|
|
right: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
section.display {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
img.thumbnail {
|
|
margin: 0;
|
|
display: inline-block;
|
|
/*max-width: 600px;*/
|
|
border-radius: 2px;
|
|
opacity: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: 0.3s ease;
|
|
}
|
|
|
|
img.thumbnail:hover {
|
|
filter: brightness(130%);
|
|
}
|
|
|
|
section.thumbnail-container {
|
|
position: relative;
|
|
margin: 4px 4px;
|
|
display: inline-block;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
/*section.viewer {
|
|
position: fixed;
|
|
display: block;
|
|
z-index: 2000;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100vh;
|
|
width: 100vw;
|
|
background-color: rgba(0,0,0,0.9);
|
|
text-align: center;
|
|
|
|
opacity: 0;
|
|
|
|
transition: 0.3s ease;
|
|
}*/
|
|
|
|
section.viewer {
|
|
position: fixed;
|
|
display: flex;
|
|
z-index: 2000;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100vh;
|
|
width: 100vw;
|
|
background-color: rgba(0, 0, 0, 0.9);
|
|
text-align: center;
|
|
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
opacity: 0;
|
|
transition: 0.3s ease;
|
|
}
|
|
|
|
section.viewer[shown="true"]
|
|
{
|
|
opacity: 1;
|
|
}
|
|
|
|
img.viewer {
|
|
position: relative;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
z-index: 3000;
|
|
cursor: grab;
|
|
|
|
transition: opacity 0.3s, transform 0.3s ease;
|
|
}
|
|
|
|
img.viewer.loading {
|
|
transition: opacity 0s;
|
|
opacity: 0;
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
img.viewer {
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
}
|
|
|
|
span.art-title,
|
|
span.art-author,
|
|
span.art-desc {
|
|
display: block;
|
|
text-align: left;
|
|
}
|
|
|
|
span.art-title {
|
|
color: var(--TITLE-COLOR);
|
|
font-weight: bold;
|
|
font-size: 32px;
|
|
text-align: left;
|
|
text-indent: 1em;
|
|
}
|
|
|
|
span.art-author {
|
|
color: var(--AUTHOR-COLOR);
|
|
font-size: 20px;
|
|
margin-left: 3em;
|
|
}
|
|
|
|
span.art-desc {
|
|
right: 1em;
|
|
color: var(--DESC-COLOR);
|
|
font-size: 16px;
|
|
margin-left: 3.5em;
|
|
margin-top: 0.5em;
|
|
}
|
|
|
|
img.art-author-group {
|
|
height: 1.45em;
|
|
margin-left: 0.5em;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
@keyframes hide-art-caption {
|
|
0% { max-height: 100vh; background-color: rgba(0, 0, 0, 0.6); }
|
|
80% { max-height: 100vh; background-color: rgba(0, 0, 0, 0.6); }
|
|
100% { max-height: 24px; background-color: rgba(0, 0, 0, 0.0); }
|
|
}
|
|
|
|
section.art-captions {
|
|
display: block;
|
|
z-index: 4000;
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
padding-bottom: 2em;
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
|
|
opacity: 0;
|
|
max-height: 24px;
|
|
|
|
transition: 1s ease;
|
|
}
|
|
|
|
section.art-captions[shown="true"] {
|
|
animation-name: hide-art-caption;
|
|
animation-duration: 10s;
|
|
animation-delay: 0s;
|
|
/*animation-fill-mode: forwards;*/
|
|
|
|
background-color: rgba(0, 0, 0, 0.0);
|
|
transition: 1s ease;
|
|
}
|
|
|
|
section.art-captions[shown="true"]:hover {
|
|
max-height: 100vh !important;
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
transition: 1s ease;
|
|
}
|
|
|
|
section[shown="true"] {
|
|
opacity: 1;
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
section.art-captions {
|
|
padding-bottom: 5.5em;
|
|
}
|
|
}
|
|
|
|
section.testversion-sign {
|
|
position: fixed;
|
|
display: block;
|
|
background-color: #198786;
|
|
color: white;
|
|
left: -40px;
|
|
bottom: 33px;
|
|
transform: rotate(45deg);
|
|
width: 170px;
|
|
text-align: center;
|
|
}
|
|
|
|
span.thumb-title {
|
|
display: block;
|
|
position: absolute;
|
|
left: 0em;
|
|
bottom: 0em;
|
|
font-size: 24px;
|
|
right: 0;
|
|
color: white;
|
|
background-color: rgba(0,0,0,0.8);
|
|
padding-left: 1em;
|
|
padding-top: 0.2em;
|
|
padding-bottom: 0.2em;
|
|
|
|
opacity: 0;
|
|
|
|
transition: 0.3s ease;
|
|
}
|
|
|
|
section.thumbnail-container:hover > span.thumb-title {
|
|
opacity: 1;
|
|
}
|
|
|
|
section.blur-layer {
|
|
display: block;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 1;
|
|
filter: blur(10px);
|
|
} |