-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
75 lines (74 loc) · 1.23 KB
/
style.css
File metadata and controls
75 lines (74 loc) · 1.23 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
74
75
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
#title {
text-align: center;
}
#description {
text-align: center;
}
.container {
height: 100vh;
display: grid;
place-items: center;
}
.calculator {
display: flex;
flex-direction: column;
justify-content: space-evenly;
background: #dadada;
height: 80vh;
width: 60vh;
border: 2px solid black;
border-radius: 8px;
box-shadow: 2px 2px 10px black;
/* position: relative; */
}
#inputBox {
display: flex;
justify-content: center;
margin-top: 20px;
}
#inputBox input {
width: 90%;
padding: 15px;
background-color: #b9b9b9;
border: none;
outline: none;
font-size: 30px;
color: #919191;
}
.nums {
position: relative;
height: 75%;
display: grid;
justify-content: space-around;
grid-template-columns: repeat(4, 50px);
}
.nums button {
border: none;
outline: none;
height: 25px;
width: 100%;
background-color: transparent;
font-weight: 600;
}
#equal {
background-color: #0d6efd !important;
grid-column: 3/5;
color: white;
}
@media only screen and (max-width : 480px ){
.calculator{
width: 100%;
height: 60vh;
margin-top: -200px;
}
}
@media only screen and (min-width : 768px ){
.nums button{
font-size: 20px;
}
}