-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
89 lines (77 loc) · 1.46 KB
/
style.css
File metadata and controls
89 lines (77 loc) · 1.46 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
*,
*::after,
*::before {
box-sizing: border-box;
font-family: "Courier New", Courier, monospace;
font-weight: normal;
}
body {
margin: 0;
padding: 0;
background: linear-gradient(to right, #c1f8a2, rgb(250, 219, 119));
}
.container {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.memo {
background-color: rgba(255, 255, 255, 0.5);
width: 200px;
height: 645px;
border-radius: 5px;
}
.memo > p {
padding: 10px;
}
.calculator-grid {
display: grid;
align-content: center;
justify-content: center;
min-height: 100vh;
grid-template-columns: repeat(4, 100px);
grid-template-rows: minmax(120px, auto) repeat(5, 100px);
gap: 5px;
}
.calculator-grid > button {
cursor: pointer;
background-color: rgb(255, 255, 255, 0.5);
border: none;
font-size: 2rem;
font-weight: 600;
border-radius: 5px;
outline: none;
transition: all 0.2s ease;
}
button:hover {
background-color: rgba(255, 255, 255, 0.3);
/* transform: scale(1.05); */
border-radius: 30px;
}
.span-two {
grid-column: span 2;
}
.output {
background-color: rgba(0, 0, 0, 0.8);
border-radius: 5px;
grid-column: 1 / -1;
display: flex;
align-items: flex-end;
flex-direction: column;
justify-content: space-around;
padding: 10px;
word-wrap: break-word;
word-break: break-all;
}
.bigdisplay {
color: white;
font-size: 2rem;
font-weight: 600;
}
.smalldisplay {
color: rgba(255, 255, 255, 0.7);
}
h3, p {
padding-left: 10px;
}