1559 lines
29 KiB
CSS
1559 lines
29 KiB
CSS
|
* {
|
||
|
image-rendering: pixelated;
|
||
|
}
|
||
|
|
||
|
* {
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
* {
|
||
|
user-select: none;
|
||
|
-webkit-user-select: none;
|
||
|
-moz-user-select: none;
|
||
|
-ms-user-select: none;
|
||
|
}
|
||
|
|
||
|
body,html {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
overflow: hidden;
|
||
|
font: 20pt verdana,"DejaVu Sans",sans-serif;
|
||
|
color: #fff;
|
||
|
text-shadow: #444 1px 1px;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
position: absolute;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
background: #3b5054;
|
||
|
background: -moz-radial-gradient(center,ellipse cover,#ecfafd 0,#c5d5d8 100%);
|
||
|
background: -webkit-gradient(radial,center center,0,center center,100%,color-stop(0,#ecfafd),color-stop(100%,#c5d5d8));
|
||
|
background: -webkit-radial-gradient(center,ellipse cover,#ecfafd 0,#c5d5d8 100%);
|
||
|
background: -o-radial-gradient(center,ellipse cover,#ecfafd 0,#c5d5d8 100%);
|
||
|
background: -ms-radial-gradient(center,ellipse cover,#ecfafd 0,#c5d5d8 100%);
|
||
|
background: radial-gradient(ellipse at center,#ecfafd 0,#c5d5d8 100%);
|
||
|
-webkit-transition: background 1s linear;
|
||
|
}
|
||
|
|
||
|
a, .spoiler:hover a {
|
||
|
cursor: pointer;
|
||
|
color: #f46;
|
||
|
transition: color .25s;
|
||
|
}
|
||
|
|
||
|
a:hover, .spoiler:hover a:hover {
|
||
|
color: #e05;
|
||
|
}
|
||
|
|
||
|
.link {
|
||
|
text-decoration: underline;
|
||
|
cursor: pointer;
|
||
|
color: #fe0;
|
||
|
}
|
||
|
|
||
|
table {
|
||
|
border: 0;
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
#names {
|
||
|
position: fixed;
|
||
|
top: 4px;
|
||
|
left: 4px;
|
||
|
font-size: 12px;
|
||
|
width: 90%;
|
||
|
width: -webkit-calc(100% - 110px);
|
||
|
width: -moz-calc(100% - 110px);
|
||
|
width: calc(100% - 110px);
|
||
|
}
|
||
|
|
||
|
#names .name {
|
||
|
float: left;
|
||
|
position: relative;
|
||
|
padding: 4px;
|
||
|
margin: 2px;
|
||
|
border-radius: 2px;
|
||
|
-webkit-border-radius: 2px;
|
||
|
-moz-border-radius: 2px;
|
||
|
min-width: 50px;
|
||
|
text-align: center;
|
||
|
cursor: pointer;
|
||
|
min-height: 15px;
|
||
|
line-height: 15px;
|
||
|
max-width: 100%;
|
||
|
}
|
||
|
|
||
|
#names .name.me:after {
|
||
|
content: "Me";
|
||
|
position: absolute;
|
||
|
top: -4px;
|
||
|
right: 50%;
|
||
|
font-size: 10px;
|
||
|
}
|
||
|
|
||
|
#names .name.owner:before {
|
||
|
content: url(/crown.png);
|
||
|
position: absolute;
|
||
|
top: -8px;
|
||
|
left: 4px;
|
||
|
}
|
||
|
|
||
|
#names .name.play {
|
||
|
transform: translateY(-4px);
|
||
|
-webkit-transform: translateY(-4px);
|
||
|
}
|
||
|
|
||
|
#names .name.muted-notes {
|
||
|
color: #f88;
|
||
|
}
|
||
|
|
||
|
#names .name.muted-notes:after {
|
||
|
content: "MUTE";
|
||
|
position: absolute;
|
||
|
top: -4px;
|
||
|
right: 50%;
|
||
|
font-size: 8px;
|
||
|
}
|
||
|
|
||
|
#names .name.muted-chat {
|
||
|
color: #f88;
|
||
|
}
|
||
|
|
||
|
#names .name.muted-chat:after {
|
||
|
content: "MUTE";
|
||
|
position: absolute;
|
||
|
top: -4px;
|
||
|
right: 50%;
|
||
|
font-size: 8px;
|
||
|
}
|
||
|
|
||
|
.nametag {
|
||
|
float: left;
|
||
|
position: relative;
|
||
|
padding: 4px;
|
||
|
margin-right: 5px;
|
||
|
border-radius: 2px;
|
||
|
-webkit-border-radius: 2px;
|
||
|
-moz-border-radius: 2px;
|
||
|
text-align: center;
|
||
|
cursor: pointer;
|
||
|
font-size: 10px;
|
||
|
line-height: 7px;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
.nametext {
|
||
|
white-space: pre;
|
||
|
white-space: -moz-nowrap !important;
|
||
|
white-space: -webkit-nowrap;
|
||
|
white-space: nowrap;
|
||
|
word-wrap: break-word;
|
||
|
word-break: break-all;
|
||
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
|
max-width: 100%;
|
||
|
}
|
||
|
|
||
|
input[type="range"] {
|
||
|
-webkit-appearance: none; /* Remove Safari default */
|
||
|
outline: none;
|
||
|
width: 210px;
|
||
|
height: 5px;
|
||
|
border-radius: 1px;
|
||
|
position: relative;
|
||
|
|
||
|
|
||
|
background-image: -webkit-gradient( linear, left top, right top,
|
||
|
color-stop( 0, hsla(254, 100%, 25%, 0.8) ),
|
||
|
color-stop( .08, hsla(254, 100%, 13%, 0.8) ),
|
||
|
color-stop( .5, hsl(200,80%,0%) ),
|
||
|
color-stop( .92, hsl(200,80%,15%) ),
|
||
|
color-stop( 1, hsl(200,80%,45%) )
|
||
|
);
|
||
|
|
||
|
-webkit-background-clip: padding-box;
|
||
|
border: 0;
|
||
|
border-bottom: 2px solid rgba(0,0,0,0.1);
|
||
|
cursor: ew-resize;
|
||
|
}
|
||
|
|
||
|
input[type="range"]::-webkit-slider-thumb {
|
||
|
-webkit-appearance: none; /* Remove Safari default */
|
||
|
position: relative;
|
||
|
z-index: 1;
|
||
|
|
||
|
width: 10px;
|
||
|
height: 20px;
|
||
|
border-radius: 1px / 2px ;
|
||
|
|
||
|
background-image: -webkit-gradient( linear, left top, right top,
|
||
|
color-stop( 0, hsl(0,0%,15%) ),
|
||
|
color-stop( .16, hsl(0,0%,22%) ),
|
||
|
color-stop( .18, hsl(0,0%,30%) ),
|
||
|
color-stop( .2, hsl(0,0%,26%) ),
|
||
|
|
||
|
|
||
|
|
||
|
color-stop( .8, hsl(0,0%,26%) ),
|
||
|
color-stop( .82, hsl(0,0%,30%) ),
|
||
|
color-stop( .84, hsl(0,0%,22%) ),
|
||
|
color-stop( 1, hsl(0,0%,15%) )
|
||
|
);
|
||
|
|
||
|
-webkit-box-shadow:
|
||
|
|
||
|
inset hsla(0,0%,100%,.15) 0 1px 0px,
|
||
|
|
||
|
hsl(0,0%,17%) 0 2px 0px,
|
||
|
hsl(0,0%,15%) 0 4px 0px,
|
||
|
hsl(0,0%,13%) 0 6px 0px,
|
||
|
|
||
|
rgba(0,0,0,.5) 0 8px 5px;
|
||
|
|
||
|
-webkit-transform: translateY(-3px);
|
||
|
-webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0.6, transparent), to( rgba(255,255,255,0.15) ));
|
||
|
}
|
||
|
|
||
|
input[type="range"]:hover {
|
||
|
|
||
|
background-image: -webkit-gradient( linear, left top, right top,
|
||
|
color-stop( 0, hsla(284, 100%, 25%, 0.8) ),
|
||
|
color-stop( .08, hsla(284, 100%, 13%, 0.8) ),
|
||
|
color-stop( .5, hsl(200,80%,0%) ),
|
||
|
color-stop( .92, hsl(200,80%,15%) ),
|
||
|
color-stop( 1, hsl(200,80%,45%) )
|
||
|
);
|
||
|
|
||
|
-webkit-box-shadow: inset #000 1px 1px 1px, inset #000 -1px -1px 1px;
|
||
|
|
||
|
}
|
||
|
|
||
|
#piano {
|
||
|
width: 95%;
|
||
|
height: 20%;
|
||
|
margin: auto;
|
||
|
position: relative;
|
||
|
overflow: hidden;
|
||
|
padding-left: 1%;
|
||
|
}
|
||
|
|
||
|
#piano .key {
|
||
|
float: left;
|
||
|
width: 1.8%;
|
||
|
height: 90%;
|
||
|
border: 1px solid #000;
|
||
|
background: #fff;
|
||
|
margin-left: -.5%;
|
||
|
margin-bottom: 100%;
|
||
|
box-shadow: 1px 2px 5px #000;
|
||
|
-webkit-box-shadow: 1px 2px 5px #000;
|
||
|
-moz-box-shadow: 1px 2px 5px #000;
|
||
|
border-radius: 2px;
|
||
|
-webkit-border-radius: 2px;
|
||
|
-moz-border-radius: 2px;
|
||
|
transition: background 4s ease-out;
|
||
|
-webkit-transition: background 4s ease-out;
|
||
|
-moz-transition: background 4s ease-out;
|
||
|
-o-transition: background 4s ease-out;
|
||
|
padding: 0;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
#piano .key.c,#piano .key.f {
|
||
|
margin-left: 0;
|
||
|
}
|
||
|
|
||
|
#piano .key.sharp {
|
||
|
width: 1.2%;
|
||
|
height: 50%;
|
||
|
background: #000;
|
||
|
margin-left: -.9%;
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
#piano .key.loading {
|
||
|
background: #888;
|
||
|
}
|
||
|
|
||
|
#piano .key.play {
|
||
|
transform: translateY(1%);
|
||
|
-webkit-transform: translateY(1%);
|
||
|
-webkit-box-shadow: 0 1px 2px #000;
|
||
|
}
|
||
|
|
||
|
.ease-out {
|
||
|
transition: left .1s ease-out;
|
||
|
-webkit-transition: left .1s ease-out;
|
||
|
-moz-transition: left .1s ease-out;
|
||
|
-o-transition: left .1s ease-out;
|
||
|
}
|
||
|
|
||
|
.ease-in {
|
||
|
transition: left .1s ease-in;
|
||
|
-webkit-transition: left .1s ease-in;
|
||
|
-moz-transition: left .1s ease-in;
|
||
|
-o-transition: left .1s ease-in;
|
||
|
}
|
||
|
|
||
|
.slide-left {
|
||
|
left: -100%;
|
||
|
}
|
||
|
|
||
|
.slide-right {
|
||
|
left: 100%;
|
||
|
}
|
||
|
|
||
|
.cursor {
|
||
|
width: 18px;
|
||
|
height: 24px;
|
||
|
background: url(/cursor.png);
|
||
|
position: absolute;
|
||
|
pointer-events: none;
|
||
|
margin-left: -2px;
|
||
|
margin-top: -2px;
|
||
|
left: 200%;
|
||
|
top: 100%;
|
||
|
}
|
||
|
|
||
|
.cursor .name {
|
||
|
display: block;
|
||
|
align-items: center;
|
||
|
position: relative;
|
||
|
white-space: nowrap;
|
||
|
height: fit-content;
|
||
|
width: fit-content;
|
||
|
line-height: 15px;
|
||
|
text-align: center;
|
||
|
border-radius: 3px;
|
||
|
left: 18px;
|
||
|
top: 12px;
|
||
|
pointer-events: none;
|
||
|
color: #fff;
|
||
|
}
|
||
|
|
||
|
.cursor .name span.nametext {
|
||
|
display: inline-block;
|
||
|
pointer-events: none;
|
||
|
color: #fff;
|
||
|
border-radius: 2px;
|
||
|
margin-bottom: 1px;
|
||
|
white-space: nowrap;
|
||
|
flex-shrink: 0;
|
||
|
font-size: 10px;
|
||
|
}
|
||
|
|
||
|
|
||
|
.cursor .name .curtag {
|
||
|
display: inline-block;
|
||
|
font-size: 10px;
|
||
|
line-height: 7px;
|
||
|
margin-right: 5px;
|
||
|
margin-bottom: 1px;
|
||
|
border-radius: 5px;
|
||
|
margin-left: 1px;
|
||
|
overflow: hidden;
|
||
|
position: relative;
|
||
|
padding: 4px;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
|
||
|
.cursor.owner .name:after {
|
||
|
content: url(/crown.png);
|
||
|
position: relative;
|
||
|
top: -8px;
|
||
|
left: 0;
|
||
|
}
|
||
|
|
||
|
.cursor .name {
|
||
|
display: inline-block;
|
||
|
padding: 1px;
|
||
|
}
|
||
|
|
||
|
.cursor {
|
||
|
transition: top .1s, left .1s;
|
||
|
}
|
||
|
|
||
|
#cursors[smooth-cursors] .cursor {
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
transition: transform .1s linear;
|
||
|
}
|
||
|
|
||
|
.participant-menu {
|
||
|
display: none;
|
||
|
position: fixed;
|
||
|
background: #000;
|
||
|
width: 150px;
|
||
|
font-size: 12px;
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
border-radius: 2px;
|
||
|
}
|
||
|
|
||
|
.participant-menu:last-child .menu-item:hover {
|
||
|
border-bottom-left-radius: inherit;
|
||
|
border-bottom-right-radius: inherit;
|
||
|
}
|
||
|
|
||
|
.participant-menu .info {
|
||
|
height: 40px;
|
||
|
text-align: center;
|
||
|
line-height: 40px;
|
||
|
font-size: 9px;
|
||
|
color: rgba(255,255,255,.9);
|
||
|
overflow: hidden;
|
||
|
opacity: 0;
|
||
|
transition: opacity .2s ease-out;
|
||
|
user-select: text;
|
||
|
}
|
||
|
|
||
|
.participant-menu .info:hover {
|
||
|
opacity: 1;
|
||
|
transition: opacity .2s ease-out;
|
||
|
}
|
||
|
|
||
|
.participant-menu .menu-item {
|
||
|
cursor: pointer;
|
||
|
margin: 0;
|
||
|
padding: 15px 5px;
|
||
|
border-top: 1px solid rgba(255,255,255,.3);
|
||
|
}
|
||
|
|
||
|
.participant-menu .menu-item:hover {
|
||
|
background: rgba(255,255,255,.4);
|
||
|
}
|
||
|
|
||
|
.participant-menu .menu-item.clicked {
|
||
|
background: rgba(255,255,255,.5);
|
||
|
}
|
||
|
|
||
|
#crown {
|
||
|
position: absolute;
|
||
|
width: 16px;
|
||
|
height: 16px;
|
||
|
background: url(/crown.png) no-repeat;
|
||
|
cursor: pointer;
|
||
|
font-size: 10px;
|
||
|
}
|
||
|
|
||
|
#crown span {
|
||
|
margin-left: 16px;
|
||
|
margin-top: 2px;
|
||
|
}
|
||
|
|
||
|
#room-notice {
|
||
|
position: fixed;
|
||
|
top: 20%;
|
||
|
width: 100%;
|
||
|
text-align: center;
|
||
|
opacity: .5;
|
||
|
font-size: 20px;
|
||
|
pointer-events: none;
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
#room-notice p {
|
||
|
margin: 1em;
|
||
|
}
|
||
|
|
||
|
#bottom {
|
||
|
position: fixed;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
height: 60px;
|
||
|
background: #9a9;
|
||
|
margin-bottom: 3px;
|
||
|
}
|
||
|
|
||
|
#room,#room * {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
#room {
|
||
|
position: absolute;
|
||
|
left: 0;
|
||
|
top: 0;
|
||
|
padding: 5px;
|
||
|
width: 240px;
|
||
|
height: 12px;
|
||
|
background: #444;
|
||
|
border: 1px solid #ccc;
|
||
|
cursor: pointer;
|
||
|
margin: 4px 24px;
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
|
||
|
#room .info {
|
||
|
white-space: nowrap;
|
||
|
line-height: 12px;
|
||
|
overflow: hidden;
|
||
|
height: 20px;
|
||
|
}
|
||
|
|
||
|
#room .info.lobby {
|
||
|
color: #efb;
|
||
|
}
|
||
|
|
||
|
#room .info.not-visible {
|
||
|
color: #8cf;
|
||
|
}
|
||
|
|
||
|
#room .info.banned {
|
||
|
color: #f88;
|
||
|
}
|
||
|
|
||
|
#room .info.crownsolo:after {
|
||
|
content: url('/crownsolo.png');
|
||
|
position: relative; top: 2px;
|
||
|
margin-left: 4px;
|
||
|
}
|
||
|
|
||
|
#room .info.no-chat:after {
|
||
|
content: url('/no-chat.png');
|
||
|
position: relative; top: 2px;
|
||
|
margin-left: 4px;
|
||
|
}
|
||
|
|
||
|
#room .expand {
|
||
|
width: 24px;
|
||
|
height: 100%;
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
top: 0;
|
||
|
background: #777 url(/arrow.png) no-repeat center 0;
|
||
|
}
|
||
|
|
||
|
#room .more {
|
||
|
display: none;
|
||
|
position: absolute;
|
||
|
bottom: 100%;
|
||
|
left: -1px;
|
||
|
width: 100%;
|
||
|
overflow: hidden;
|
||
|
overflow-y: scroll;
|
||
|
background: #444;
|
||
|
border: 1px solid #ccc;
|
||
|
max-height: 600px;
|
||
|
}
|
||
|
|
||
|
#room .more>div {
|
||
|
margin: 0;
|
||
|
padding: 3px 6px 0 6px;
|
||
|
width: 100%;
|
||
|
height: 20px;
|
||
|
}
|
||
|
|
||
|
#room .more .info:hover {
|
||
|
background: #666;
|
||
|
}
|
||
|
|
||
|
#room .more .new {
|
||
|
background: #111;
|
||
|
}
|
||
|
|
||
|
#room .more .new:hover {
|
||
|
background: #333;
|
||
|
}
|
||
|
|
||
|
.ugly-button {
|
||
|
height: 12px;
|
||
|
font-size: 12px;
|
||
|
background: #111;
|
||
|
border: 1px solid #444;
|
||
|
padding: 5px;
|
||
|
cursor: pointer;
|
||
|
line-height: 12px;
|
||
|
border-radius: 2px;
|
||
|
-webkit-border-radius: 2px;
|
||
|
-moz-border-radius: 2px;
|
||
|
overflow: hidden;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
|
||
|
.ugly-button:hover {
|
||
|
background: #222;
|
||
|
}
|
||
|
|
||
|
.ugly-button.stuck {
|
||
|
background: rgba(204,187,170,.35);
|
||
|
}
|
||
|
|
||
|
.buttons {
|
||
|
position: absolute;
|
||
|
left: 300px;
|
||
|
top: 4px;
|
||
|
margin-right: 120px;
|
||
|
grid-auto-flow: column;
|
||
|
display: grid;
|
||
|
grid-template-rows: repeat(2, 1fr);
|
||
|
grid-column-gap: 2px;
|
||
|
grid-row-gap: 2px;
|
||
|
}
|
||
|
|
||
|
#client-settings-ok-btn {
|
||
|
position: absolute;
|
||
|
right: 8px;
|
||
|
bottom: 8px;
|
||
|
font-size: 24px;
|
||
|
height: 20px;
|
||
|
padding-top: 14px;
|
||
|
width: 18%;
|
||
|
}
|
||
|
|
||
|
#client-settings-ok-btn:hover {
|
||
|
background: #222;
|
||
|
}
|
||
|
|
||
|
#tooltip {
|
||
|
position: absolute;
|
||
|
pointer-events: none;
|
||
|
background: #000;
|
||
|
color: #fff;
|
||
|
font-size: 10px;
|
||
|
}
|
||
|
|
||
|
.knob {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.switched-on {
|
||
|
background: #ff8;
|
||
|
}
|
||
|
|
||
|
#status {
|
||
|
position: absolute;
|
||
|
left: 0;
|
||
|
bottom: 10px;
|
||
|
width: 320px;
|
||
|
height: 20px;
|
||
|
padding: 5px;
|
||
|
font-size: 20px;
|
||
|
font-weight: 800;
|
||
|
line-height: 20px;
|
||
|
pointer-events: none;
|
||
|
}
|
||
|
|
||
|
#status .number {
|
||
|
font-size: 35px;
|
||
|
}
|
||
|
|
||
|
#volume {
|
||
|
position: absolute;
|
||
|
right: 20px;
|
||
|
top: 0;
|
||
|
width: 100px;
|
||
|
height: 40px;
|
||
|
margin: 10px;
|
||
|
}
|
||
|
|
||
|
#volume-slider {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
background: url(/volume2.png) no-repeat;
|
||
|
background-position: 50% 50%;
|
||
|
-webkit-appearance: none;
|
||
|
-moz-box-shadow: none;
|
||
|
-webkit-box-shadow: none;
|
||
|
box-shadow: none;
|
||
|
border: 0;
|
||
|
}
|
||
|
|
||
|
#volume-label {
|
||
|
position: absolute;
|
||
|
right: 30px;
|
||
|
bottom: 10px;
|
||
|
font-size: 10px;
|
||
|
color: #ccc;
|
||
|
}
|
||
|
|
||
|
#banner {
|
||
|
width: 468px;
|
||
|
height: 60px;
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
top: 0;
|
||
|
font-size: 18px;
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
#banner a {
|
||
|
color: #fd0;
|
||
|
}
|
||
|
|
||
|
#quota {
|
||
|
width: 100%;
|
||
|
height: 3px;
|
||
|
position: fixed;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
background: #f80;
|
||
|
}
|
||
|
|
||
|
#quota .value {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
display: block;
|
||
|
background: #fd0;
|
||
|
}
|
||
|
|
||
|
.relative {
|
||
|
position: relative;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
.notification {
|
||
|
position: absolute;
|
||
|
}
|
||
|
|
||
|
.notification-body {
|
||
|
background: #222;
|
||
|
border-color: #555;
|
||
|
padding: 10px;
|
||
|
position: relative;
|
||
|
left: 0;
|
||
|
top: 0;
|
||
|
color: #fff;
|
||
|
font-size: 12px;
|
||
|
text-shadow: #444 1px 1px;
|
||
|
border-radius: 6px;
|
||
|
box-shadow: 2px 2px 5px rgba(0,0,0,.25);
|
||
|
}
|
||
|
|
||
|
.notification-body .text {
|
||
|
user-select: text;
|
||
|
-webkit-user-select: text;
|
||
|
-moz-user-select: text;
|
||
|
-ms-user-select: text;
|
||
|
}
|
||
|
|
||
|
.notification-body:after {
|
||
|
content: "";
|
||
|
position: absolute;
|
||
|
top: 100%;
|
||
|
left: 50%;
|
||
|
margin-left: -3px;
|
||
|
border-top: 10px solid transparent;
|
||
|
border-top-color: inherit;
|
||
|
border-left: 6px solid transparent;
|
||
|
border-right: 6px solid transparent;
|
||
|
}
|
||
|
|
||
|
.title {
|
||
|
border-bottom: 1px solid #f50;
|
||
|
font-size: 16px;
|
||
|
font-weight: 700;
|
||
|
padding-bottom: 5px;
|
||
|
margin-bottom: 8px;
|
||
|
}
|
||
|
|
||
|
.notification .x {
|
||
|
position: absolute;
|
||
|
right: 4px;
|
||
|
top: 0;
|
||
|
cursor: pointer;
|
||
|
font-size: 20px;
|
||
|
color: #d55;
|
||
|
text-shadow: none;
|
||
|
}
|
||
|
|
||
|
.notification .x:hover {
|
||
|
color: #f66;
|
||
|
}
|
||
|
|
||
|
.notification.classic .notification-body {
|
||
|
width: 400px;
|
||
|
background: #222;
|
||
|
border-color: #555;
|
||
|
}
|
||
|
|
||
|
.notification.short .title {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.notification h1 {
|
||
|
font-size: 14px;
|
||
|
font-weight: 700;
|
||
|
padding-top: 8px;
|
||
|
padding-bottom: 8px;
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
|
||
|
.notification .connection {
|
||
|
padding: 8px;
|
||
|
margin: 8px;
|
||
|
background: #fed;
|
||
|
border: 1px solid #f84;
|
||
|
cursor: pointer;
|
||
|
font-family: monospace;
|
||
|
}
|
||
|
|
||
|
.notification .connection.enabled {
|
||
|
background: #dfd;
|
||
|
}
|
||
|
|
||
|
.notification .connection:after {
|
||
|
content: "OFF";
|
||
|
font-size: 10px;
|
||
|
color: #a44;
|
||
|
float: right;
|
||
|
}
|
||
|
|
||
|
.notification .connection.enabled:after {
|
||
|
content: "ON";
|
||
|
font-size: 10px;
|
||
|
color: #4a4;
|
||
|
float: right;
|
||
|
}
|
||
|
|
||
|
.notification .connection:hover {
|
||
|
font-weight: 700;
|
||
|
}
|
||
|
|
||
|
.notification ul {
|
||
|
list-style-type: upper-roman;
|
||
|
}
|
||
|
|
||
|
.notification .setting {
|
||
|
margin: 1px;
|
||
|
padding: 4px;
|
||
|
background: 0 0 #5b2525;
|
||
|
border: 1px solid #555;
|
||
|
border-radius: 4px;
|
||
|
cursor: pointer;
|
||
|
font-family: monospace;
|
||
|
}
|
||
|
.notification .setting.enabled {
|
||
|
background: #2b562b;
|
||
|
font-weight: bolder;
|
||
|
}
|
||
|
|
||
|
.notification .pack {
|
||
|
margin: 1px;
|
||
|
padding: 4px;
|
||
|
background: 0 0;
|
||
|
border: 1px solid #555;
|
||
|
border-radius: 4px;
|
||
|
cursor: pointer;
|
||
|
font-family: monospace;
|
||
|
}
|
||
|
|
||
|
.notification .pack.enabled {
|
||
|
background: #2b562b;
|
||
|
cursor: not-allowed;
|
||
|
font-weight: bolder;
|
||
|
}
|
||
|
|
||
|
.notification .pack:after {
|
||
|
content: "";
|
||
|
font-size: 10px;
|
||
|
color: #a44;
|
||
|
float: right;
|
||
|
}
|
||
|
|
||
|
.notification .pack.enabled:after {
|
||
|
content: "Selected";
|
||
|
font-size: 10px;
|
||
|
color: #fff;
|
||
|
float: right;
|
||
|
}
|
||
|
|
||
|
.notification .pack:hover {
|
||
|
font-weight: 700;
|
||
|
}
|
||
|
|
||
|
#modal {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
position: fixed;
|
||
|
left: 0;
|
||
|
top: 0;
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
#modal .bg {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
background: #48a;
|
||
|
opacity: .5;
|
||
|
position: absolute;
|
||
|
left: 0;
|
||
|
top: 0;
|
||
|
}
|
||
|
|
||
|
#modal,#modal * {
|
||
|
user-select: text;
|
||
|
-webkit-user-select: text;
|
||
|
-moz-user-select: text;
|
||
|
-ms-user-select: text;
|
||
|
}
|
||
|
|
||
|
.dialog {
|
||
|
background: #222;
|
||
|
width: 400px;
|
||
|
height: 100px;
|
||
|
position: fixed;
|
||
|
left: 50%;
|
||
|
top: 50%;
|
||
|
margin-left: -200px;
|
||
|
margin-top: -50px;
|
||
|
padding: 10px;
|
||
|
border: 1px solid #555;
|
||
|
overflow: hidden;
|
||
|
border-radius: 4px;
|
||
|
-webkit-border-radius: 4px;
|
||
|
-moz-border-radius: 4px;
|
||
|
box-shadow: 0 0 8px #000;
|
||
|
-webkit-box-shadow: 0 0 8px #000;
|
||
|
-moz-box-shadow: 0 0 8px #000;
|
||
|
}
|
||
|
|
||
|
.dialog p {
|
||
|
margin: 10px;
|
||
|
font-size: 20px;
|
||
|
}
|
||
|
|
||
|
.dialog input.text {
|
||
|
font-size: 20px;
|
||
|
height: 20px;
|
||
|
width: 75%;
|
||
|
}
|
||
|
|
||
|
.dialog input.checkbox {
|
||
|
margin: 0 5px;
|
||
|
}
|
||
|
|
||
|
.dialog .submit {
|
||
|
background: #fe4;
|
||
|
border: none;
|
||
|
padding: 7px 40px 20px 30px;
|
||
|
font-size: 20px;
|
||
|
color: #000;
|
||
|
text-shadow: #444 2px 2px 2px;
|
||
|
border-radius: 4px;
|
||
|
-webkit-border-radius: 4px;
|
||
|
-moz-border-radius: 4px;
|
||
|
box-shadow: inset 0 0 4px #000;
|
||
|
-webkit-box-shadow: inset 0 0 4px #000;
|
||
|
-moz-box-shadow: inset 0 0 4px #000;
|
||
|
transition: all .25s;
|
||
|
-webkit-transition: all .25s;
|
||
|
-moz-transition: all .25s;
|
||
|
-o-transition: all .25s;
|
||
|
position: absolute;
|
||
|
bottom: -10px;
|
||
|
right: -10px;
|
||
|
}
|
||
|
|
||
|
.dialog .submit:hover {
|
||
|
background: #ff8;
|
||
|
transition: all .25s;
|
||
|
-webkit-transition: all .25s;
|
||
|
-moz-transition: all .25s;
|
||
|
-o-transition: all .25s;
|
||
|
}
|
||
|
|
||
|
#room-settings {
|
||
|
height: 400px;
|
||
|
margin-top: -200px;
|
||
|
}
|
||
|
|
||
|
#siteban {
|
||
|
height: 400px;
|
||
|
margin-top: -200px;
|
||
|
}
|
||
|
|
||
|
#account > .ugly-button {
|
||
|
width: min-content;
|
||
|
}
|
||
|
#account {
|
||
|
height: 300px;
|
||
|
margin-top: -150px;
|
||
|
}
|
||
|
|
||
|
#account-info {
|
||
|
position: absolute;
|
||
|
top: 8px;
|
||
|
right: 8px;
|
||
|
}
|
||
|
|
||
|
#client-settings {
|
||
|
height: 300px;
|
||
|
margin-top: -150px;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
#client-settings div {
|
||
|
float: left;
|
||
|
margin-left: 2px;
|
||
|
}
|
||
|
|
||
|
.client-settings-tablink {
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
|
||
|
.client-settings-tablink.active {
|
||
|
background-color: rgb(69, 69, 69);
|
||
|
}
|
||
|
|
||
|
.client-settings-button {
|
||
|
height: 14px;
|
||
|
font-size: 18px;
|
||
|
background: #111;
|
||
|
border: 1px solid #444;
|
||
|
padding: 6px;
|
||
|
cursor: pointer;
|
||
|
line-height: 12px;
|
||
|
width: 84px;
|
||
|
overflow: hidden;
|
||
|
white-space: nowrap;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
/* .client-settings-button:hover {
|
||
|
background: #222;
|
||
|
} */
|
||
|
|
||
|
.client-settings-button.stuck {
|
||
|
background: rgba(204,187,170,.35);
|
||
|
}
|
||
|
|
||
|
#client-settings-content {
|
||
|
float: unset !important;
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
|
||
|
.logged-in-text {
|
||
|
font-size: 20px;
|
||
|
}
|
||
|
|
||
|
.logged-in-user-text {
|
||
|
font-size: 20px;
|
||
|
position: absolute;
|
||
|
top: 160px;
|
||
|
right: 8px;
|
||
|
}
|
||
|
|
||
|
#chat {
|
||
|
display: none;
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
#chat {
|
||
|
position: fixed;
|
||
|
bottom: 64px;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
vertical-align: bottom;
|
||
|
font-size: 13px;
|
||
|
color: #fff;
|
||
|
text-shadow: #888 1px 1px;
|
||
|
}
|
||
|
|
||
|
#chat,#chat * {
|
||
|
user-select: text;
|
||
|
-webkit-user-select: text;
|
||
|
-moz-user-select: text;
|
||
|
-ms-user-select: text;
|
||
|
}
|
||
|
|
||
|
#chat ul {
|
||
|
list-style: none;
|
||
|
margin: 4px;
|
||
|
padding: 0;
|
||
|
background-attachment: local;
|
||
|
}
|
||
|
|
||
|
#chat li {
|
||
|
padding: 2px;
|
||
|
opacity: 0;
|
||
|
transition: border 0.5s, background 0.5s;
|
||
|
border: 1px solid #00000000;
|
||
|
}
|
||
|
|
||
|
#chat li .reply {
|
||
|
margin-right: 4px;
|
||
|
padding-inline: 5px;
|
||
|
background-color: #111;
|
||
|
border: 1px solid #444;
|
||
|
text-shadow: none;
|
||
|
border-radius: 2px;
|
||
|
-webkit-border-radius: 2px;
|
||
|
-moz-border-radius: 2px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
#chat li .replyLink {
|
||
|
margin-right: 8px;
|
||
|
padding-inline: 4px;
|
||
|
border-radius: 2px;
|
||
|
-webkit-border-radius: 2px;
|
||
|
-moz-border-radius: 2px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
#chat li .receivedDm {
|
||
|
margin-right: 8px;
|
||
|
}
|
||
|
|
||
|
#chat li .sentDm {
|
||
|
margin-right: 8px;
|
||
|
}
|
||
|
|
||
|
#chat li .otherDm {
|
||
|
margin-right: 8px;
|
||
|
}
|
||
|
|
||
|
#chat li .dmArrow {
|
||
|
margin-right: 8px;
|
||
|
}
|
||
|
|
||
|
#chat li .timestamp {
|
||
|
margin-right: 8px;
|
||
|
font-family: monospace;
|
||
|
}
|
||
|
|
||
|
#chat li .id {
|
||
|
margin-right: 8px;
|
||
|
cursor: pointer;
|
||
|
font-family: monospace;
|
||
|
}
|
||
|
|
||
|
#chat li .id2 {
|
||
|
margin-right: 8px;
|
||
|
cursor: pointer;
|
||
|
font-family: monospace;
|
||
|
}
|
||
|
|
||
|
#chat li .name {
|
||
|
font-weight: 700;
|
||
|
margin-right: 8px;
|
||
|
}
|
||
|
#chat li .name2 {
|
||
|
font-weight: 700;
|
||
|
margin-right: 8px;
|
||
|
}
|
||
|
|
||
|
#chat li .message {
|
||
|
margin-right: 6px;
|
||
|
}
|
||
|
|
||
|
#chat li .quote {
|
||
|
color: #789922;
|
||
|
}
|
||
|
|
||
|
#chat li .mention {
|
||
|
color: white;
|
||
|
padding: 4px;
|
||
|
margin: 2px;
|
||
|
border-radius: 2px;
|
||
|
-webkit-border-radius: 2px;
|
||
|
-moz-border-radius: 2px;
|
||
|
line-height: 15px;
|
||
|
text-shadow: #444 1px 1px;
|
||
|
}
|
||
|
|
||
|
#chat input {
|
||
|
margin: 4px;
|
||
|
width: 99%;
|
||
|
border: 1px solid #fff;
|
||
|
background: 0 0;
|
||
|
text-shadow: #888 1px 1px;
|
||
|
color: #fff;
|
||
|
border-radius: 4px;
|
||
|
-webkit-border-radius: 4px;
|
||
|
-moz-border-radius: 4px;
|
||
|
}
|
||
|
|
||
|
#chat input::-webkit-input-placeholder {
|
||
|
color: #ccc;
|
||
|
}
|
||
|
|
||
|
#chat input:-moz-placeholder {
|
||
|
color: #ccc;
|
||
|
}
|
||
|
|
||
|
#chat input:focus {
|
||
|
outline: 0;
|
||
|
border: 1px solid #ff8;
|
||
|
}
|
||
|
|
||
|
#chat.chatting {
|
||
|
background: rgba(64, 80, 80, .75);
|
||
|
border-radius: 5px;
|
||
|
box-shadow: 1px 1px 5px #888;
|
||
|
transition: all .1s;
|
||
|
}
|
||
|
|
||
|
#chat.chatting li {
|
||
|
display: list-item!important;
|
||
|
opacity: 1!important;
|
||
|
text-shadow: #aaa 1px 1px;
|
||
|
}
|
||
|
|
||
|
#chat.chatting ul {
|
||
|
max-height: 50em;
|
||
|
overflow-y: scroll;
|
||
|
overflow-x: hidden;
|
||
|
word-wrap: break-word;
|
||
|
}
|
||
|
|
||
|
#social {
|
||
|
position: fixed;
|
||
|
top: 4px;
|
||
|
right: 6px;
|
||
|
width: 80px;
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
|
||
|
#social #more-button {
|
||
|
margin-top: 4px;
|
||
|
width: 77px;
|
||
|
height: 90px;
|
||
|
border-radius: 5px;
|
||
|
border: 1px solid #abb;
|
||
|
cursor: pointer;
|
||
|
transition: all .25s;
|
||
|
box-shadow: 1px 1px 8px #bb9;
|
||
|
color: #788;
|
||
|
text-shadow: none;
|
||
|
background: url(kitten1.png) 0 4px no-repeat;
|
||
|
background-color: #dee;
|
||
|
}
|
||
|
|
||
|
#social #more-button:hover {
|
||
|
color: #899;
|
||
|
background-color: #e8f8f0;
|
||
|
transition: background-color .25s;
|
||
|
}
|
||
|
|
||
|
#social .fb-like {
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
}
|
||
|
|
||
|
#social #inclinations {
|
||
|
margin-top: 50px;
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
#more {
|
||
|
display: none;
|
||
|
width: 1250px;
|
||
|
margin: 0 auto;
|
||
|
padding: 0;
|
||
|
border-radius: 10px;
|
||
|
font-size: 15px;
|
||
|
border: 1px solid #b0c0c0;
|
||
|
color: #566;
|
||
|
background: #bcc;
|
||
|
box-shadow: 1px 1px 8px #899;
|
||
|
position: fixed;
|
||
|
top: 50px;
|
||
|
right: 50px;
|
||
|
text-shadow: none;
|
||
|
}
|
||
|
|
||
|
#more div {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
#more .items {
|
||
|
margin-left: 1%;
|
||
|
}
|
||
|
|
||
|
#more .items .item {
|
||
|
width: 33%;
|
||
|
float: left;
|
||
|
background: #cdd;
|
||
|
transition: background .25s;
|
||
|
}
|
||
|
|
||
|
#more .items .item:hover {
|
||
|
background: #d0e0e0;
|
||
|
transition: background .25s;
|
||
|
}
|
||
|
|
||
|
#more .items .item .content {
|
||
|
height: 200px;
|
||
|
padding: 10px;
|
||
|
border-right: 1px solid #bcc;
|
||
|
border-bottom: 1px solid #bcc;
|
||
|
}
|
||
|
|
||
|
#more .items .item .content p {
|
||
|
margin-top: 1em;
|
||
|
margin-bottom: 1em;
|
||
|
}
|
||
|
|
||
|
#more .header {
|
||
|
padding: 5px 10px;
|
||
|
}
|
||
|
|
||
|
#more .footer {
|
||
|
clear: both;
|
||
|
padding: 5px 10px;
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
|
||
|
#email:before {
|
||
|
content: url(envelope.png);
|
||
|
margin: 4px;
|
||
|
}
|
||
|
|
||
|
#room-notice {
|
||
|
z-index: 1;
|
||
|
}
|
||
|
|
||
|
#cursors {
|
||
|
z-index: 2;
|
||
|
}
|
||
|
|
||
|
#chat {
|
||
|
z-index: 100;
|
||
|
}
|
||
|
|
||
|
#social {
|
||
|
z-index: 200;
|
||
|
}
|
||
|
|
||
|
#names {
|
||
|
z-index: 300;
|
||
|
}
|
||
|
|
||
|
#names .nametag {
|
||
|
z-index: 301;
|
||
|
}
|
||
|
|
||
|
#names .name.owner:before {
|
||
|
z-index: 302;
|
||
|
}
|
||
|
|
||
|
#piano {
|
||
|
z-index: 400;
|
||
|
}
|
||
|
|
||
|
#piano .key {
|
||
|
z-index: 401;
|
||
|
}
|
||
|
|
||
|
#piano .key.sharp {
|
||
|
z-index: 402;
|
||
|
}
|
||
|
|
||
|
#bottom {
|
||
|
z-index: 500;
|
||
|
}
|
||
|
|
||
|
#crown {
|
||
|
z-index: 600;
|
||
|
}
|
||
|
|
||
|
.notification {
|
||
|
z-index: 700;
|
||
|
}
|
||
|
|
||
|
#cursors .cursor {
|
||
|
z-index: 800;
|
||
|
}
|
||
|
|
||
|
#chat.chatting {
|
||
|
z-index: 900;
|
||
|
}
|
||
|
|
||
|
.participant-menu {
|
||
|
z-index: 1000;
|
||
|
}
|
||
|
|
||
|
#modal {
|
||
|
z-index: 10000;
|
||
|
}
|
||
|
|
||
|
#tooltip {
|
||
|
z-index: 20000;
|
||
|
}
|
||
|
|
||
|
.clear {
|
||
|
clear: both;
|
||
|
}
|
||
|
|
||
|
.spin {
|
||
|
animation: spin 1s linear infinite;
|
||
|
-webkit-animation: spin 1s linear infinite;
|
||
|
-moz-animation: spin 1s linear infinite;
|
||
|
-o-animation: spin 1s linear infinite;
|
||
|
-ms-animation: spin 1s linear infinite;
|
||
|
}
|
||
|
|
||
|
.top-button {
|
||
|
height: 24px;
|
||
|
font-size: 12px;
|
||
|
background: #111;
|
||
|
border: 1px solid #444;
|
||
|
padding: 5px;
|
||
|
cursor: pointer;
|
||
|
line-height: 12px;
|
||
|
border-radius: 2px;
|
||
|
-webkit-border-radius: 2px;
|
||
|
-moz-border-radius: 2px;
|
||
|
overflow: hidden;
|
||
|
white-space: nowrap;
|
||
|
color: #fff;
|
||
|
}
|
||
|
|
||
|
.top-button:hover {
|
||
|
background: #222;
|
||
|
}
|
||
|
|
||
|
.top-button.stuck {
|
||
|
background: rgba(204,187,170,.35);
|
||
|
}
|
||
|
|
||
|
.icon-button img {
|
||
|
width: 16px;
|
||
|
height: 16px;
|
||
|
}
|
||
|
|
||
|
.icon-button {
|
||
|
position: fixed;
|
||
|
top: 6px;
|
||
|
z-index: 200;
|
||
|
width: 26px;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.mppcommunity-button {
|
||
|
right: 6px;
|
||
|
}
|
||
|
|
||
|
.discord-button {
|
||
|
right: 36px;
|
||
|
}
|
||
|
|
||
|
.github-button {
|
||
|
right: 66px;
|
||
|
background-color: white;
|
||
|
filter: invert(100%);
|
||
|
border-color: #c6c6c6;
|
||
|
}
|
||
|
|
||
|
.github-button:hover {
|
||
|
background-color: #ddd;
|
||
|
}
|
||
|
|
||
|
.reddit-button {
|
||
|
right: 96px;
|
||
|
z-index: 500;
|
||
|
}
|
||
|
|
||
|
.mpp-rules-button {
|
||
|
position: fixed;
|
||
|
right: 6px;
|
||
|
top: 32px;
|
||
|
z-index: 200;
|
||
|
}
|
||
|
|
||
|
code {
|
||
|
background: #222;
|
||
|
color: #eee;
|
||
|
padding: 2px 4px;
|
||
|
text-shadow: none;
|
||
|
border-radius: 4px;
|
||
|
line-height: 1.5;
|
||
|
}
|
||
|
|
||
|
.spoiler {
|
||
|
background: #222;
|
||
|
padding: 1px 0 3px;
|
||
|
border-radius: 4px;
|
||
|
}
|
||
|
|
||
|
.spoiler:not(:hover) {
|
||
|
color: rgba(0, 0, 0, 0);
|
||
|
text-shadow: rgba(0, 0, 0, 0) 1px 1px;
|
||
|
}
|
||
|
|
||
|
.spoiler * {
|
||
|
opacity: 0;
|
||
|
}
|
||
|
|
||
|
.spoiler:hover * {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
.spoiler:hover {
|
||
|
background: rgba(64, 80, 80, .75);
|
||
|
}
|
||
|
|
||
|
.spoiler * {
|
||
|
transition: opacity .25s;
|
||
|
-webkit-transition: opacity .25s;
|
||
|
-moz-transition: opacity .25s;
|
||
|
-o-transition: opacity .25s;
|
||
|
}
|
||
|
|
||
|
.spoiler {
|
||
|
transition: color .25s, text-shadow .25s, background .25s, opacity .25s;
|
||
|
-webkit-transition: color .25s, text-shadow .25s, background .25s, opacity .25s;
|
||
|
-moz-transition: color .25s, text-shadow .25s, background .25s, opacity .25s;
|
||
|
-o-transition: color .25s, text-shadow .25s, background .25s, opacity .25s;
|
||
|
}
|
||
|
|
||
|
@-webkit-keyframes spin {
|
||
|
0% {
|
||
|
-webkit-transform: rotate(0);
|
||
|
}
|
||
|
|
||
|
100% {
|
||
|
-webkit-transform: rotate(360deg);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@-moz-keyframes spin {
|
||
|
0% {
|
||
|
-moz-transform: rotate(0);
|
||
|
}
|
||
|
|
||
|
100% {
|
||
|
-moz-transform: rotate(360deg);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@-o-keyframes spin {
|
||
|
0% {
|
||
|
-o-transform: rotate(0);
|
||
|
}
|
||
|
|
||
|
100% {
|
||
|
-o-transform: rotate(360deg);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@-ms-keyframes spin {
|
||
|
0% {
|
||
|
-ms-transform: rotate(0);
|
||
|
}
|
||
|
|
||
|
100% {
|
||
|
-ms-transform: rotate(360deg);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.snowflake {
|
||
|
color: rgba(255, 255, 255, 50%);
|
||
|
font-size: .7em;
|
||
|
font-family: Arial, sans-serif;
|
||
|
text-shadow: 0 0 5px hsl(0, 0%, 0%);
|
||
|
}
|
||
|
.snowflakes {
|
||
|
z-index: 1;
|
||
|
position: absolute;
|
||
|
}
|
||
|
@-webkit-keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@-webkit-keyframes snowflakes-shake{0%{-webkit-transform:translateX(0px);transform:translateX(0px)}50%{-webkit-transform:translateX(80px);transform:translateX(80px)}100%{-webkit-transform:translateX(0px);transform:translateX(0px)}}@keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@keyframes snowflakes-shake{0%{transform:translateX(0px)}50%{transform:translateX(80px)}100%{transform:translateX(0px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;-webkit-animation-name:snowflakes-fall,snowflakes-shake;-webkit-animation-duration:10s,3s;-webkit-animation-timing-function:linear,ease-in-out;-webkit-animation-iteration-count:infinite,infinite;-webkit-animation-play-state:running,running;animation-name:snowflakes-fall,snowflakes-shake;animation-duration:10s,3s;animation-timing-function:linear,ease-in-out;animation-iteration-count:infinite,infinite;animation-play-state:running,running}.snowflake:nth-of-type(0){left:1%;-webkit-animation-delay:0s,0s;animation-delay:0s,0s}.snowflake:nth-of-type(1){left:10%;-webkit-animation-delay:1s,1s;animation-delay:1s,1s}.snowflake:nth-of-type(2){left:20%;-webkit-animation-delay:6s,.5s;animation-delay:6s,.5s}.snowflake:nth-of-type(3){left:30%;-webkit-animation-delay:4s,2s;animation-delay:4s,2s}.snowflake:nth-of-type(4){left:40%;-webkit-animation-delay:2s,2s;animation-delay:2s,2s}.snowflake:nth-of-type(5){left:50%;-webkit-animation-delay:8s,3s;animation-delay:8s,3s}.snowflake:nth-of-type(6){left:60%;-webkit-animation-delay:6s,2s;animation-delay:6s,2s}.snowflake:nth-of-type(7){left:70%;-webkit-animation-delay:2.5s,1s;animation-delay:2.5s,1s}.snowflake:nth-of-type(8){left:80%;-webkit-animation-delay:1s,0s;animation-delay:1s,0s}.snowflake:nth-of-type(9){left:90%;-webkit-animation-delay:3s,1.5s;animation-delay:3s,1.5s}
|