-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
83 lines (51 loc) · 1.18 KB
/
style.css
File metadata and controls
83 lines (51 loc) · 1.18 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
body{
background-color:rgb(90, 120, 99);
}
.container{
display: flex;
align-items: center;
justify-content: center;
margin-top: 10px;
font-size: large;
}
.menu li {
color: aliceblue;
display: inline-flex;
padding: 10px 15px;
margin: 5px;
cursor: pointer;
border: 2px solid transparent;
/* invisible initially */
transition: border-color 0.3s ease;
border-radius: 20px;
}
.menu li:hover {
border-color:white;
/* shows on hover */
color: black;
border-radius: 20px;
}
.menu .nav-link:hover {
color: black;
}
.new1 {
background-color: #90AB8B;
}
.project-card {
max-height: 620px;
max-width: 400px;
margin: auto;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
transform: scale(1.05);
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}
/* Image zoom on hover */
.project-img {
max-height: 490px;
width: 100%;
object-position: center;
object-fit: cover;
transition: transform 0.4s ease;
}