-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
104 lines (87 loc) · 1.67 KB
/
style.css
File metadata and controls
104 lines (87 loc) · 1.67 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
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
html {
box-sizing: border-box;
background-color: #495867;
font-size: 10px;
font-family: Helvetica, sans-serif;
}
*, *:before, *:after {
box-sizing: inherit;
}
.photobooth {
background-color: #ecc8af;
max-width: 150rem;
margin: 2rem auto;
border-radius: 2px;
}
.photobooth h1 {
font-family: 'Pacifico', cursive;
text-align: center;
font-size: 5rem;
margin: 0;
color: #495867;
}
.photobooth .controls {
display: flex;
flex-direction: column;
align-items: center;
}
button {
color: #afc5ec;
background-color: #333;
padding: 1rem 1.5rem;
font-size: 1.5rem;
border-radius: 1rem;
}
button:hover {
background-color: #444;
color: #afc5ec;
}
.filter {
margin: 0.5rem 0;
font-size: 1.3rem;
}
/*clearfix*/
.photobooth:after {
content: '';
display: block;
clear: both;
}
.canvas-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
canvas {
max-width: 90rem;
}
.canvas p {
margin-bottom: 0;
}
.photo {
width: 100%;
float: left;
}
.player {
position: absolute;
width: 20rem;
top: 2rem;
right: 2rem;
border-radius: 0.5rem;
}
.strip {
padding: 2rem;
}
.strip img {
width: 10rem;
overflow-x: scroll;
padding: 0.8rem 0.8rem 2.5rem 0.8rem;
box-shadow: 0 0 3px rgba(0,0,0,0.2);
background: white;
}
.strip a:nth-child(5n+1) img { transform: rotate(10deg); }
.strip a:nth-child(5n+2) img { transform: rotate(-2deg); }
.strip a:nth-child(5n+3) img { transform: rotate(8deg); }
.strip a:nth-child(5n+4) img { transform: rotate(-11deg); }
.strip a:nth-child(5n+5) img { transform: rotate(12deg); }