mirror of
https://wiilab.wiimart.org/wiimart/WiiMart-github-io
synced 2025-09-04 04:21:04 +02:00
98 lines
5.3 KiB
CSS
98 lines
5.3 KiB
CSS
@font-face {font-family: 'Shop'; src: url('shop.ttf') format('truetype'); font-weight: normal; font-style: normal;}
|
|
|
|
/*Main things*/
|
|
body {scroll-behavior:smooth;text-align: center;font-family: sans-serif;font-family:'Shop',sans-serif; overflow-x:hidden;transition:.1s ease-in-out;}
|
|
div {line-height:23.3px; background-color: white;border-radius: 5px;border-color: #34BEED;box-shadow: 0 0 10px #2525255d; box-sizing: border-box;border-width: 5px;border-style: solid; width: 35%; text-align: center;margin: 0 auto;padding: 5px;margin-top: 8px; overflow: auto;}
|
|
div.clear {border:none;background: none;box-shadow: none;}
|
|
button {margin-bottom: 6px;background-color: grey;font-family:'Shop',sans-serif;padding: 5px; border:none;outline:2px solid #34BEED; color:black;background-color:white;border-radius: 5px;background-color:#f6fdff;filter: drop-shadow(1px 1px 3.4px #bbbbbb);box-shadow:inset 1px 1px 12px #46464615;}
|
|
button:hover {border:none;outline:3px solid #34BEED;cursor: pointer;filter: drop-shadow(1px 1px 3.4px #34BEED7c);box-shadow:inset 1px 1px 12px #46464615;}
|
|
button:active {box-shadow: none;}
|
|
button:disabled {outline:2px solid grey;color:darkgrey;cursor: not-allowed;filter:none;}
|
|
|
|
footer {color:grey}
|
|
footer a {color:grey}
|
|
|
|
/* Text stuff */
|
|
h1, h2 {color:#34BEED;}
|
|
h1 {font-size: 30px;}
|
|
h1 a {text-decoration:none}
|
|
h1 img {position: absolute;top: 20px;margin-left: 10px}
|
|
|
|
a {color:#34BEED; font-weight: bold;}
|
|
::selection{color: #323232;background: #34BEED;}
|
|
::-moz-selection{color: #323232;background:#34BEED;}
|
|
body.dir {text-align: left;}
|
|
body.dir a {color:black;text-decoration: none;font-weight: normal;}
|
|
body.dir a:hover {color:#34BEED}
|
|
table {border: 1px solid white; border-collapse: collapse;}
|
|
th, td {border: 1px solid;}
|
|
div.mem {display: flex;align-items: flex-start;}
|
|
.uname {max-width:90%;word-wrap:break-word; word-break:break-word;}
|
|
div.pfp {display: flex;align-items: center;width: 100%;}
|
|
img.pfp {width:150px;height:150px; min-height:150px; min-width:150px; object-fit: cover;margin-right:10px;border-radius: 5px;}
|
|
p.mem {flex: 1;}
|
|
.ico {min-width:30px; min-height:30px; width:40px; height:40px;}
|
|
img.ico {vertical-align: middle; min-width:30px; min-height:30px; width:40px; height:40px;}
|
|
.blue {color:#1164E9;}
|
|
|
|
mark {color:white;background:#34BEED;font-weight:bold;}
|
|
mark.new {background-color: gold;border-radius: 10px; padding-right:5px; padding-left:5px;font-weight:bold;}
|
|
|
|
div.issue {border-color:red;color:red;width:100%;text-align:center;}
|
|
div.issue h2 {color:red;}
|
|
button.issue-button {outline: 2px solid red;}
|
|
.issue-detail {display:none;}
|
|
|
|
/* Gallery */
|
|
div.gallery {position: relative; overflow: hidden;width:100%;}
|
|
img.slide {width:100%; min-height:200px; min-width:100%;}
|
|
img.arrow {min-height:68px; position: absolute; top: 50%; transform: translateY(-50%); cursor: pointer; width: 60px; height: auto;}
|
|
img.left {left: 10px; animation: hoverAnimation 0.5s infinite alternate;}
|
|
img.right {right: 10px; animation: rightHoverAnimation 0.5s infinite alternate;}
|
|
@keyframes hoverAnimation {0% {transform: translateY(-50%) translateX(0);} 100% {transform: translateY(-50%) translateX(5px);}}
|
|
@keyframes rightHoverAnimation {0% {transform: translateY(-50%) translateX(0);} 100% {transform: translateY(-50%) translateX(-5px);}}
|
|
|
|
/* Music */
|
|
div#bgmplayer {z-index: 1000;transition:.3s ease-in-out; opacity:30%; position:fixed; bottom:3px; border:2px solid #34BEED; left:3px; float:left; width:160px; height:40px; overflow:hidden;}
|
|
div#bgmplayer:hover {opacity: 50%; transition:.3s ease-in-out; height:100px; width:200px; overflow:auto;scrollbar-width: none;}
|
|
div#bgmplayer h2 {height:20px; margin-top:-9px; line-height:40px}
|
|
div#bgmplayer p {line-height:20px;color:#9A9A9A;margin-top:-10px;font-style:italic;font-size:10px;}
|
|
|
|
|
|
/* Matt! Yea? update day! what?? New-New Wii Titles! What? im in the bathroom! Update day for WiiMart! */
|
|
#wednesdaytitles {margin-top:13px; margin-bottom:13px; border:none;position:relative; float:center; background-color:#FFF; transition:.3s ease-in-out;}
|
|
|
|
#whatiswsw {animation:wswpop 0.5s forwards;opacity:0%;position: fixed;top: 50%;left: 50%;transform: translate(-50%, -50%);text-align:center;z-index:999;transition:.3s ease-in-out;}
|
|
@keyframes wswpop {
|
|
10% {
|
|
opacity:0%;
|
|
}
|
|
100% {
|
|
opacity:100%;
|
|
}
|
|
}
|
|
|
|
/* Auto-resizer, do not change pls*/
|
|
@media (max-width: 768px) {div {width: 95%} }
|
|
|
|
/* Dark theme via system preference */
|
|
@media (prefers-color-scheme: dark)
|
|
{
|
|
body {background-color: black; color: #e0e0e0;}
|
|
div {background-color: #1e1e1e; border-color: #34BEED; box-shadow: 0 0 10px #000000CC;}
|
|
button {background-color: #3b3b3b; color: #e0e0e0; outline: 2px solid #34BEED; filter: drop-shadow(1px 1px 3.4px #00000099);}
|
|
button:hover {border:none;outline:3px solid #34BEED;cursor: pointer;filter: drop-shadow(1px 1px 3.4px #34BEED7c);box-shadow:inset 1px 1px 12px #46464615;}
|
|
button:active {box-shadow: none;}
|
|
button:disabled {outline:2px solid grey;color:darkgrey;cursor: not-allowed;}
|
|
footer, footer a {color: #999;}
|
|
h1, h2, a {color: #34BEED;}
|
|
::selection {color: #e0e0e0; background: #34BEED;}
|
|
::-moz-selection {color: #e0e0e0; background: #34BEED;}
|
|
mark {color:black;background:#34BEED;font-weight:bold;}
|
|
.blue {color:#5898ff;}
|
|
#errorCode {background-color: black;border: 2px solid grey;color:white;}
|
|
body.dir a {color:white}
|
|
mark {color:white}
|
|
#wednesdaytitles {color:white; background-color:#3b3b3b}
|
|
}
|