-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
90 lines (82 loc) · 1.39 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
*, *:before, *:after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body, html {
overflow: hidden;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: #1A1A1A;
color: #fff;
font-family: "Oswald", sans-serif;
font-size: 18px;
line-height: normal;
}
.wrap {
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
display: flex;
flex-wrap: wrap;
}
.item {
width: 16.666%;
height: 25%;
background-color: rgba(255, 255, 255, 0.36);
position: relative;
background-size: cover;
background-repeat: no-repeat;
background-position: 50% 50%;
overflow: hidden;
}
.beer_name {
font-weight: 400;
padding: 15px;
background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0, transparent);
}
.beer_name:empty {
display: none;
}
.user_name {
position: absolute;
bottom: 45px;
right: 15px;
font-weight: 300;
font-size: 14px;
}
.rating {
position: absolute;
right: 12px;
bottom: 15px;
display: flex;
}
.star {
width: 25px;
height: 25px;
background-repeat: no-repeat;
background-size: 100%;
margin-left: 3px;
margin-right: 3px;
}
.star.r0 {
background-image: url(r0.svg);
}
.star.r1 {
background-image: url(r1.svg);
}
.star.r0_25 {
background-image: url(r0_25.svg);
}
.star.r0_5 {
background-image: url(r0_5.svg);
}
.star.r0_75 {
background-image: url(r0_75.svg);
}
/*# sourceMappingURL=style.css.map */