-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
56 lines (56 loc) · 1.11 KB
/
style.css
File metadata and controls
56 lines (56 loc) · 1.11 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
body{
overflow: hidden;
background: linear-gradient(#f4f4ed, white);
}
.container{
width: 95%;
height: 100vh;
margin: auto;
display: flex;
align-items: center;
justify-content: center;
}
.calculator{
width: 370px;
margin: auto;
border-radius: 2px;
background: #f2f2f2;
padding: 15px 15px 20px 20px;
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5);
}
#user_input{
box-sizing: border-box;
width: 100%;
padding: 40px 5px;
background: whitesmoke;
text-align: right;
direction: ltr;
outline: none;
border: none;
font-size: 2rem;
}
.btn{
width: 24%;
height: 45px;
border-radius: 1px;
border: none;
outline: none;
margin-top: 3px;
background: whitesmoke;
}
.btnEqual{
width: 99.2%;
height: 45px;
border-radius: 1px;
border: none;
outline: none;
margin-top: 3px;
background: whitesmoke;
}
.btn:hover, .btnEqual:hover{background-color: rgba(128, 128, 128, 0.1);}
@media(max-width:480px){
.btn{width: 23.4%;}
}
@media(max-width:320px){
.btn{width: 23%;}
}