-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.css
97 lines (86 loc) · 1.64 KB
/
custom.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
h1 {
text-align: center;
}
#overview {
background: #ece9e6; /* fallback for old browsers */
background: -webkit-linear-gradient(
to bottom,
#ffffff,
#f9f8f7
); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(
to bottom,
#ffffff,
#f9f8f7
); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
#profilePicture {
max-width: 50%;
margin-top: 20%;
border-radius: 5%;
background-color: cadetblue;
}
.about {
padding-top: 10%;
}
.attribute {
margin-left: 1em;
padding-bottom: 0.6em;
}
.attribute:first-of-type {
padding-top: 1em;
}
.attribute:last-of-type {
padding-bottom: 1em;
}
a {
text-decoration: none;
position: relative;
}
a:hover {
color: black;
text-decoration: none;
}
a:before {
content: "";
position: absolute;
width: 100%;
height: 3px;
bottom: -4px;
left: 0;
background-color: #f79b3a;
visibility: hidden;
-webkit-transform: scaleX(0);
transform: scaleX(0);
-webkit-transition: all 0.3s ease-in-out 0s;
transition: all 0.3s ease-in-out 0s;
}
a:hover:before {
visibility: visible;
-webkit-transform: scaleX(1);
transform: scaleX(1);
}
@media (min-width: 768px) {
#overview {
background: #ece9e6; /* fallback for old browsers */
background: -webkit-linear-gradient(
to top,
#ffffff,
#f9f8f7
); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(
to top,
#ffffff,
#f9f8f7
); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.attribute {
margin-left: 0em;
}
.about {
padding-top: 50%;
}
#overview {
height: 100vh;
}
}