-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathportfolio.css
95 lines (85 loc) · 1.52 KB
/
portfolio.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
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
.navbar{
padding: 0.1 0 0.2rem;
}
.navbar-brand{
font-family: 'Ubuntu', sans-serif;
font-size: 1.8rem;
font-weight: bold;
margin-left: 20px;
}
.nav-item{
padding: 0 10px;
text-align: left;
}
.nav-link{
font-family: 'Montserrat', sans-serif;
font-size: 1.2rem;
}
.card__wrapper {
display: flex;
width: 100%;
padding: 5px 10px;
justify-content: space-between;
flex-wrap: wrap;
}
.card__main {
width: calc(33.333% - 15px);
margin-bottom: 30px;
position: relative;
height: 300px;
background-color: red;
}
.card__main:hover .card__overlay {
background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(1, 1, 1, 0.6));
}
.card__main:hover {
box-shadow: 0 10px 6px -6px #777;
transform: scale(1.01);
}
.card__background {
width: 100%;
height: 100%;
}
.card__overlay {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(1, 1, 1, 0.5));
}
.card__title {
position: absolute;
top: 50%;
text-align: center;
transform: translateY(-50%);
color: #fff;
font-family: "Courier New", Courier, monospace;
font-weight: 600;
font-size: 24px;
width: 100%;
}
@media (max-width: 768px) {
.card__main {
width: 100%;
}
}
.portfolio__wrapper {
width: 100%;
text-align: center;
}
/* h2 {
margin-bottom: 12px;
margin-bottom: 12px;
font-size: 60px;
font-weight: 100px;
}
*/
footer a{
text-decoration: none;
}
@media screen and (max-width: 770px) {
.card-body {
align-content: center;
}
}