-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
89 lines (75 loc) · 1.48 KB
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
outline: none;
font-family: 'Righteous', cursive;
}
body {
font-family: 'Righteous', cursive;
text-align: center;
background-color: #dbd7c8;
}
.kalkulator {
background-color: white;
box-shadow: 0 0 10px rgb(154, 32, 140);
width: 320px;
margin: 80px auto;
padding: 20px 15px;
border-radius: 15px;
}
.kalkulator-hasil{
background-color: white;
padding: 50px 5px 0;
height: auto;
border: none;
color: black;
text-align: right;
font-size: 3rem;
}
.kalkulator-hasil,
.kalkulator-tombol {
width: 100%;
}
.kalkulator-tombol{
margin-top: 15px;
}
.isi {
display: flex;
}
button {
height: 70px;
font-size: 1rem;
width: 30%;
border-radius: 50px;
border: 8px solid white;
cursor: pointer;
}
.angka {
background-color: rgba(134, 93, 255, 0.765);
color: white;
}
.angka:hover{
background-color: rgba(64, 0, 255, 0.765);
}
.operator,
.hapus-semua,
.hasil-akhir,
.persen,
.titik{
background-color: rgba(255, 163, 253, 0.484);
color: rgb(255, 0, 251);
}
.operator:hover,
.hapus-semua:hover,
.hasil-akhir:hover,
.persen:hover,
.titik:hover{
background-color: rgba(255, 0, 251, 0.484);
color: white;
}
.hapus-semua,
.hasil-akhir {
width: 60%;
}