-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
107 lines (91 loc) · 1.49 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
* {
box-sizing: border-box;
font-family: 'Open Sans', helvetica, arial, sans;
}
/* OUTER BOX STYLES */
.container {
display: flex;
flex-direction: column;
left: 50%;
position: absolute;
top: 8%;
transform: translateX(-50%);
width: 260px;
}
/* DISPLAY STYLES */
.display {
background: #576574;
border: 1px solid black;
color: #ecf0f1;
height: 120px;
text-align: right;
word-wrap: break-word;
}
.answer-display {
font-size: 1.75em;
height: 35%;
}
.answer-show {
color: inherit;
font-style: normal;
}
.done-computing {
color: #bdc3c7;
font-style: italic;
}
.input-display {
font-size: 1.25em;
height: 65%;
}
.answer-display,
.input-display {
padding: 10px;
}
/* BUTTONS STYLES */
button {
background: none;
border-color: black;
border-style: solid;
border-width: 0 0 1px 1px;
font-size: 1.3em;
outline: none;
}
.buttons {
display: flex;
flex-direction: row;
height: 300px;
text-align: center;
}
.left {
width: 75%;
}
.left > button {
background: #b2bec3;
float: left;
height: 20%;
transition: all .05s ease;
width: 33.3%;
}
.right {
width: 25%;
}
.right > button {
background: #f0932b;
border-right: 1px solid black;
color: #ecf0f1;
height: 20%;
transition: all .05s ease;
width: 100%;
}
.two-buttons {
width: 66.67% !important;
}
/* BUTTON CLICK/PRESS EFFECTS */
.left-pressed {
background: #95a5a6 !important;
transform: scale(1);
}
.right-pressed {
background: #e67e22 !important;
transform: scale(1);
}