-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
86 lines (82 loc) · 1.83 KB
/
main.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
#main {
height: 100vh;
width: 100%;
background-color: aliceblue;
}
#cover-blog .cover-image{
background-image: url("https://images.pexels.com/photos/261662/pexels-photo-261662.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=600&w=900");
background-size:cover;
}
#cover-blog .cover-overlay{
background: rgba(61, 126, 24, 0.658);
}
#cover-resume .cover-image{
background-image: url("https://images.pexels.com/photos/590016/pexels-photo-590016.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=600&w=900");
background-size:cover;
}
#cover-resume .cover-overlay{
background-color: rgba(153, 0, 255, 0.507);
}
#cover-project-1 .cover-image{
background-image: url("https://masterinstitute.id/assets/img/logo_baru.png");
background-size:cover;
}
#cover-project-1 .cover-overlay{
background-color: rgba(98, 81, 255, 0.507);
}
#cover-project-2 .cover-image{
background-image: url("https://images.pexels.com/photos/9598/pexels-photo.jpg?auto=compress&cs=tinysrgb&dpr=2&h=600&w=900");
background-size:cover;
}
#cover-project-2 .cover-overlay{
background-color: rgba(253, 124, 107, 0.507);
}
.cover-link {
z-index: 3;
color: white;
font-size: 40px;
font-style: oblique;
}
.cover-link:hover{
color: white;
text-decoration: inherit;
}
.cover-image {
z-index: 0;
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
height: 100%;
width: 100%;
object-fit: contain;
}
.cover-overlay{
z-index: 1;
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
height: 100%;
width: 100%;
object-fit: contain;
}
.cover-row{
height: 100%;
}
.cover{
height: 50%;
}
@media screen and ( min-width: 768px ){
.cover-row{
height: 50%;
}
.cover{
height: 100%;
}
.cover-link {
font-size: 50px;
}
}