-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
151 lines (130 loc) · 3 KB
/
styles.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
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
body{
background-image: url('img5.jpg');
background-size: contain;
}
h1 {
text-align:center; font-size:80px; text-transform:uppercase; color:#222; letter-spacing:1px;
font-family:"Yu Gothic Light"; font-weight:bold;text-decoration: underline;
}
h1 span {
margin-top: 5px;
font-size:15px; color:#444; word-spacing:1px; font-weight:normal; letter-spacing:2px;
text-transform: uppercase; font-family:"Raleway", sans-serif; font-weight:500;
display: grid;
grid-template-columns: 1fr max-content 1fr;
grid-template-rows: 27px 0;
grid-gap: 20px;
align-items: center;
}
h1 span:after,.nine h1 span:before {
content: " ";
display: block;
border-bottom: 1px solid #ccc;
border-top: 1px solid #ccc;
height: 5px;
background-color:#f8f8f8;
}
form {
display:grid;
position: relative;
margin: auto;
grid-template-columns: 1fr;
grid-row-gap: 16px;
width: 500px;
padding: 20px;
}
.inputgroup{
display: block;
position: relative;
width: 500px;
height: 48px;
border-radius: 50px;
font-size: inherit;
margin-left: 50px;
}
input:not([type="submit"]) {
border: 2px solid var(--color-gray);
padding: 16px;
width: 400px;
background-color: var(#ccc);
border-radius: 20px;
}
input:not([type="submit"]):focus {
background-color: var(--color-white);
border: 2px solid var(#222);
outline: none;
}
input:not([type="submit"]):not([value=""]) {
border: 2px solid var(--color-black);
border-radius: 20px;
}
label {
font-size: 16px;
position: absolute;
left: 16px;
top: 14px;
pointer-events: none;
z-index: 1;
color: var(--color-gray);
opacity: 0.5;
border-radius: 2px;
transition: 0.4s cubic-bezier(0.65, -0.32, 0.38, 1.23) all;
-moz-transition: 0.4s cubic-bezier(0.65, -0.32, 0.38, 1.23) all;
-webkit-transition: 0.4s cubic-bezier(0.65, -0.32, 0.38, 1.23) all;
}
input:focus ~ label,
input:not([value=""]) ~ label {
top: -10px;
left: 8px;
font-size: 14px;
padding: 1px 8px;
border-radius: 2px;
}
input:focus ~ label {
background-color: var(--color-black);
color: var(--color-white);
}
/* Submit Button */
input[type="submit"] {
width: 430px;
height: 50px;
border-radius: 20px;
margin-top: 8px;
background-color: #222;
color: #f8f8f8;
cursor: pointer;
margin-left: 50px;
}
input[type="submit"]:focus {
outline: none;
}
.answer{
margin: 0px 0px 0px 0px;
text-align: center;
font-size: 60px;
font-family:"Century";
}
.info{
margin: auto;
font-weight: bold;
font-family:"Century";
width: 70%;
padding-bottom: 30px;
font-size: 30px;
}
.graph{
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
padding: 50px;
}
.graphInfo{
margin: auto;
font-weight: bold;
font-family:"Century";
width: 70%;
padding-bottom: 30px;
font-size: 30px;
}