-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.html
100 lines (97 loc) · 3.24 KB
/
index.html
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>OS X 10.10</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="favicon.ico" />
<style>
@font-face {
font-weight:200;
font-style:normal;
font-family:'HelveticaNeue';
src:url("fonts/HelveticaNeue-UltraLight.otf");
}
body {
background:url(images/osx-bg.jpg) no-repeat;
/*background-size*/
-webkit-background-size:/*@@prefixmycss->No equivalent*/;
-moz-background-size:cover;
-o-background-size:/*@@prefixmycss->No equivalent*/;
background-size:cover;
text-align:center;
-webkit-font-smoothing:antialiased;
font-smoothing:antialiased;
font-family:'HelveticaNeue', sans-serif;
}
.osx h1 {
margin-bottom:0;
color:#fff;
font-weight:200;
font-size:100px;
font-family:'HelveticaNeue', sans-serif;
}
.yosemite {
position:relative;
margin:8% auto 0;
width:260px;
height:260px;
/*border-radius*/
-webkit-border-radius:50%;
-moz-border-radius:50%;
border-radius:50%;
background:#FBF5F2;
/*linear-gradient*/
background:-webkit-gradient(linear, left top, left bottom, color-stop(#f8f8f8, 0.05), color-stop(#eaeaea, 1));
background:-webkit-linear-gradient(top, #f8f8f8 5%, #eaeaea 100%);
background: -moz-linear-gradient(top, #f8f8f8 5%, #eaeaea 100%);
background: -o-linear-gradient(top, #f8f8f8 5%, #eaeaea 100%);
background: linear-gradient(top, #f8f8f8 5%, #eaeaea 100%);
/*@@prefixmycss->No equivalent*/
background:-webkit-linear-gradient(to bottom, #f8f8f8 5%, #eaeaea 100%);
background: -moz-linear-gradient(to bottom, #f8f8f8 5%, #eaeaea 100%);
background: -o-linear-gradient(to bottom, #f8f8f8 5%, #eaeaea 100%);
background: linear-gradient(to bottom, #f8f8f8 5%, #eaeaea 100%);
vertical-align:middle;
text-align:center;
font-weight:200;
font-size:200px;
font-family:'HelveticaNeue', sans-serif;
}
.yosemite span {
position:absolute;
top:0;
right:0;
bottom:0;
left:0;
width:260px;
height:260px;
background:url(images/osx-tip.png) no-repeat center center;
/*background-clip*/
-webkit-background-clip:text;
-moz-background-clip:text;
background-clip:text;
/*background-size*/
-webkit-background-size:/*@@prefixmycss->No equivalent*/;
-moz-background-size:cover;
-o-background-size:/*@@prefixmycss->No equivalent*/;
background-size:cover;
color:transparent;
line-height:260px;
webkit-text-fill-color:transparent;
text-fill-color:transparent;
}
</style>
<script src="http://cdn.staticfile.org/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body>
<div class="osx">
<div class="yosemite">
<span>X</span>
</div>
<h1>OS X Yosemite</h1>
</div>
</body>
</html>