-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
92 lines (87 loc) · 1.75 KB
/
styles.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
body{
display:flex;
flex-direction: column;
overflow: hidden;
height:100vh;
justify-content: center;
align-content:center;
}
/* The alert message box */
.alert {
padding: 20px;
background-color: rgb(0, 47, 255); /* Red */
color: white;
border-radius: 10px;
margin-bottom: 15px;
position: absolute;
width:450px;
top:10px;
left:0;
right:0;
margin-left: auto;
margin-right: auto;
}
/* The close button */
.closebtn {
margin-left: 15px;
color: white;
font-weight: bold;
float: right;
font-size: 22px;
line-height: 20px;
cursor: pointer;
transition: 0.3s;
}
/* When moving the mouse over the close button */
.closebtn:hover {
color: black;
}
.calculator-container{
flex-shrink: 0;
align-self: center;
display:grid;
grid-template-columns: repeat(5,50px);
grid-gap:10px;
border-radius: 10px;
border : solid;
padding:10px;
}
.info{
grid-column:2/-1;
text-align:right;
}
.exp{
grid-column:1/-1;
height:70px;
border-radius: 10px;
border-style:none;
border : solid 1px;
text-align:right;
overflow: scroll;
}
.display-box{
grid-column: 1/3;
border-radius:10px;
border-style: none;
border:solid;
border-width: 1px;
text-align:right;
}
.btn{
display: flex;
justify-content: center;
align-items: center;
border-radius: 100px;
height:50px;
cursor:pointer;
background-color: aqua;
}
.btn-equal{
display: flex;
justify-content: center;
align-items: center;
border-radius: 100px;
grid-row: span 2;
cursor:pointer;
background-color: red;
}