forked from beaucollins/radial-menu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
182 lines (163 loc) · 4.07 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
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
body {
font-size: 12px;
font-family: "Helvetica Neue", HelveticaNeue, Helvetica;
background: rgb(155,141,113) url(texture.jpg);
margin: 0;
overflow: auto;
}
a[href^="http://github.com/"] {
position: fixed;
top:0;
right:10px;
z-index: 4;
background: hsla(0,0%,100%,0.8);
background: -webkit-linear-gradient(hsla(0,0%,100%,1.0), hsla(0,0%,80%,1.0));
background: -moz-linear-gradient(hsla(0,0%,100%,1.0), hsla(0,0%,80%,1.0));
border-radius: 0 0 2px 2px;
padding: 8px;
box-shadow: 0 0 4px hsla(0,0%,0%,0.4);
color:#666;
font-weight:bold;
text-decoration:none;
text-shadow: 0 1px 0 hsla(0,0%,100%,1.0);
}
a[href^="http://github.com/"]:hover {
color: hsla(0,50%,50%,1.0);
}
a[href^="http://github.com/"]:focus {
color: hsla(0,50%,50%,1.0s);
background: -webkit-linear-gradient(hsla(0,0%,80%,1.0), hsla(0,0%,85%,1.0) 40%, hsla(0,0%,95%,1.0));
background: -moz-linear-gradient(hsla(0,0%,80%,1.0), hsla(0,0%,85%,1.0) 40%, hsla(0,0%,95%,1.0));
box-shadow: inset 0 -1px 2px hsla(0,0%,0%,0.5), 0 1px 2px hsla(0,0%,100%,0.4);
}
#app {
position:absolute;
top:0;
bottom:0;
right:0;
left:0;
overflow:auto;
-webkit-overflow-scrolling: touch;
background: url(circles.png) no-repeat bottom left;
padding: 30px;
color: #222;
line-height: 1.5;
font-size: 16px;
text-shadow: 0 1px 0 hsla(0,0%,100%,0.3);
}
#app p a {
background: hsla(0,0%,100%,0.5);
border: 1px solid hsla(0,0%,100%,0.6);
border-radius:2px;
padding: 0 3px;
color: #333;
}
h1 {
margin: 20px 0;
padding: 0;
font-weight: normal;
text-shadow: 0 1px 0 hsla(0,0%,100%,0.5);
}
h2 {
margin: 40px 0 10px;
padding:0;
font-weight: normal;
text-shadow: 0 1px 0 hsla(0,0%,100%,0.5);
}
pre {
background: hsla(0,0%,100%,0.3);
border-radius: 2px;
border: 1px solid hsla(0,0%,100%,0.35);
padding: 20px;
margin: 20px 0;
overflow: auto;
}
p {
margin: 20px 0;
padding: 0;
}
@media screen and (-webkit-device-pixel-ratio:2) {
#app {
background: url(circles@2x.png) no-repeat bottom left;
background-size: 400px 400px;
padding-bottom: 40px;
}
body {
background: rgb(155,141,113) url(wood@2x.jpg);
background-size: 320px 480px;
}
}
@media screen and (-webkit-device-pixel-ratio:1) and (max-device-width:480px) {
#app {
background: url(circles.png) no-repeat bottom left;
padding-bottom: 40px;
}
body {
background:rgb(155,141,113) url(wood@2x.jpg);
background-size: 320px 480px;
}
}
nav#arc {
position:fixed;
bottom: 30px;
left: 30px;
background:#F00;
}
nav#full {
position: relative;
margin-left: 50%;
}
a {
-webkit-tap-highlight-color:hsla(0,0%,0%,0.0);
}
nav > a {
position: absolute;
width: 40px;
height: 40px;
background: #F00;
background: -webkit-linear-gradient(hsla(0,100%,50%,1.0), hsla(0,100%,43%,1.0) 50%, hsla(0,100%,37%,1.0) 50%, hsla(0,100%,30%,1.0));
background: -moz-linear-gradient(hsla(0,100%,50%,1.0), hsla(0,100%,43%,1.0) 50%, hsla(0,100%,37%,1.0) 50%, hsla(0,100%,30%,1.0));
bottom: -23px;
left: -23px;
z-index: 2;
border-radius:40px;
font-size: 38px;
font-weight:bold;
font-family: "Helvetica Neue", HelveticaNeue;
text-align:center;
line-height:30px;
color:#FFF;
text-decoration:none;
border:3px solid #FFF;
box-shadow: 0 0 2px hsla(0,0%,0%,0.6);
}
nav ul {
padding:0;
margin:0;
list-style-type:none;
}
nav li {
position:absolute;
left:-16px;
top:-16px;
}
nav li a {
font-size: 18px;
font-weight:normal;
border: 3px solid #FFF;
box-shadow: inset 0 0 4px hsla(0,0%,0%,1.0), 0 0 2px hsla(0,0%,0%,0.6);
text-shadow: 0 0 2px hsla(0,0%,0%,1.0);
width: 27px;
height: 27px;
background:#444;
position: absolute;
top:0;
left:0;
overflow:hidden;
color:#FFF;
border-radius:26px;
line-height: 24px;
text-align: center;
text-decoration:none;
font-weight:bold;
}