-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
120 lines (119 loc) · 2.54 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
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
117
118
119
120
@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&family=Workbench&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:[email protected]&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
html{
height: 100%;
}
body{
display: block;
margin: 2em;
font-family: "Open Sans", sans-serif;
background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
overflow: hidden;
margin: 20px auto;
}
.keypad {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.calc-body{
margin: auto;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
width: 300px;
height: 450px;
padding: 5px;
border-radius: 10px;
background-color: hsl(210, 4%, 22%);
box-shadow: 10px 8px 29px 0px hsl(0, 1%, 14%),
inset 6px 4px 10px 0px hsla(0, 0%, 100%, 0.7);
}
.screen{
display: flex;
background-color: aliceblue;
height: 50px;
width: 90%;
justify-content: flex-end;
align-items: center;
overflow: hidden;
}
.screen > p{
position: relative;
font-size: 2em;
font-family:"Silkscreen", sans-serif;
font-kerning: 1px;
}
.calc-btn {
width: 2.5em;
height: 2.5em;
margin: 3px;
font-size: 1.3em;
color: white;
cursor: pointer;
font-weight: bold;
font-family: "Orbitron";
border-radius: 50%;
justify-content: center;
align-items: center;
transition: all 100ms ease-in-out;
box-shadow: inset 20px 10px 10px -19px #FFFFFF,
inset -16px -7px 15px 0px hsla(230, 76%, 27%, 0.4)
}
.calc-btn:hover{
color: #cdcdcd;
}
.calc-btn:active{
transform: scale(.9);
box-shadow: inset 20px 10px 10px -19px hsla(230, 76%, 27%, 0.4),
inset -16px -7px 15px 0px hsla(230, 76%, 27%, 0.4)
}
#equals{
height: 2em;
width: 10em;
margin: 10px;
border-radius: 10px;
font-size: 1.5em;
}
.icon{
font-size: .8em;
}
button{
border: 0;
background-color: orangered;
}
.number{
background-color: hsl(240, 50%, 15%);
}
.light-gray{
background-color: #5b5c5f;
}
hr{
margin: 20px auto 0px auto;
width: 500px;
border: 2px solid #5b5c5f;
border-radius: 50%;
}
.history{
display: flex;
width: 500px;
height: 500px;
overflow: hidden;
color: rgb(191, 85, 85);
justify-content:flex-end;
text-align: right;
margin: 0 auto;
font-family: "Orbitron", sans-serif;
font-weight: 900;
font-size: 2.5em;
}
li{
list-style: none;
}