crowds/slides/index.css

105 lines
1.6 KiB
CSS
Raw Normal View History

2018-03-28 14:57:19 +00:00
html, body{
width:100%;
height:100%;
overflow: hidden;
2018-04-01 16:34:52 +00:00
cursor: none;
2018-03-28 14:57:19 +00:00
}
2018-03-26 15:52:43 +00:00
body{
margin:0;
font-family: "FuturaHandwritten";
2018-03-28 14:57:19 +00:00
font-size: 22px;
2018-04-01 16:34:52 +00:00
line-height: 1.5em;
2018-03-26 15:52:43 +00:00
}
2018-03-27 17:39:08 +00:00
/* SIMULATION and SLIDESHOW */
2018-04-02 17:43:20 +00:00
#container{
2018-03-26 15:52:43 +00:00
position: absolute;
2018-03-27 17:39:08 +00:00
top:0; left:0;
2018-03-26 15:52:43 +00:00
width: 100%;
height: calc(100% - 60px);
2018-04-02 17:43:20 +00:00
}
#container > div{
position: absolute;
width: 100%; height: 100%;
2018-03-28 14:57:19 +00:00
overflow: hidden;
cursor: none;
2018-03-26 15:52:43 +00:00
}
2018-03-27 17:39:08 +00:00
#simulations, #slideshow{
2018-03-26 15:52:43 +00:00
position: absolute;
width: 960px;
height: 540px;
margin: auto;
top:0; left:0; right:0; bottom:0;
2018-03-27 17:39:08 +00:00
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
2018-03-26 15:52:43 +00:00
}
2018-04-01 16:34:52 +00:00
#simulations canvas, #slideshow > div{
2018-03-26 15:52:43 +00:00
position: absolute;
}
2018-03-28 17:12:05 +00:00
#slideshow .box.image{
background-size: 100% 100%;
}
2018-04-01 16:34:52 +00:00
#slideshow .next_button{
margin: 0 auto;
position: relative;
top: -10px;
2018-03-28 17:12:05 +00:00
width: 300px;
height: 20px;
padding: 40px 0;
background-image: url(sprites/button_large.png);
background-size: 100% auto;
text-align: center;
}
2018-04-01 16:34:52 +00:00
#slideshow .next_button:hover{
2018-03-28 17:12:05 +00:00
background-position: 0 -100px;
}
2018-04-03 15:25:13 +00:00
.transitionable{
2018-04-02 17:43:20 +00:00
transition: opacity 0.3s ease-in-out;
}
#scratch{
display: none;
pointer-events: none;
background-image: url(sprites/scratch.png);
background-size: 200% 2000%;
background-position: 0% 0%;
}
2018-04-03 15:25:13 +00:00
.sim_button{
}
2018-04-02 17:43:20 +00:00
/* MODAL */
#modal{
display: none;
}
2018-03-26 15:52:43 +00:00
2018-03-27 17:39:08 +00:00
/* NAVIGATION */
2018-03-26 15:52:43 +00:00
#navigation{
position: absolute;
bottom:0;
background: #222;
width: 100%;
height:60px;
}
2018-03-27 17:39:08 +00:00
/* PENCIL */
#pencil{
position: absolute;
width:100px;
height:100px;
pointer-events: none;
2018-03-28 14:57:19 +00:00
cursor: none;
2018-03-27 17:39:08 +00:00
}
/* THIS THING'S WORDS */
2018-03-26 15:52:43 +00:00
words, bonus, glossary{
display: none;
2018-03-27 17:39:08 +00:00
}
2018-04-03 15:25:13 +00:00
/* TO SEE LAYOUT */
.box, #simulations{
border: 1px solid #eee;
}