forked from gr0uch/unknown-pleasures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.css
76 lines (76 loc) · 1.34 KB
/
base.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
/*
Unknown Pleasures
*/
* {
margin: 0;
padding: 0;
border: 0;
-webkit-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
html,
body {
overflow: hidden;
height: 100%;
}
body {
background: #0f0f0f url("lib/noise.jpg") center repeat;
color: #fff;
text-align: center;
font-family: Georgia, serif;
}
#wrapper {
-webkit-perspective: 1000px;
-moz-perspective: 1000px;
perspective: 1000px;
-webkit-perspective-origin: 50% 70%;
-moz-perspective-origin: 50% 70%;
perspective-origin: 50% 70%;
}
#pulsar {
display: inline-block;
position: relative;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
-webkit-transform-origin: center center;
-moz-transform-origin: center center;
transform-origin: center center;
}
h1,
h2 {
text-transform: uppercase;
font-size: 50px;
color: #000;
font-weight: normal;
text-align: center;
position: absolute;
width: 100%;
z-index: 1000;
text-shadow: 0 0 2px Silver;
}
h1 {
line-height: 750px;
}
h2 {
font-size: 40px;
}
.top {
top: 20%;
}
.bottom {
bottom: 20%;
}
svg {
display: block;
position: absolute;
-webkit-transform-origin: center bottom;
-moz-transform-origin: center bottom;
transform-origin: center bottom;
}
path {
stroke: #fff;
stroke-width: 0.06em;
fill: #0f0f0f;
}