-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
103 lines (91 loc) · 1.58 KB
/
style.css
File metadata and controls
103 lines (91 loc) · 1.58 KB
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
@import url('https://fonts.googleapis.com/css2?family=Rajdhani&display=swap');
* {
font-family: 'Rajdhani', sans-serif;
margin: 0;
padding: 0;
}
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: #264653;
}
.main-container {
border-radius: 2em;
background: #2a9d8f;
}
.display {
height: 80px;
background-color: #264653;
border-radius: 10px;
border: solid 1px #e9c46a;
direction: rtl;
font-size: 3.9em;
color: rgb(255, 255, 255);
padding-right: 4px;
box-shadow: inset 0px 0px 20px 5px rgba(134, 139, 51, 0.3);
}
#header-text {
display: flex;
justify-content: center;
text-transform: uppercase;
color: #e9c46a;
text-shadow: 0px -1px 0px #0e0b06, 1px 0px 0px #9b8348;
margin: 0px 0px 20px;
}
.container {
padding: 20px;
width: 300px;
border: 1em solid #e9c46a;
border-radius: 2em;
}
.controls {
margin-top: 20px;
margin-bottom: 20px;
display: flex;
align-items: stretch;
}
#backspace,
#clear-btn {
height: 1.8em;
padding: 0em;
border-radius: 0.3em;
flex: 1;
}
.backspace,
.operator-btn,
.number-btn,
.clear-btn,
.equals-btn,
.period-btn {
color: #264653;
background-color: #d9f2b4;
height: 2.5em;
width: 2.5em;
font: inherit;
text-transform: uppercase;
font-weight: bold;
font-size: 1.8em;
border-radius: 0.4em;
}
.backspace:hover,
.operator-btn:hover,
.number-btn:hover,
.clear-btn:hover,
.equals-btn:hover,
.period-btn:hover {
background-color: #e9c46a;
}
.sub-container {
display: flex;
margin: 0em;
padding: 0em;
}
.operators {
display: flex;
flex-direction: column;
}
.numbers-container {
flex: 1;
}