-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
109 lines (87 loc) · 1.63 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
@import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');
* {
margin:0;
padding:0;
box-sizing: border-box;
}
body {
display:grid;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #2a384c;
font-family: 'Orbitron', sans-serif;
}
.container {
width:400px;
height: 600px;
background-color:#20324a;
border-radius:15px;
display: grid;
grid-template-rows: 120px 300px;
gap: 35px;
padding: 35px;
box-shadow: 0 0px 0 0px rgb(73 73 73), 1px 2px 10px 0px #120b17;
}
.screen {
background-color:#6c63ff;
border-radius: 5px;
border:3px solid black;
display: grid;
grid-template-rows: 60% 30%;
gap:10%;
overflow: hidden;
}
.screenup {
display: flex;
}
.res1 , .res2 {
display: none;
}
#result {
font-size:2.3rem;
display: flex;
}
.opr {
font-size:2.3rem;
}
#screen-down {
text-align:end;
font-size:1.8rem;
}
.buttons {
border-radius:5px;
display: grid;
grid-template-columns: 65px 65px 65px 65px ;
gap: 10px;
grid-template-rows: repeat(5,60px);
margin: auto;
padding-top:20px;
font-size: 1.2rem;
}
.btn {
background-color:#292929;
text-align: center;
color:white;
padding-top: 12px;
border-radius: 10px;
font-size: 1.8rem;
}
.btn:hover {
cursor: pointer;
background-color:#6c63ff;
}
.btn:active {
opacity:0.8;
}
.btn-0 {
grid-column: 1/3;
}
.btn-result {
grid-row: span 2;
padding-top: 40px;
background-color:rgb(9,175,4)
}
.btn-ac {
background-color:red;
}