-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstyle.css
76 lines (73 loc) · 1.9 KB
/
style.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
@font-face {
font-family: 'thomasreggi1';
src: url('./fonts/thomasreggi1.eot');
src: local('☺'), url('./fonts/thomasreggi1.woff') format('woff'), url('./fonts/thomasreggi1.ttf') format('truetype'), url('./fonts/thomasreggi1.svg') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'thomasreggi2';
src: url('./fonts/thomasreggi2.eot');
src: local('☺'), url('./fonts/thomasreggi2.woff') format('woff'), url('./fonts/thomasreggi2.ttf') format('truetype'), url('./fonts/thomasreggi2.svg') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'thomasreggi3';
src: url('./fonts/thomasreggi3.eot');
src: local('☺'), url('./fonts/thomasreggi3.woff') format('woff'), url('./fonts/thomasreggi3.ttf') format('truetype'), url('./fonts/thomasreggi3.svg') format('svg');
font-weight: normal;
font-style: normal;
}
body{
background-color:#000;
}
h1{
font-family: 'thomasreggi1';
font-size:50px;
color: #fff;
}
#main{
margin: auto;
margin-top: 250px;
width: 700px;
text-align: center;
}
#github{
float:right;
}
#github-container{
width:100%;
position:absolute;
bottom:0px;
height:30px;
padding:5px;
background-color:#ddd;
}
.v-top{
display: inline-block;
vertical-align: top;
margin-right:5px
}
.darken{
position: absolute;
top: 0;
left: 0;
background-color: #000;
width: 100%;
height: 100%;
opacity: 0.8;
-webkit-transition: top .15s linear;
-moz-transition: top .15s linear;
-ms-transition: top .15s linear;
-o-transition: top .15s linear;
transition: top .15s linear;
}
#github-container:hover .darken{
top:-30px;
-webkit-transition: top .15s linear;
-moz-transition: top .15s linear;
-ms-transition: top .15s linear;
-o-transition: top .15s linear;
transition: top .15s linear;
}