forked from CoderSaty/FirstProjects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.css
60 lines (53 loc) · 1.12 KB
/
project.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
.primary-link{
transition-duration: 0.2s;
}
.primary-link:hover{
box-shadow: 0 6px 8px 0 rgba(0,0,0,0.24);
}
.secondary-link{
transition-duration: 0.4s;
}
.secondary-link:hover{
background-color: var(--primary-color);
color: white;
}
.section{
margin:1rem 0rem;
background-color: #e0e0e0;
width: 40%;
display: inline-block;
margin-left: 6%;
border-radius: 20px;
height: fit-content;
transition-duration: 0.4s;
/* border-color: var(--primary-color); */
border: 3px solid var(--primary-color);
}
.section:hover{
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
.project-heading{
text-align: center;
transform: translateY(-10px);
}
.project-links{
width: fit-content;
margin: auto;
}
@media (max-width: 768px){
.section{
display: block;
width: auto;
margin: 15px;
padding: 20px;
padding-bottom: 25px;
}
.project-links a{
padding: 7.5px;
transform: translateX(-200%);
border-radius: 10px;
}
.project-heading{
transform: translateY(12%);
}
}