254 lines
5.7 KiB
CSS
254 lines
5.7 KiB
CSS
:root {
|
|
--bg-color: #161616;
|
|
|
|
/* purity colors */
|
|
--sfw-color-1: #99ff99;
|
|
--sfw-color-2: #92f592;
|
|
--sketchy-color-1: #ffff99;
|
|
--sketchy-color-2: #f0f08f;
|
|
--nsfw-color-1: #ff9999;
|
|
--nsfw-color-2: #ff9a99;
|
|
|
|
/* role colors */
|
|
--owner-color-1: #b336ed;
|
|
--owner-color-2: #b886ed;
|
|
--developer-color-1: #fa8072;
|
|
--admin-color-1: #ffd700;
|
|
--user-color-1: #4169e1;
|
|
--deleted-color-1: #aaaaaa;
|
|
}
|
|
|
|
html, body {
|
|
background-color: var(--bg-color);
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
h1, #header {
|
|
font-size: 2em;
|
|
color: white;
|
|
text-align: center;
|
|
}
|
|
|
|
@media only screen and (max-width: 75em) {
|
|
#searchbox input[type=text] { width: 45vw !important; }
|
|
}
|
|
@media only screen and (max-width: 950px) {
|
|
#wallmaster #wallpaperinfo, #wallmaster #bwallpaperview {
|
|
width: inherit;
|
|
height: auto;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
div, details { padding: 5px 10px 5px 10px; }
|
|
}
|
|
#wallmaster #wallpaperinfo { margin: 25px 0 0 0 !important; }
|
|
}
|
|
|
|
#searchbox {
|
|
text-align: center;
|
|
font-size: 1em;
|
|
}
|
|
#searchbox input[type=text] {
|
|
width: 50em;
|
|
height: 2.5em;
|
|
box-sizing: border-box;
|
|
border: 3px solid #ccc;
|
|
border-right: none;
|
|
outline: none;
|
|
}
|
|
#searchbox input[type=text]:focus { background: #aaa; }
|
|
#searchbox input[type=submit]:hover { background: #aaa; }
|
|
#searchbox input[type=submit] {
|
|
width: 2.5em;
|
|
height: 2.5em;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
margin: 0 1em 0 0;
|
|
background: #ccc;
|
|
border: 3px solid #ccc;
|
|
border-left: none;
|
|
}
|
|
|
|
#options { display: inline-block; }
|
|
|
|
#heaven {
|
|
-webkit-animation-name: heaven;
|
|
-webkit-animation-duration: 1s;
|
|
-webkit-animation-iteration-count: infinite;
|
|
-webkit-animation-direction: alternate;
|
|
}
|
|
|
|
@-webkit-keyframes heaven {
|
|
from {
|
|
text-shadow: 0 0 10px #ff9, 0 0 20px #ff9, 0 0 30px #fd8, 0 0 40px #fd8;
|
|
} to {
|
|
text-shadow: 0 0 10px #ff9, 0 0 20px #ff9, 0 0 30px #fd9, 0 0 40px #fd9, 0 0 50px #fd9, 0 0 60px #fd9;
|
|
}
|
|
}
|
|
|
|
#wallpapers {
|
|
text-align: center;
|
|
color: #fff;
|
|
}
|
|
#wallpapers img { margin: 5px; }
|
|
|
|
#wallmaster {
|
|
width: 100%;
|
|
height: 80%;
|
|
}
|
|
|
|
#wallpaperinfo {
|
|
width: 15%;
|
|
max-height: 100%;
|
|
margin-right: 10px;
|
|
padding: 10px;
|
|
float: left;
|
|
overflow: auto;
|
|
background-color: #1a1a1a;
|
|
color: #fff;
|
|
|
|
#uploader { text-align: center; }
|
|
#uploader span[title='Owner/Developer'] {
|
|
font-weight: bold;
|
|
color: var(--owner-color-1);
|
|
text-shadow: 0 0 2px var(--owner-color-1), 0 0 5px var(--owner-color-2);
|
|
}
|
|
#uploader span[title=Developer] {
|
|
font-weight: bold;
|
|
color: var(--developer-color-1);
|
|
}
|
|
#uploader span[title=Administrator] {
|
|
font-weight: bold;
|
|
color: var(--admin-color-1);
|
|
}
|
|
#uploader span[title=User] { color: var(--user-color-1); }
|
|
#uploader span[title=deleted] {
|
|
color: var(--deleted-color-1);
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
a#similar {
|
|
text-decoration: underline;
|
|
color: inherit;
|
|
float: right;
|
|
}
|
|
|
|
#tags span {
|
|
white-space: nowrap;
|
|
line-height: 1.8;
|
|
}
|
|
#tags span a { color: #000; }
|
|
#tags span[id=sfw], #properties span[id=sfw] {
|
|
color: #000;
|
|
background-color: var(--sfw-color-1);
|
|
border: 3px solid var(--sfw-color-2);
|
|
}
|
|
#tags span[id=sketchy], #properties span[id=sketchy] {
|
|
color: #000;
|
|
background-color: var(--sketchy-color-1);
|
|
border: 3px solid var(--sketchy-color-2);
|
|
}
|
|
#tags span[id=nsfw], #properties span[id=nsfw] {
|
|
color: #000;
|
|
background-color: var(--nsfw-color-1);
|
|
border: 3px solid var(--nsfw-color-2);
|
|
}
|
|
|
|
#properties p { color: #ccf; }
|
|
#tags a, summary { user-select: none; }
|
|
#properties span {
|
|
color: #fff;
|
|
float: right;
|
|
}
|
|
}
|
|
|
|
|
|
#bwallpaperview {
|
|
float: right;
|
|
width: 75%;
|
|
height: 100%;
|
|
overflow: scroll;
|
|
|
|
img {
|
|
cursor: zoom-in;
|
|
max-width: 75%;
|
|
max-height: 78vh;
|
|
width: auto;
|
|
height: auto;
|
|
display: block;
|
|
margin: 0 auto auto auto;
|
|
inset: 0;
|
|
}
|
|
|
|
input[type=checkbox]:checked~img {
|
|
cursor: zoom-out;
|
|
max-height: 100000000%;
|
|
max-width: 100000000%;
|
|
width: 150%;
|
|
}
|
|
}
|
|
|
|
#footer {
|
|
user-select: none;
|
|
text-align: center;
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
/* wallpaper preview borders */
|
|
#sfw { border: 3px solid var(--sfw-color-1); }
|
|
#sketchy { border: 3px solid var(--sketchy-color-1); }
|
|
#nsfw { border: 3px solid var(--nsfw-color-1); }
|
|
|
|
/* search category buttons */
|
|
input[type=checkbox] { display: none; }
|
|
input[type=checkbox] + label {
|
|
border: 3px solid var(--bg-color);
|
|
background-color: var(--bg-color);
|
|
color: white;
|
|
user-select: none;
|
|
}
|
|
input[type=checkbox] + label:hover {
|
|
border: 3px solid #555;
|
|
cursor: pointer;
|
|
}
|
|
input[type=checkbox]:checked + label { color: #000; }
|
|
/* sfw */
|
|
input[id=SFW]:checked + label {
|
|
background-color: var(--sfw-color-1);
|
|
border: 3px solid var(--sfw-color-2);
|
|
}
|
|
input[id=SFW]:checked + label:hover { border: 3px solid #77ff77; }
|
|
/* sketchy */
|
|
input[id=Sketchy]:checked + label {
|
|
background-color: var(--sketchy-color-1);
|
|
border: 3px solid var(--sketchy-color-2);
|
|
}
|
|
input[id=Sketchy]:checked + label:hover { border: 3px solid #ffff66; }
|
|
/* nsfw */
|
|
input[id=NSFW]:checked + label {
|
|
background-color: var(--nsfw-color-1);
|
|
border: 3px solid var(--nsfw-color-2);
|
|
}
|
|
input[id=NSFW]:checked + label:hover { border: 3px solid #ffaaaa; }
|
|
/* other tags */
|
|
input[id=General]:checked + label,
|
|
input[id=Anime]:checked + label,
|
|
input[id=People]:checked + label,
|
|
#properties span[id='category'] {
|
|
color: #000 !important;
|
|
background-color: #eeeeee;
|
|
border: 3px solid #efefef;
|
|
}
|
|
input[id=General]:checked + label:hover,
|
|
input[id=Anime]:checked + label:hover,
|
|
input[id=People]:checked + label:hover { border: 3px solid #afafaf; }
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: #fff;
|
|
}
|
|
a:hover { font-style: italic; }
|
|
|
|
#error { color: var(--nsfw-color-1); }
|
|
#warn { color: var(--sketchy-color-1); }
|
|
#info { color: var(--sfw-color-1); }
|