-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
206 lines (174 loc) · 3.18 KB
/
style.css
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
input[type=range] {
/*removes default webkit styles*/
-webkit-appearance: none;
/*fix for FF unable to apply focus style bug */
border: 1px solid grey;
border-radius: 10px;
/*required for proper track sizing in FF*/
width: 100%;
}
img.center {
/* ie8 */
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
}
img.force {
height: 400px;
width: 400px; /* ie8 */
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
max-height: 65%;
}
img.prime {
height: 400px;
width: 400px; /* ie8 */
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
max-height: 65%;
opacity: .35;
}
.textbox {
width: 100%;
height: 75%;
position:absolute;
top:60%;
left:50%;
margin-right:-50%;
transform: translate(-50%,-50%);
background: black;
background-color: black;
}
.centerbox {
width: 50vw;
height: 70vh;
position:absolute;
top:50%;
left:50%;
margin-right:-50%;
transform: translate(-50%,-50%);
background: black;
background-color: black;
}
.practice_rating_text {
width:80%;
height: 20%;
position:absolute;
top:7.5%;
left:50%;
margin-right:-50%;
transform: translate(-50%,-50%);
background-color: black;
text-align: center;
}
.bigbox {
width:100%;
margin: auto;
min-height: 100%;
position:absolute;
top:0%;
left:0%;
margin-right:0%;
background-color: black;
text-align: center;
}
.center_picture_box {
width: 65%;
height: 65%;
position:absolute;
top:50%;
left:50%;
transform: translate(-50%,-50%);
margin-right:0%;
background-color: black;
text-align: center;
}
.selected{
border: 10px solid green;
}
.unselected{
border: 10px solid black;
}
.buttonbox {
width: 60%;
height: 10%;
position:absolute;
top:95%;
left:50%;
transform: translate(-50%,-50%);
margin-right:0%;
background-color: black;
text-align: center;
}
.inner {
display: inline-block;
padding: 20px;
padding-top: 0%;
}
.likert_btn {
background-color: gray;
padding: 5px 15px;
font-size: 40px;
border-radius: 15px;
}
/* Text based classes */
/* Used for general instructions */
.block-text {
width:100%;
height 100vw;
text-align: justify;
margin: 0 auto;
margin-bottom: 1em;
font-size: 22px;
line-height: 120%;
position: relative;
top: 15%;
}
/* As above but centeblack instead of justified. Good for instructions with few lines */
.center-block-text {
width:100%;
height 100vw;
text-align: center;
margin: 0 auto;
margin-bottom: 1em;
font-size: 26px;
line-height: 120%;
}
.center-block-text2 {
width:100%;
height 100vw;
text-align: center;
font-size: 26px;
transform: translateY(-50%);
-webkit-transform: translateY(-50%);
}
/* used for large text shown in the center of the screen, like FB or stimuli */
.center-textJamie {
text-align:center;
font-size: 26px;
position: relative;
top: 40%;
-ms-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
/* fixation should be used like this in: '<div class = centerbox><div class = fixation>+</div></div>'*/
.fixation {
text-align: center;
font-size: 150px;
position: relative;
top: 50%;
transform: translateY(-50%);
-webkit-transform: translateY(-50%);
}