-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.css
104 lines (87 loc) · 1.57 KB
/
app.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
* {
margin: 0;
padding: 0;
}
body {
box-sizing: border-box;
font-family: 'Roboto', sans-serif;
font-weight: 900;
}
h1 {
color: white;
font-size: 15rem;
}
.container {
align-items: center;
background-image: url("img/background-portrait.png");
background-position: center;
background-size: cover;
display: flex;
flex-direction: column;
height: 100vh;
width: 100vw;
}
.timer-div {
align-items: center;
display: flex;
justify-content: center;
min-height: 70%;
text-align: center;
}
.button-container {
display: flex;
height: 30%;
justify-content: space-evenly;
width: 95%;
}
button {
align-items: center;
background-color: transparent;
border: 1px solid white;
border-radius: 1rem;
display: flex;
flex: 1;
flex-direction: column;
justify-content: space-around;
margin: .5rem;
max-width: 250px;
padding: .5rem;
text-align: center;
}
.button-icon {
color: white;
font-size: 5rem;
}
.amount {
color: white;
font-size: 2.5rem;
margin-left: -.7rem;
}
.invisible {
display: none;
}
.centered {
align-content: center;
justify-content: center;
}
@media (max-height: 400px) {
.container {
flex-direction: row;
}
.timer-div {
height: 100%;
min-width: 70%;
}
.button-container {
flex-wrap: wrap;
min-height: 100%;
max-height: 100%;
}
button {
flex-direction: row;
width: 100%;
}
#add-five {
min-height: 10rem;
}
}