-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.css
More file actions
126 lines (106 loc) · 2.16 KB
/
index.css
File metadata and controls
126 lines (106 loc) · 2.16 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/* kudos to Tomomi Imura for http://girliemac.com/blog/2010/06/02/simulating-macos-dock-like-menu-with-css3/ */
html {
height: 100%;
color: black;
background: white;
}
body {
font-family: 'Helvetica Neue', Helvetica, arial, sans-serif;
margin: 1em 1em 0;
}
img {
border: 0;
}
@font-face {
font-family: 'Handel-Gothic-BT';
src:url('fonts/Handel-Gothic-BT.ttf.woff') format('woff'),
url('fonts/Handel-Gothic-BT.ttf.svg#Handel-Gothic-BT') format('svg'),
url('fonts/Handel-Gothic-BT.ttf.eot'),
url('fonts/Handel-Gothic-BT.ttf.eot?#iefix') format('embedded-opentype');
font-weight: normal;
font-style: normal;
}
#dock-container {
padding-top: 32px;
text-align: center;
width: 100%;
height: 94px;
clear: both;
white-space: nowrap;
}
#dock {
position: relative;
display: inline-block;
perspective: 400;
}
#dock ul {
font-size: 14px;
padding: 0px;
margin: 0px;
}
#dock li {
list-style-type: none;
display: inline-block;
position: relative;
}
#dock li span {
display: none;
position: absolute;
bottom: 140px;
left: 0;
width: 100%;
background-color: rgba(0,0,0,.75);
padding: 4px 0;
border-radius: 12px;
}
#dock li:hover span {
display: block;
color: white;
}
#dock li img {
width: 50px;
height: 50px;
margin-bottom: 26px;
transition: all 0.35s;
transform-origin: 50% 100%;
}
#dock li:hover img {
transform: scale(2.4);
margin: 0 2em 10px;
}
/* one element after and element before (with JS)*/
#dock li:hover + li img,
#dock li.prev img {
transform: scale(1.4);
margin: 0 1.4em 10px;
margin-bottom: 21px;
}
#aboutme {
width: 800px;
margin: auto;
padding-top: 92px;
}
#aboutme-left {
float: left;
width: 195px;
padding-top: 22px;
}
#aboutme-right {
float: right;
width: 573px;
}
#aboutme img {
box-shadow: 2px 2px 7px grey;
width: 195px;
height: 300px;
}
#aboutme h1 {
text-shadow: 2px 2px 5px grey;
font-size: 2em;
font-family: Handel-Gothic-BT, 'Droid Sans', Helvetica, arial, sans-serif;
margin-top: 0.5em;
margin-bottom: 0.7em;
}
#aboutme p {
text-align: justify;
}