-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
125 lines (111 loc) · 2.54 KB
/
index.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
html, body {
padding: 0;
font-family: Karla;
background: #ECF2FF;
display: flex;
align-items: center;
justify-content: center;
}
#main-container {
display: flex;
flex-direction: column;
align-items: center;
}
#equation-field {
text-align: center;
font-size: 2rem;
background-color: wheat;
outline: none;
margin: 0.5rem;
border-radius: 0.3rem;
width: 20rem;
}
#solve-button {
border: none;
background-color: #4CAF50;
font-size: 2rem;
color: white;
padding: 0.3rem 1rem;
text-align: center;
cursor: pointer;
display: inline-block;
margin: 0.5rem;
width: 10rem;
outline: none;
}
#solution-display {
display: flex;
}
#solution-display > .equation-component {
background-color: #333333;
color: white;
font-size: 2rem;
padding: 0.1rem 1rem;
margin-left: 0.25rem;
align-self: center;
}
#solution-display > .equation-component-open-brac {
background-color: #b66700;
color: white;
font-size: 2rem;
padding: 0.1rem 1rem;
margin-left: 0.25rem;
align-self: center;
}
#solution-display > .equation-component-close-brac {
background-color: #b66700;
color: white;
font-size: 2rem;
padding: 0.1rem 1rem;
margin-left: 0.25rem;
align-self: center;
}
#solution-display > .equation-component-plus {
background-color: #00ffea;
color: rgb(255, 0, 0);
font-size: 2rem;
padding: 0.1rem 1rem;
margin-left: 0.25rem;
align-self: center;
}
#solution-display > .equation-component-minus{
background-color: #00ffea;
color: rgb(255, 0, 0);
font-size: 2rem;
padding: 0.1rem 1rem;
margin-left: 0.25rem;
align-self: center;
}
#solution-display > .equation-component-times{
background-color: #00ffea;
color: rgb(255, 0, 0);
font-size: 2rem;
padding: 0.1rem 1rem;
margin-left: 0.25rem;
align-self: center;
}
#solution-display > .equation-component-divide{
background-color: #00ffea;
color: rgb(255, 0, 0);
font-size: 2rem;
padding: 0.1rem 1rem;
margin-left: 0.25rem;
align-self: center;
}
#solution-display > .equation-component-equal{
/* background-color: #008CBA; */
color: rgb(66, 66, 66);
font-size: 2rem;
padding: 0.1rem 1rem;
margin-left: 0.25rem;
align-self: center;
}
#solution-display > .equation-component-solution {
/* background-color: #008CBA; */
border: red 4px solid;
color: rgb(255, 0, 0);
font-size: 2.5rem;
padding: 0.1rem 1rem;
margin-left: 0.25rem;
align-self: center;
}