-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
executable file
·91 lines (78 loc) · 1.29 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
79
80
81
82
83
84
85
86
87
88
89
90
91
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
html {
font-size: 14px;
background: #ffc600;
}
h1 {
font-family: 'Courier New', Courier, monospace;
text-align: center;
font-size: 3rem;
}
.photobooth {
background: lightgoldenrodyellow;
max-width: 150rem;
margin: 2rem auto;
border-radius: 2px;
}
/*clearfix*/
.photobooth:after {
content: '';
display: block;
clear: both;
}
.controls {
padding-top: 20px;
padding-left: 30px;
font-family: 'Courier New', Courier, monospace;
font-size: medium;
}
button {
font-family: 'Courier New', Courier, monospace;
font-size: large;
margin-bottom: 30px;
}
.photo {
margin-left: 30px;
margin-top: 30px;
}
.player {
position: absolute;
top: 50px;
right: 50px;
width: 300px;
}
/*
Strip!
*/
.strip {
padding: 2rem;
}
.strip img {
width: 100px;
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);
}