-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
111 lines (102 loc) · 1.95 KB
/
index.css
File metadata and controls
111 lines (102 loc) · 1.95 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
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
@import url('https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300');
body {
font-family: 'Open Sans Condensed', sans-serif;
background-image: url("images/background.jpg");
}
h1, h2, p {
text-align: center;
color: #eee;
font-weight: bolder;
}
a:hover {
cursor: pointer;
}
h2 {
margin-top: 0;
}
.resume {
font-size: 20px;
margin-bottom: 0;
}
.social-links {
margin-top: 0;
padding-top: 0;
font-size: 40px;
}
.box{
border:4px solid #fff;
box-shadow:0 0 4px grey;
position:relative;
margin-top: 15px;
margin-bottom: 15px;
}
.box:before{
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0) linear-gradient(45deg, #141414 0%, #691100 40%, #1b1b1b 100%);
opacity: 0.3;
transition:all 0.5s ease;
}
.box img{
width:100%;
height: auto;
}
.box .box-content{
background: rgba(0,0,0,0);
position: absolute;
top:0;
left: 0;
width: 100%;
height: 100%;
padding: 38px;
transition: all 0.35s ease 0s;
}
.box:hover .box-content{
background: rgba(0,0,0,0.5);
}
.box .box-content:after{
content: "";
border: 7px solid #fff;
position: absolute;
top:21px;
left: 20px;
right: 30px;
height: 40%;
transition: all 0.35s ease 0s;
}
.box:hover .box-content:after{
top:50%;
}
.box .title{
background: rgba(0,0,0, 0.5);
color:#fff;
font-size:24px;
font-weight: bolder;
text-transform:uppercase;
}
.box .description{
position: relative;
top:5%;
color:#fff;
opacity:0;
transition: all 0.35s ease 0s;
font-size: 18px;
}
.box:hover .description{
top:40%;
opacity:1;
}
@media only screen and (max-width: 990px) {
.box{
margin-bottom:15px;
}
}
@media only screen and (max-width: 479px) {
.box .title{ font-size: 15px;}
.box .description{ font-size: 13px; }
.box:hover .description{ top:48%; }
}