-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
87 lines (74 loc) · 1.39 KB
/
main.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Roboto', sans-serif;
}
header {
background-color:#5f27cd; /*facilita um envolvimento melhor com a cor*/
padding: 16px 0;
color: #fff;
display: flex;
border-bottom: 16px solid #341f97;
justify-content: center;
text-transform: uppercase;
font-style: italic;
}
header button {
margin-left: 16px;
}
form{
background-color: #c8d6e5;
padding: 24px 0;
text-align: center;
display: none;
}
form h2 {
margin-bottom: 16px;
}
input,
button {
padding: 8px;
}
button {
background-color: #009432;
border: none;
font-weight: bold;
text-transform: uppercase;
color: #fff;
cursor: pointer;
}
#btn-cancel{
background-color: red;
}
ul {
display: flex;
flex-wrap: wrap;
}
ul li {
max-width: 25%; /*4 itens por linha*/
list-style: none;
position: relative;
max-height: 280px;
overflow-y: hidden ;
}
ul li img {
width: 100%;
}
.overlay-image-link {
padding: 16px;
background-color: rgba(0,0,0, 0.7);
position: absolute;
bottom: 0;
left: 0;
width: 100%;
opacity: 0;
transition: all ease .5s;
}
.overlay-image-link a {
color: #fff;
text-decoration: none;
}
ul li:hover .overlay-image-link{
opacity: 1;
}