Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
86 lines (74 loc) · 1.34 KB
/
Copy pathstyle.css
File metadata and controls
86 lines (74 loc) · 1.34 KB
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
font-size: 16px;
}
.wrapper {
width: 100%;
min-height: 100vh;
background-color: #212;
padding: 36px;
}
.gallery {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-evenly;
background-color: #dededf;
padding: 24px;
min-height: 70vh;
}
.cards {
margin-top: 36px;
width: 100%;
max-width: 900px;
display: flex;
flex-direction: row;
justify-content: space-around;
flex-wrap: wrap;
}
.card {
box-shadow: 3px 3px 12px 5px rgba(0, 0, 0, 0.2);
border-radius: 6px;
width: 240px;
padding: 6px;
margin: 12px;
background-color: #ffffff;
}
.image {
width: 100%;
height: 200px;
background-image: url("https://innerharbouroptometry.com/wp-content/uploads/2016/05/photo-1438761681033-6461ffad8d80-1030x687.jpe");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.image-extra {
width: 100%;
height: 200px;
}
.image-extra img {
width: 150%;
overflow: hidden;
}
.description {
text-align: center;
margin: 6px;
}
.likes {
display: flex;
align-items: center;
justify-content: flex-end;
}
.likes i:hover {
cursor: pointer;
}
.likes .no_of_likes {
position: relative;
top: 1px;
font-size: 14px;
}