forked from Marcellod1/sensor-based-lockscreen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
113 lines (96 loc) · 2.11 KB
/
styles.css
File metadata and controls
113 lines (96 loc) · 2.11 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/* Reset margin and padding of all elements*/
* {
margin: 0;
padding: 0;
}
body {
background-color: #54626F;
color: white;
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
text-align: center;
}
/* Phone screen styles */
#phone-home-screen {
position: relative;
display: inline-block;
z-index: 0;
height: 800px;
width: 375px ;
background-image: url(resources/img/home-screen.png);
background-size: cover;
background-repeat: no-repeat;
text-align: center;
vertical-align: bottom;
}
#phone-border{
z-index: 1;
position: absolute;
height: 800px;
width: 375px ;
background-image: url(resources/img/screen-border.png);
background-size: cover;
background-repeat: no-repeat;
text-align: center;
vertical-align: bottom;
}
#phone-lock-screen {
z-index: 2;
position: absolute;
transform: translateY(0px);
height: 800px;
width: 375px;
background-image: url(resources/img/lock-screen.png);
background-size: cover;
background-repeat: no-repeat;
}
/* Canvas container */
.canvas-button {
height: 100px;
width: 200px;
transform: scale(1.0);
background-image: url(resources/img/submit-button.png);
background-size: cover;
background-repeat: no-repeat;
margin: 10px;
}
#canvas-container {
display: grid;
margin-top: 250px;
grid-template-columns: 1/3 1/3 1/3;
grid-template-rows: auto;
grid-template-areas:
"header header header"
"counter counter counter"
"canvas canvas canvas";
justify-content: center;
grid-gap: 5px;
}
#countdown {
grid-area: header;
}
#counter {
grid-area: counter;
}
#canvas{
grid-area: canvas;
}
#button-container {
position: absolute;
top: 220px;
left: 10px;
margin: 50px 0px 0px 0px;
padding: 10px;
justify-items: center;
}
/* Buttons */
#push-up-button {
display: inline-block;
background-image: url(resources/img/push-up-button.png);
}
#squat-button {
display: inline-block;
background-image: url(resources/img/squat-button.png);
}
#canvas-container img {
padding: 10px;
}