-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimulations.css
More file actions
134 lines (120 loc) · 2.38 KB
/
simulations.css
File metadata and controls
134 lines (120 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
@font-face {
font-family: 'BPtypewrite';
src: url('fonts/BPtypewrite.eot'); /* IE9 Compat Modes */
src: url('fonts/BPtypewrite.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/BPtypewrite.woff') format('woff'), /* Modern Browsers */
url('fonts/BPtypewrite.ttf') format('truetype'); /* Safari, Android, iOS */
font-style: normal;
font-weight: 400;
text-rendering: optimizeLegibility;
}
body{
width:100vw;
height:100vh;
margin:0;
display:flex;
flex-direction: column;
color: #333;
font-family: BPTypewrite, 'Arial Narrow',sans-serif,;
font-size: 16px;
background:white;
box-shadow: 0px 0px 0px 1px #ccc inset;
}
header, footer{
display:flex;
flex:0 0 auto;
justify-content: space-evenly;
flex-direction: row;
align-items: center;
}
main {
border:1px solid #ccc;
display:flex;
flex:5 0 0;
flex-direction: row;
}
main>div{
flex:1 0 0;
display:flex;
flex-direction: column;
}
main>div>div{
flex:0 0 auto;
display:flex;
flex-direction: row;
justify-content:center;
}
@media only screen and (max-width:500px) {
main{
flex-direction: column;
}
}
#experimentDIV {
overflow: hidden;
transition: width 1s;
-webkit-transition: width 1s;
}
button{
font-size:1.2vw;
cursor: pointer;
background-color: #008982;
border: 0;
border-radius: 2px;
color: #fff;
font-weight: 700;
padding: 6px 30px;
margin: 2px 5px 4px;
text-transform: uppercase;
vertical-align: middle;
}
button:hover {
filter: brightness(110%);
}
.myCanvas-button {
padding: .4em 1em;
display: inline-block;
position: relative;
line-height: normal;
margin-right: .1em;
cursor: pointer;
vertical-align: middle;
text-align: center;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
overflow: visible;
}
.imageContainer {
position: relative;
text-align: center;
clear: left;
}
#experimentControls {
transition: visibility 1s 0s;
-webkit-transition: visibility 1s 0s;
display:flex;
flex-direction: column;
align-items: center;
}
.half {
width: 50%;
float: left;
}
/* For mobile phones: */
.mySlider {
width: 80%;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
}
.slider:hover {
opacity: 1;
}
.mySlider::-moz-range-thumb {
background: #008982;
cursor: pointer;
width: 10px;
border: none;
left: 0;
}