forked from jaiyankargupta/OCD-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.css
More file actions
69 lines (69 loc) · 1.64 KB
/
project.css
File metadata and controls
69 lines (69 loc) · 1.64 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
:root{
--primary:#051c67;
--dark:#161616;
--pure:#ffffff;
--ternary:#898989;
--light:#F2F2F2;
--secondary:#070606;
--PRIMA:#27b3d6;
}
body{
background: var(--primary);
}
section.project{
background:var(--primary);
clip-path:polygon(0 0, 100% 0, 100% 100%, 67% 90%, 0 100%);
padding-bottom:12rem;
}
section.project .section-heading{
color:var(--pure);
text-align: center;
justify-content: center;
}
section.project .card-wrapper{
display:grid;
grid-template-columns: repeat(3, 1fr);
grid-gap:3rem;
}
section.project .card-wrapper .card{
background:var(--pure);
box-shadow: rgb(163, 167, 171) 20px 20px 25px -10px;
border-radius: 20px;
}
section.project .card-wrapper .card .img-wrapper img{
width:100%;
height:45%;
object-fit:cover;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
}
section.project .card-wrapper .card .card-content{
text-align: center;
padding:1rem;
padding-left:2rem;
padding-right:2rem;
}
section.project .card-wrapper .card .card-content h1{
font-size:1rem;
font-weight:600;
}
section.project .card-wrapper .card .card-content a{
color:var(--secondary);
text-decoration: none;
}
section.project .card-wrapper .card .card-content a:hover{
color:var(--PRIMA);
}
section.project .card-wrapper .card .card-content span{
color:var(--ternary);
font-size:0.8rem;
}
section.project .card-wrapper .card .card-content p{
font-family:'Lato', sans-serif;
color:var(--ternary);
margin-top:1rem;
margin-bottom:1rem;
}
section.project .card-wrapper .card .card-content a.read-more{
font-size:0.8rem;
}