-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
116 lines (115 loc) · 1.93 KB
/
index.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
body {
font-size: 20px;
}
.main {
display: flex;
justify-content: center;
padding-top: 40px;
}
.calc {
background-color: #1c93ee;
width: 385px;
padding: 30px;
border-radius: 6px;
}
.calc-display-input {
width: 360px;
height: 60px;
margin: 20px 0;
border-radius: 6px;
background-color: #1d1d1d;
color: #fff;
text-align: right;
font-size: 35px;
padding: 10px;
}
.calc_button-row td {
margin: 0 auto;
padding: 5px;
}
.btn {
width: 85px;
height: 60px;
background-color: #f4f4f4;
font-size: 27px;
color: #666666;
text-transform: uppercase;
border-radius: 6px;
padding: 0;
cursor: pointer;
transition: 0.1s all;
}
.btn-hover-red:hover {
background-color: #d83e33;
color: #f2f2f2;
}
.btn-hover-orange:hover {
background-color: #ff6a00;
color: #f2f2f2;
}
.btn-hover-green:hover {
background-color: green;
color: #f2f2f2;
}
.btn:active {
transform: translateY(-1px);
}
.btn-long {
width: 183px;
}
.btn-equal {
height: 145px;
}
input,
button {
padding: 5px 15px;
margin: 10px;
border: 0;
outline: 0;
border-radius: 4px;
}
button {
margin-left: 0;
padding: 15px 24px;
}
@media screen and (max-width: 768px) {
.calc {
width: 300px;
margin: 0 auto;
}
.calc-display-input {
width: 280px;
}
input[placeholder] {
font-size: 28px;
}
input::-moz-placeholder {
font-size: 28px;
}
input:-moz-placeholder {
font-size: 28px;
}
input:-ms-input-placeholder {
font-size: 28px;
}
.btn {
width: 64px;
}
.btn-long {
width: 140px;
}
}
@media screen and (max-width: 400px) {
.calc {
width: 280px;
}
.calc-display-input {
width: 260px;
}
.btn {
width: 60px;
}
.btn-long {
width: 132px;
}
}