-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCalculator.css
114 lines (99 loc) · 1.82 KB
/
Calculator.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
/* Name = Maurya Shubham Roll No = 33 Calculator.css */
*
{
box-sizing: border-box;
margin: 0 0;
}
body {
margin: 0px;
padding: 0px;
background-color:lightblue;
font-family: Arial, Helvetica, sans-serif;
overflow: hidden;
}
.main-container {
width: 100%;
height: 515px;
background-color: rgba(255, 255, 255, 0.356);
display: flex;
justify-items: center;
margin: 4.5rem auto;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 20px;
}
.output-window {
height: 25%;
width: 100%;
background-color: rgba(128, 128, 128, 0.1);
margin-top: 1em;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 20px;
}
.previous {
width: 100%;
height: 50%;
background-color: black;
color: white;
border-radius: 20px;
margin-bottom: 5px;
}
.output {
margin-top: 1px;
width: 100%;
height: 50%;
background-color: rgba(0, 0, 0, 0.61);
color: black;
border-radius: 20px;
}
.body {
width: 95%;
height: 261%;
margin-top: 1em;
background-color: rgba(128, 128, 128, 0.7);
border-radius:10px;
margin-left: 0.6em;
border-radius: 20px;
}
p {
float: right;
margin: 10px;
font-size: 25px;
font-weight: 800;
}
.sign,
.digit,
.empty {
width: 60px;
height: 50px;
margin-left: 20px;
margin-top: 10px;
float: left;
position: relative;
display: flex;
justify-content: space-evenly;
}
table {
display: flex;
justify-content: space-evenly;
}
.clear,
.backspace,
.digit,
.sign,
.empty {
width: 54px;
height: 54px;
margin: 8px 7px 2px 7px;
border-radius: 45%;
border: none;
font-size: 1.4rem;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
cursor: pointer;
}
.sign:focus,
.digit:focus,
.empty:focus,
.backspace:focus,
.clear:focus {
outline: 0;
}