-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
84 lines (72 loc) · 1.73 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
body {
font-family: Arial, sans-serif;
color: #fff;
margin: 0;
padding: 0;
height: 100vh;
background: -webkit-linear-gradient(top, #1D24CA, #98ABEE);
background: -moz-linear-gradient(top, #1D24CA, #98ABEE);
background: -o-linear-gradient(top, #1D24CA, #98ABEE);
background: linear-gradient(to bottom, #1D24CA, #98ABEE);
}
.wrapper {
position: relative;
width: 300px;
height: 360px;
border-radius: 8px;
margin: 50px auto;
background-color: rgba(255, 255, 255, 0.007);
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.356);
}
.calculator {
padding: 10px;
border-radius: 8px;
background-size: cover;
background-color: rgba(255, 255, 255, 0.014);
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
#display {
width: 93.3%;
padding: 10px;
margin-bottom: 10px;
margin-bottom: 10px;
border: none;
border-radius: 7px 7px 0px 0px;
font-size: 24px;
text-align: right;
background-color: rgba(255, 255, 255, 0.096);
color: #fff;
outline: none;
}
.keys {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 8px;
}
button {
padding: 13px;
font-size: 20px;
border: none;
border-radius: 4px;
background-color: rgba(255, 255, 255, 0.096);
color: #fff;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #444;
}
.nugrah {
width: 330px;
height: auto;
margin: 10px auto;
border-radius: 8px;
}
.nugrah h1 {
text-align: center;
color: #fff;
font-size: 13px;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
display: block;
}