-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
75 lines (66 loc) · 1.23 KB
/
style.css
File metadata and controls
75 lines (66 loc) · 1.23 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
height: 100vh;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.container{
max-width: 900px;
width: 100%;
margin: auto;
padding: 1rem;
}
.img-container{
min-height: 60vh;
background: url('./imgs/img-0.jpg') center/cover fixed no-repeat;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0,0,0,0.4);
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem;
}
@media screen and (min-width: 768px){
.img-container{
min-height: 70vh;
}
}
.btn{
background-color: white;
color: #333;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
border-radius:50%;
font-size: 1.5rem;
box-shadow: 0 0 20px rgba(0,0,0,0.4);
}
.btn:hover{
background-color: #333;
color: white;
}
.img-grid{
height: 10vh;
margin-top: 1rem;
text-align: center;
}
.img-grid img{
height: 100%;
margin-left: 0.5rem;
cursor: pointer;
border-radius: 5px;
box-shadow: 0 0 20px rgba(0,0,0,0.4);
opacity: 0.3;
}
.img-grid img:first-of-type{
opacity: 1;
}