-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMidterm_style.css
157 lines (139 loc) · 3.02 KB
/
Midterm_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
/* set the background image */
body {
background-image: url(./images/background.jpg);
}
/* draw a transparent rectangle displayed with flex
position and style */
.transparent-flex {
display: flex;
position: absolute;
padding: 8px ;
bottom: 30%;
left: 50%;
height: 40%;
width: 50%;
margin: -15% 0 0 -25%;
text-align: center;
background-color: #ffffff;
border: 1px solid black;
opacity: 0.7;
border-radius: 25px;
}
/* position "Mr. or Ms." title using flex and style its font */
#MrorMs {
flex: 1;
font-size: x-large;
font-weight: bold;
}
/* position "Prediction" title using flex and style its font */
#Prediction {
flex: 1;
font-size: x-large;
font-weight: bold;
}
/* position and select font size for the form */
form {
position: relative;
top: 25px;
left: 45px;
font-size: medium;
}
/* position submit button */
#submitbtn {
position: relative;
top: 30px;
right: 77px;
}
/* position and style radio buttons */
.container {
display: block;
position: relative;
padding-right: 125px;
padding-top: 20px;
margin-top: 5px;
cursor: pointer;
font-size: 15px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* Hide the browser's default radio button */
.container input {
position: absolute;
opacity: 0;
cursor: pointer;
}
/* Create a custom radio button */
.checkmark {
position: absolute;
top: 23px;
left: 87px;
height: 12px;
width: 12px;
background-color: #eee;
border-radius: 50%;
}
/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
background-color: #ccc;
}
/* When the radio button is checked, add a blue background */
.container input:checked ~ .checkmark {
background-color: #6200ff;
}
/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
content: "";
position: absolute;
display: none;
}
/* Show the indicator (dot/circle) when checked */
.container input:checked ~ .checkmark:after {
display: block;
}
/* Style the indicator (dot/circle) */
.container .checkmark:after {
top: 9px;
left: 9px;
width: 8px;
height: 8px;
border-radius: 50%;
background: white;
}
/* position gender (predicted by website) field */
#gender {
position: relative;
padding: auto;
margin: auto;
top: 10px;
left: 30px;
border:#ccc;
}
/* position probability (predicted by website) field */
#probability {
position: relative;
padding: auto;
margin: auto;
top: 20px;
left: 30px;
border: #ccc;
}
/* position "Saved Answer" title */
#SavedAnswer {
position: relative;
top: 60px;
font-size: x-large;
font-weight: bold;
}
/* position user's saved answer by radio button */
#saved_radio {
position: relative;
top: 80px;
}
/* position clear button in the page */
#clearbtn {
position: relative;
top: 90px;
right: 60px;
}