-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalc2.css
More file actions
73 lines (70 loc) · 1.41 KB
/
Copy pathcalc2.css
File metadata and controls
73 lines (70 loc) · 1.41 KB
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
*, *::before, *::after {
box-sizing: border-box;
font-family: sans-serif;
font-weight: normal;
}
body {
margin: 0;
padding: 0;
background-color: black;
}
.calculator {
border-radius: 12px ;
box-shadow: 0 0 4px 0px rgba(0, 0, 0, 0.15);
margin-left: 500px;
margin-top: 2em;
max-width: 15em;
margin: auto;
}
.calculator__display{
text-align: right;
border-radius: 12px;
background-color: white;
color:#222222;
display: block;
width: 13em;
height: 40px;
padding-top: 10px;
padding-left: 100px;
margin: auto;
}
.calculator__keys {
display: grid;
justify-content: center;
align-items: center;
min-height: 40px;
grid-template-columns: repeat(4, 50px);
grid-template-rows: minmax(120px, auto), repeat(5, 50px);
}
.calculator__keys > button {
background-color: rgb(52, 52, 52);
color: antiquewhite;
border-radius: 50%;
width: 50px;
height: 50px;
margin: 5px;
padding: 5px;
}
input {
width : 100px;
height : 75px;
font-size: xx-large;
border-radius: 15px;
margin: 5px; /*trbl*/
background-color: rgb(80, 78, 78);
color: antiquewhite;
border-style: 5px;
}
h1 {
color: antiquewhite;
text-align: center;
font-size: 80px;
margin-right: 70px;
margin-top: 20px;
}
.container {
max-width: 10em;
margin: auto;
background-color: #222222;
width: 500px;
}