-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
88 lines (77 loc) · 1.4 KB
/
index.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
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.calc-frame {
width: 300px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border-radius: 8px;
border-radius: 8px;
background: #4d4d4d;
box-shadow: 4px 4px 1px #272727, -4px -4px 1px #747474;
padding: 0 0.4em;
}
.calc-screen {
margin: 0.5rem;
font-family: 'VT323', monospace;
border-radius: 5px;
border-style: inset;
padding: 5px;
width: 90%;
height: 30px;
font-size: 2em;
text-align: right;
background-color: whitesmoke;
}
H2,
p {
margin: 0;
}
.model {
font-family: 'VT323', monospace;
font-size: 1rem;
text-align: center;
justify-self: center;
margin-right: auto;
}
.brand {
margin-top: 1em;
}
.calc-buttons {
margin: 0.5rem;
padding: 0.2rem;
font-family: 'Abel', sans-serif;
}
.row {
display: flex;
justify-content: space-between;
}
.button {
width: 55px;
padding: 0.5rem 1rem;
font-size: 1.2em;
margin: 0.5rem;
border-radius: 8px;
background: linear-gradient(145deg, #cacaca, #f0f0f0);
box-shadow: 1px 1px 0px #afafaf, -1px -1px 0px #ffffff;
}
.special-button {
width: 50%;
padding: 0.5rem 1rem;
font-size: 1.2em;
margin: 0.5rem;
border-radius: 8px;
background: linear-gradient(145deg, #cacaca, #f0f0f0);
box-shadow: 1px 1px 0px #afafaf, -1px -1px 0px #ffffff;
}
.button:hover {
cursor: pointer;
}
.special-button:hover {
cursor: pointer;
}