-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
104 lines (102 loc) · 1.75 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
body {
font-family: "Times New Roman", Times, serif;
height: 100vh;
width: 100vw;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#copyright {
color: gray;
margin-top: -50px;
font-family: monospace;
font-size: 0.9rem;
}
#container {
height: 80vh;
width: 70vw;
background-color: #e6e6e6;
display: flex;
flex-direction: column;
margin: auto;
padding: 12px;
border: 1px solid black;
}
#text {
color: ghostwhite;
background-color: orange;
height: 10vh;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 16px;
margin-top: 6px;
letter-spacing: 1px;
}
#screen {
height: 16vh;
width: 100%;
background-color: white;
opacity: 0.6;
margin-bottom: 10px;
border: 1px solid black;
display: flex;
flex-direction: row-reverse;
align-items: center;
font-weight: bold;
font-size: 4rem;
padding: 5px;
font-family: monospace;
overflow: hidden;
color: rgb(54, 54, 54);
box-sizing: border-box;
}
#btn-container {
height: 48vh;
width: 100%;
display: flex;
flex-direction: column;
}
.row {
display: flex;
flex-direction: row;
width: 100%;
height: 20%;
margin-bottom: 2px;
}
.btn {
display: flex;
height: 100%;
width: 25%;
margin-right: 1px;
margin-left: 1px;
font-weight: bold;
font-size: 1.5rem;
align-items: center;
justify-content: center;
font-family: monospace;
}
#zero {
width: 50%;
}
.operator {
background-color: orange;
}
/* media query for responsiveness */
@media screen and (min-width: 1000px) {
#container {
height: 620px;
width: 720px;
}
}
@media screen and (max-width: 750px) {
#container {
height: 100vh;
width: 90vw;
}
#copyright {
font-size: 1.5rem;
}
}