-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpicture.css
107 lines (107 loc) · 1.88 KB
/
picture.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
*{
margin:0;
padding:0;
font-family:'Poppins', sans-serif;
box-sizing: border-box;
}
html{
scroll-behavior: smooth;
}
body{
background:#080808;
color:#fff;
}
#header{
width:100%;
height:100vh;
background-image:black;
background-size:cover;
}
.container{
padding: 10px 10%;
}
/*---------Portfolio Section----------*/
#portfolio{
padding: 50px 0;
}
.sub-title{
font-family:courier;
}
.work-list{
display:grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
grid-gap: 40px;
margin-top: 50px;
}
.work{
border-radius: 10px;
position: relative;
overflow: hidden;
}
.work img{
width:100%;
border-radius: 10px;
display: block;
transition: transform 0.5s;
}
.work:hover img{
transform: scale(1.1);
}
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
display: none;
justify-content: center;
align-items: center;
}
.enlarged-image {
max-width: 80%;
max-height: 80%;
cursor: pointer;
}
.close-button {
position: absolute;
top: 10px;
right: 10px;
color: #fff;
font-size: 60px;
cursor: pointer;
}
#bg-music {
display: none;
}
.work-list{
display:grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
grid-gap: 40px;
margin-top: 50px;
}
.work{
border-radius: 10px;
position: relative;
overflow: hidden;
}
.work img{
width:100%;
border-radius: 10px;
display: block;
transition: transform 0.5s;
}
.work:hover img{
transform: scale(1.1);
}
.copyright{
text-align:center;
padding: 25px 0;
background: #262626;
width:100%;
margin-top: 20px;
font-weight: 300;
}
.copyright i{
color:#00e5ff;
}