-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinteractive.css
111 lines (95 loc) · 1.98 KB
/
interactive.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/* Projects effetcs */
.container {
position: relative;
width : 100%;
padding-top: 1.5%;
padding-bottom: 1.5%;
}
.project-image {
opacity: 1;
display: block;
width: 100%;
height: auto;
transition: .5s ease;
backface-visibility: hidden;
}
.overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
height: 100%;
width: 100%;
opacity: 0;
transition: .5s ease;
background-color: #161616;
}
.container:hover .project-image {
opacity: 0.3;
}
.container:hover .overlay {
opacity: .75;
}
/*buttons and effects*/
.cv-button {
color : #4C5A9F;
background-color : transparent;
border-width : 2px;
border : solid;
text-align : center;
transition-duration: 0.4s;
font-size : 20px;
/*border-radius : 22px;*/
padding : 10px 80px;
text-decoration : none;
}
.cv-button:hover {
background-color: #4C5A9F;
color : white;
}
.contact-button {
transition-duration: 0.6s;
width : 60%;
margin-left : auto;
margin-right : auto;
display : block;
}
.contact-button:hover {
opacity: 0.6;
}
.game-cover {
/*margin-left: 10%;
margin-right: 10%;*/
margin-top : 1.5%;
margin-bottom: 1.5%;
}
.project-skills{
display: grid;
}
/* -- Navbar -- */
#navbar {
overflow : hidden;
background-color: #2D2D2D;
width : 100%;
}
#navbar a {
float : left;
display : block;
color : #f2f2f2;
text-align : center;
padding : 17px 16px;
text-decoration : none;
font-size : 18px;
width : 33.33%;
transition-duration: 0.2s;
}
#navbar a:hover {
background-color: #ddd;
color : black;
}
#navbar a.active {
background-color: #4CAF50;
color : white;
}
/*-----------------------*/