-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
108 lines (97 loc) · 5.13 KB
/
styles.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
105
106
107
108
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Montserrat, 'Arial Narrow Bold', sans-serif;
}
main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
padding: 5vh;
padding-bottom: 175px;
}
.quote-poster {
position: relative;
min-height: 275px;
max-height: 94vh;
width: 100%;
overflow: hidden;
background-image: url('https://metro.co.uk/wp-content/uploads/2017/04/guardians-of-the-galaxy.jpg?quality=90&strip=all');
background-size: cover;
background-position: top;
}
.quote-poster .quote-text {
overflow: scroll;
display: flex;
justify-content: flex-end;
align-items: center;
line-height: 5.9vw;
letter-spacing: -.2vw;
color: black;
background: white;
mix-blend-mode: screen;
font-weight: 800;
width: 50%;
height: 100%;
min-height: 275px;
text-align: right;
padding-top: 5vw;
padding-bottom: 5vw;
}
.quote-poster .quote-text p {
word-break: break-word;
font-size: 7vw;
padding-right: 10px;
height: 100%;
}
.attribution {
font-size: 2vw;
font-weight: 700;
right: 2vw;
bottom: 1vw;
color: white;
position: absolute;
width: 100%;
text-align: right;
}
main input {
position: absolute;
bottom: 140px;
width: 100%;
max-width: 350px;
border: none;
background: none;
border-bottom: 1px dashed;
height: 41px;
font-size: 41px;
}
button {
position: fixed;
bottom: 20px;
width: 100px;
height: 100px;
overflow: hidden;
border: none;
}
button:hover {
cursor: pointer;
}
button .blur-bg {
background: url('https://metro.co.uk/wp-content/uploads/2017/04/guardians-of-the-galaxy.jpg?quality=90&strip=all');
background-size: cover;
filter: blur(15px);
}
button .icon {
position: absolute;
top: 0;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAflBMVEX///8BAAIAAADb29toaGiOjo4+Pj4WFhaqqqr4+Pj09PTj4+PIyMjn5+fg4ODQ0NCwsLDu7u7AwMCdnZ0zMzO6urp2dnZ/f39lZWVfX1+Hh4dTU1M3NzfW1taZmZktLS1MTEwlJSVISEgQEBEeHh4YGBibm5txcXEpKClZWVnQBrocAAAI2klEQVR4nO1d6XrqIBA1477v2rrVpb217/+CN1HUbAwDAUz4OL8rzGmSw8As1GoeHh4eHh4eHh4eHh4eHh5lxL7zbgtMow7Nd5tgGHWAxrttMIs6BNDqvtsKkwgZBtAevtsMg4gYBgDjd9thDjeGIcXJuw0xhjvDkKKzksoYBu5K6oNh4KykvhgGcHFSUmMMHZXUOEM3JTXB0ElJTTJ0UVJTDB2U1AzDAH7cktQsQ9ckNYehY5Kax9AtSc1l6JSk5jN0SVJ5DN3Z+HMZOiOpfIauSOqIz7C6ktrt9abD0R39GcIwpPjxbmPlUJ8cVsddGxJACEYUqyKpvXHn90JkleKY3vi3OTh9LXbHRvMwGdvX4P3hLE0s/hiTkgoEnBrzwdQWvfFandyDYkJSSb+I8LWZmX/D9+uC7JjBcUml/yrEtmP0UXauOvgFKUmV+yHAeWLoSU43etgxU1+SKvvLEB8GnKPhSie/IC6pCr8Nv0nN3tFUN78gJqlqPwaYaySo9f2MWTlRZnj7uTaOSyP8gqekFvh9oONdHR4N8QseG/9CA1wHRQkezPELmJdacISPQgvkcGGUYGThZzGGBT/HjnF+IcGCDG8vgqJr3vszT3BTK84weoxKeVgDUxIas+xmmJaR/uQ9ObMSczfrroN6xgr2kgQ/LRAc1bQxfL4QVExP5gnuHu+VrgHhl05wb+EBfj5n0zfmrkckOLNAcPOaTuOwwYhEcGKBYPyb0TowxYmbWxNR/QxJetM0T/DST8yod3DhqfraPMFFSg80Dw+4J76y4okaZAi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OymiDCFD5zzRJOruiihD3V0RZdhXti+hh4eHh4eHh4eHh4eHh4dJ/Acl+HhQF4pljAAAAABJRU5ErkJggg==');
background-size: contain;
mix-blend-mode: screen;
}
button .blur-bg, button .icon {
width: 100%;
height: 100%;
}