forked from aspatil0/RESUMEX
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
59 lines (51 loc) · 1.23 KB
/
Copy pathstyle.css
File metadata and controls
59 lines (51 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
body {
font-family: 'Montserrat', sans-serif;
background-color: #ffffff; /* Changed to white background */
margin: 0;
padding: 0;
}
h1 {
text-align: center;
margin-top: 20px;
}
.container {
width: 90%;
margin: 0 auto;
overflow: hidden;
}
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr); /* 3 columns */
gap: 40px; /* Increased gap between images */
margin-top: 20px;
}
.template {
position: relative;
overflow: hidden;
cursor: pointer;
border: 3px solid rgba(0, 0, 0, 0.408); /* Border around images */
padding: 10px;
border-radius: 10px; /* Rounded corners */
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 15px;
}
.template-img {
width: 100%; /* Allow images to fill their container */
height: auto; /* Maintain aspect ratio */
transition: transform 0.3s ease-in-out;
}
.template-img:hover {
transform: scale(1.07); /* Slight zoom effect on hover */
}
@media (max-width: 768px) {
.grid {
grid-template-columns: repeat(2, 1fr); /* 2 columns for medium screens */
}
}
@media (max-width: 480px) {
.grid {
grid-template-columns: 1fr; /* 1 column for small screens */
}
}