-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
100 lines (70 loc) · 1.09 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
92
93
94
95
96
97
98
99
100
*,
*:before,
*:after {
box-sizing: border-box;
}
html {
font-family: Helvetica, Arial, san-serif;
background-color: #333;
}
.outlet {
display: flex;
flex-wrap: wrap;
margin-top: 48px;
}
.gif-item {
position: relative;
width: 50%;
height: 100px;
cursor: pointer;
}
.gif-item__gif {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.gif-item__delete {
position: absolute;
top: 5px;
right: 5px;
display: none;
}
.gif-item:hover .gif-item__delete {
display: block;
}
.add-gif {
display: flex;
position: fixed;
top: 8px;
right: 8px;
left: 8px;
z-index: 100;
}
.add-gif__input,
.add-gif__button,
.options-button {
height: 30px;
cursor: pointer;
outline: none;
border: 2px solid lightgreen;
}
.add-gif__input {
padding: 5px;
margin-bottom: 10px;
flex: 1;
color: #fff;
background-color: #666;
}
.add-gif__button {
background-color: lightgreen;
}
.options-button {
font-size: 20px;
line-height: 20px;
border: none;
}