-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.css
115 lines (97 loc) · 1.64 KB
/
main.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
html {
font-family: Roboto, sans-serif;
width: 100%;
height: 100%;
}
body {
margin: 0;
padding-top: 4em;
color: #000;
}
h1 {
text-align: center;
font-family: "Lexend Deca", Roboto, sans-serif;
font-size: 30px;
font-weight: normal;
letter-spacing: -0.5px;
}
form, p {
text-align: center;
}
p {
font-size: 20;
}
input {
margin: 10px;
border: 1px solid #111;
background-color: #eee;
width: 150px;
padding: 5px 5px 5px 5px;
font-family: Roboto, sans-serif;
font-size: 16px;
border: 1px solid #ccc;
height: 30px;
border-radius: 5px;
}
select {
margin: 10px;
border: 1px solid #111;
background: transparent;
width: 150px;
padding: 5px 35px 5px 5px;
font-family: Roboto, sans-serif;
font-size: 16px;
border: 1px solid #ccc;
height: 34px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: url(https://image.flaticon.com/icons/svg/118/118738.svg) 96% / 15% no-repeat #eee;
}
select::-ms-expand {
display: none;
}
#isWeighted {
margin-left: calc(50% - 90px);
width: 180px;
}
@media (max-width: 1000px) {
h1 {
margin-top: -30px;
margin-bottom: 5px;
}
input {
color: #000;
width: 100px;
}
#isWeighted {
margin-left:calc(50% - 100px);
width: 200px;
}
#calcGPA {
width: 120px;
margin-bottom: 5px;
}
div {
font-size: 10px;
}
select {
width: 120px;
color: #000;
margin: 10px 5px 10px 10px;
}
}
@media (max-width: 500px) {
div {
font-size: 16px;
}
#calcGPA {
width: 120px;
margin-bottom: 5px;
}
select {
width: 100px;
color: #000;
margin: 10px 5px 10px 10px;
}
}