-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
78 lines (76 loc) · 1.65 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
@import url("https://fonts.googleapis.com/css2?family=Dosis&display=swap");
body .container__button, body .container__score-window {
background-color: #b9b9b926;
border-radius: 5px;
box-shadow: 4px 4px 5px #885185;
}
body {
margin: 0;
padding: 0;
box-sizing: border-box;
background-image: url("background.jpg");
background-size: cover;
background-attachment: fixed;
}
body .container {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
display: grid;
grid-template-columns: repeat(5, 4rem);
grid-template-rows: repeat(5, 4rem);
justify-content: center;
gap: 0.5rem;
font-family: "Dosis", sans-serif;
color: #ffffff;
opacity: 80%;
}
body .container__score-window {
grid-column: 1/6;
display: flex;
flex-direction: column;
justify-content: center;
}
body .container__score-window .container__score {
font-size: 1.2rem;
padding: 0 5px;
text-align: right;
word-break: break-all;
}
body .container__button {
border: none;
width: 4rem;
height: 100%;
font-size: 1.5rem;
font-family: "Dosis", sans-serif;
color: #ffffff;
}
body .container__button:hover {
transform: scale(101%);
background-color: #b9b9b93f;
transition-duration: 0.1s;
}
body .container #C {
grid-column: 4/5;
grid-row: 4/6;
}
body .container #equation {
grid-column: 5/6;
grid-row: 4/6;
}
@media screen and (min-width: 480px) {
body .container {
grid-template-columns: repeat(5, 5rem);
grid-template-rows: repeat(5, 5rem);
gap: 0.6rem;
}
body .container__score {
font-size: 1.4rem;
}
body .container__button {
width: 5rem;
font-size: 1.8rem;
}
}
/*# sourceMappingURL=style.css.map */