You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
199 lines
3.6 KiB
CSS
199 lines
3.6 KiB
CSS
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
|
|
|
|
html, body {
|
|
height: 100%;
|
|
margin: 0;
|
|
position: relative;
|
|
background: #222;
|
|
font-family: "Open Sans";
|
|
}
|
|
|
|
#wrap {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#wrap p {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translateX(-50%) translateY(-50%);
|
|
color: rgba(255,255,255,.5);
|
|
font-size: 30px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 5px;
|
|
text-align: center;
|
|
}
|
|
|
|
.ball {
|
|
pointer-events: none;
|
|
position: absolute;
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
background: gray;
|
|
animation: implode 1s ease-in-out;
|
|
animation-fill-mode: both;
|
|
opacity: .5;
|
|
}
|
|
|
|
@keyframes implode {
|
|
100% {transform: scale(0)}
|
|
}
|
|
|
|
p {
|
|
font-size: 21px;
|
|
font-family: BLKCHCRY;
|
|
color: black;
|
|
}
|
|
|
|
.text-left {
|
|
max-width: 53em;
|
|
margin: 0 auto;
|
|
text-align: left;
|
|
}
|
|
|
|
a {
|
|
font-size: 21px;
|
|
font-family: BLKCHCRY;
|
|
}
|
|
|
|
a:link {
|
|
color: white;
|
|
background-color: transparent;
|
|
text-decoration: none;
|
|
/*text-decoration: underline;*/
|
|
}
|
|
|
|
a:visited {
|
|
color: white;
|
|
background-color: transparent;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
color: yellow;
|
|
background-color: transparent;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
#cardtest {
|
|
box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.3);
|
|
transition: transform 250ms ease-in-out;
|
|
cursor: url("../images/magic-staff.png"), auto;
|
|
}
|
|
#cardtest.rotated {
|
|
transform: translate(220px, 0) rotate(90deg) scale(1.6);
|
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.footer {
|
|
float: left;
|
|
}
|
|
|
|
.instructions {
|
|
max-width: 440px;
|
|
}
|
|
|
|
#angryaudio {
|
|
width: 250px;
|
|
height: 40px;
|
|
}
|
|
|
|
|
|
.btn{
|
|
display: inline-block;
|
|
padding-left: 5px;
|
|
padding-right: 20px;
|
|
padding-top: 7px;
|
|
padding-bottom: 3px;
|
|
background: #9fe2bf;
|
|
margin-bottom: 5px;
|
|
margin-left: 0px;
|
|
border-radius: 5px;
|
|
font-size: 21px;
|
|
@include transition(box-shadow .25s ease);
|
|
&:after{
|
|
content:'';
|
|
display:inline-block;
|
|
color: #94a657;
|
|
background:#fff;
|
|
padding:3px;
|
|
border-radius: 50px;
|
|
height:20px;
|
|
width:20px;
|
|
margin-left:8px;
|
|
padding-left: 4.5px;
|
|
padding-right:1.5px;
|
|
}
|
|
&.playing{
|
|
&:after{
|
|
padding:3px;
|
|
content:'';
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.wand {
|
|
cursor: url("../images/magic-staff.png"), auto;
|
|
}
|
|
|
|
|
|
|
|
|
|
#yellow-bottle {
|
|
background-image: url("../images/bottle.png" );
|
|
width: 49px;
|
|
height: 91px;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
|
|
#yellow-bottle {
|
|
background-image: url("../images/bottle-white.svg" );
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-clip: border-box;
|
|
|
|
display: block;
|
|
width: 80px;
|
|
height: 130px;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
white-space:nowrap;
|
|
}
|
|
|
|
#yellow-bottle:hover {
|
|
background-image: url("../images/bottle-yellow.svg" );
|
|
}
|
|
|
|
/*responsivity------------------------>*/
|
|
|
|
/* Extra small devices (phones, 600px and down) */
|
|
@media only screen and (max-width: 600px) {
|
|
.example {background: red;}
|
|
}
|
|
|
|
/* Small devices (portrait tablets and large phones, 600px and up) */
|
|
@media only screen and (min-width: 600px) {
|
|
.example {background: green;}
|
|
}
|
|
|
|
/* Medium devices (landscape tablets, 768px and up) */
|
|
@media only screen and (min-width: 768px) {
|
|
.example {background: blue;}
|
|
}
|
|
|
|
/* Large devices (laptops/desktops, 992px and up) */
|
|
@media only screen and (min-width: 992px) {
|
|
.example {background: orange;}
|
|
}
|
|
|
|
/* Extra large devices (large laptops and desktops, 1200px and up) */
|
|
@media only screen and (min-width: 1200px) {
|
|
.example {background: pink;}
|
|
} |