-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
94 lines (77 loc) · 1.33 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
93
94
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.main {
height: 100vh;
background-color: #E9D5DA;
display: flex;
align-items: center;
justify-content: center;
}
.inner-main {
background-color: #827397;
border-radius: 30px;
padding: 40px;
}
.result input {
width: 150px;
height: 60px;
float: left;
border-radius: 10px 0 0 0;
border: none;
padding: 5px;
font-size: 11pt;
}
.result input:focus {
outline: none;
}
.result button {
width: 50px;
height: 60px;
float: left;
font-size: 11pt;
border-radius: 0 10px 0 0;
border: none;
}
.keypad .row button {
width: 50px;
height: 60px;
float: left;
border: none;
}
.result button:hover,
.keypad .row button:hover {
cursor: pointer;
background-color: rgba(50, 50, 168, 0.7);
color: white;
}
.first-child {
border-radius: 0 0 0 10px;
}
.last-child {
border-radius: 0 0 10px 0;
}
@media screen and (min-width: 450px) {
.result input {
width: 225px;
}
.result button {
width: 75px;
}
.keypad .row button {
width: 75px;
}
}
@media screen and (min-width: 992px) {
.result input {
width: 375px;
}
.result button {
width: 125px;
}
.keypad .row button {
width: 125px;
}
}