-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmarkup.css
101 lines (101 loc) · 1.96 KB
/
markup.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
* {
padding:0%;
margin:0%;
background-color:rgb(169, 228, 255);
}
#menuBar {
width:100%;
border:3px solid rgb(255, 249, 183);
display:flex;
flex-grow:1;
justify-content: center;
margin-bottom:2.5%;
color:rgb(255, 249, 183);
}
button {
border:1px solid rgb(255, 249, 183);
}
button:hover {
background-color: rgb(156, 220, 249);
}
#calcHousingDiv { /* is the full size of the viewport, holds the calculator in place */
display:flex;
flex-grow:1;
align-items: stretch;
flex-wrap:wrap;
justify-content: center;
width:100%;
height:400px;
background-color:rgb(169, 228, 255);
}
#CalcMainDiv { /* Is the border of the calculator */
box-sizing: border-box;
border:4px solid rgb(255, 249, 183);
background-color:rgb(255, 249, 183);
border-radius: 5px;
width:300px;
height:100%;
}
.numberGridDiv { /* numbers at left */
box-sizing: border-box;
height:85%;
width:75%;
display:flex;
flex-wrap: wrap;
border-radius: 5px;
}
.numberGridDiv button {
width:33.3%;
height:20%;
font-size:larger;
}
#zero {
width:66.6%;
border-bottom-left-radius: 5px;
}
#symbolGridDiv { /* Symbols on right */
box-sizing: border-box;
border-radius: 5px;
float:right;
width:25%;
height:85%;
display:flex;
flex:1;
flex-wrap:wrap;
}
#symbolGridDiv button {
width:100%;
height:20%;
font-size:larger;
}
#ac {
border-top-left-radius: 5px;
}
#add {
border-top-right-radius: 5px;
}
#equals {
border-bottom-right-radius: 5px;
}
#textBoxDiv { /* text box at top */
border-bottom:4px solid rgb(255, 249, 183);
box-sizing: border-box;
width:100%;
height:15%;
float:right;
border-radius: 5px;
overflow:hidden;
}
#textBox {
box-sizing: border-box;
border-radius: 5px;
overflow:hidden;
width:100%;
height:100%;
font-size:larger;
}
input {
border:none;
text-align: center;
color:black;
}