-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphotoGallery.css
90 lines (76 loc) · 1.51 KB
/
photoGallery.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
@import url('https://fonts.googleapis.com/css2?family=Sono:wght@200;300;400;600&display=swap');
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
body {
font-family: 'Sono', sans-serif;
min-height: 89vh;
background: linear-gradient(rgba(213, 204, 204, 0.2),rgba(213, 204, 204, 0.8)), url(./bg.jpg);
background-position: center;
background-repeat: no-repeat;
/* background-size: cover; */
}
.container {
max-width: 1200px;
margin: auto;
width: 90%;
}
.header-part {
margin-top: 5rem;
text-align: center;
}
.btn {
display: inline-block;
outline: none;
border: none;
cursor: pointer;
border-radius: 50px;
}
.section-part {
margin-top: 5rem;
text-align: center;
}
hr {
border-bottom: 3px solid;
width: 40%;
margin: 0 35% 0 30%;
}
.search {
min-height: 5vh;
display: flex;
justify-content: space-between;
margin-top: 1rem;
}
.search input{
min-height: 100%;
}
.search input[type="text"] {
width: 78%;
border-radius: 50px;
padding: 0.8rem;
font-size: 1rem;
font-weight: 400;
background: rgba(255,255,255,0.5);
border: none;
outline: none;
}
.search input[type="submit"] {
width: 20%;
background: rgba(44, 55, 63,0.7);
color: white;
font-weight: bold;
}
.display-only {
font-weight: 400;
}
.image-gallery {
display: grid;
grid-template-columns: repeat(auto-fit,minmax(250px, 1fr));
grid-gap: 30px;
}
.image-gallery img {
width: 300px;
height: 300px;
}