-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathportfolio.css
More file actions
123 lines (112 loc) · 2 KB
/
Copy pathportfolio.css
File metadata and controls
123 lines (112 loc) · 2 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
body
{
background-color: #D3F55B;
}
.header-container
{
background-color: #D3F55B;
padding: 20px;
min-height: 60px;
}
.header-container .title-container span
{
font-size: 60px;
font-family: "Nohemi-Bold";
}
.main-container
{
min-height: 100vh;
height: fit-content;
background-color: black;
}
.image-grid-container
{
display: flex;
flex-wrap: wrap;
gap: 10px;
padding: 10px;
justify-content: flex-start;
}
.main-container .image-element
{
width: calc((100% - 30px) / 4);
height: 20vw;
}
@media screen and (max-width: 900px)
{
.main-container .image-element
{
width: calc((100% - 10px) / 2);
height: 40vw;
}
}
.main-container .image-element img
{
width: 100%;
height: 100%;
object-fit: cover;
transition: .2s linear;
}
.main-container .image-element img:hover
{
cursor: pointer;
}
.image-viewer-container
{
position: fixed;
width: 100vw;
height: 100vh;
top: 0;
display: flex;
justify-content: center;
align-items: center;
scale: 0;
transition: .2s ease;
z-index: 90;
}
.image-viewer
{
padding: 10px;
background-color: rgb(228, 228, 228);
max-width: 1000px;
width: calc(100%-20px);
color: black;
box-shadow: 0px 0px 105px 40px rgba(0,0,0,1);
display: flex;
flex-direction: column;
}
.image-viewer img
{
max-width: 100%;
max-height: 90vh; /* o quello che preferisci, evita che esca fuori dallo schermo */
object-fit: contain;
border: .5px solid black;
}
.image-viewer .details-container
{
padding: 10px;
display: flex;
justify-content: space-between;
}
.main-video-container
{
height: fit-content;
padding: 20px;
display: flex;
flex-direction: row;
background-color: black;
gap: 15px;
}
.main-video-container .video-container
{
width: 600px;
max-width: 100%;
aspect-ratio: 4/3;
}
@media screen and (max-width: 900px)
{
.main-video-container
{
flex-direction: column;
}
}