-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.css
More file actions
98 lines (90 loc) · 1.74 KB
/
project.css
File metadata and controls
98 lines (90 loc) · 1.74 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
.project_title h2
{
text-align: center;
color: #50aca9;
font-weight: 900;
font-family: "Changa", sans-serif;
font-optical-sizing: auto;
font-style: normal;
}
.project_title p
{
text-align: center;
}
.projects
{
display: flex;
justify-content: center;
}
.projects h3
{
word-break: auto-phrase;
}
/* {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(373px, 0.5fr));
gap: 10px;
justify-items: center;
align-items:center;
} */
.project-btn {
padding: 10px 20px;
border-radius: 50px;
background: linear-gradient(135deg, #387876eb, #617f7e9e);;
color: white;
font-weight: bold;
border: none;
cursor: pointer;
transition: 0.3s;
width: 55%;
}
.project-btn:hover {
background: #fff;
color: #000;
box-shadow: 0 5px 15px rgba(195, 193, 193, 0.67);
}
/* Modal styles */
#imageModal {
display: none; /* shown via JS */
position: fixed;
inset: 0;
background: rgba(0,0,0,0.7);
z-index: 9999;
align-items: center;
justify-content: center;
padding: 20px;
}
#imageModal.open { display: flex; }
#imageModal .modal-content {
max-width: 95%;
max-height: 90%;
border-radius: 8px;
overflow: hidden;
background: #111;
}
#modalImg {
display: block;
max-width: 100%;
max-height: 80vh;
object-fit: contain;
}
.modal-close {
position: absolute;
top: 18px;
right: 22px;
background: rgba(255,255,255,0.12);
color: #fff;
border: none;
padding: 8px 12px;
border-radius: 6px;
cursor: pointer;
z-index: 10000;
}
.btn
{
border: none;
}
.btn:hover
{
border-color: none;
}