-
Notifications
You must be signed in to change notification settings - Fork 1
/
photo.css
69 lines (66 loc) · 1.05 KB
/
photo.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
.container{
display: grid;
grid-template-columns: repeat(3,1fr);
grid-template-rows: auto;
gap: 2%;
}
.container div img{
width: 100%;
height: 100%;
}
#header{
/* position: sticky; */
width: 100%;
top: 0;
}
/* .header{
position: sticky;
width: 100%;
top: 25px;
} */
.header{
display: flex;
align-items: center;
text-decoration: none;
}
.header a{
text-decoration: none;
}
.photo, .like, .collection, .stats{
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;
opacity: 0.5;
}
.photo:hover, .like:hover, .collection:hover, .stats:hover{
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;
opacity: 1;
}
.photo p+p{
margin-left: 5px;
}
.like p+p{
margin-left: 5px;
}
.collection p+p{
margin-left: 5px;
}
.stats p+p{
margin-left: 15px;
}
.photo p{
margin-top: 23px;
}
.like p{
margin-top: 23px;
}
.collection p{
margin-top: 23px;
}
.stats p{
margin-top: 23px;
}