/
bookmarklet.styl
114 lines (101 loc) · 2.47 KB
/
bookmarklet.styl
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
@import 'nib'
@import 'constants'
Dark = rgba(0,0,5,0.3)
Light = rgba(255,255,255,0.9)
InactiveColor = #999
Falloff = 40px
Saturated = 20px
body
font-family: 'helvetica'
margin: 0
padding: 0
background-color: #F9FBFA
background-image: url(images/paper-fibers-64-2.png);
@keyframes phong {
0% {
background-position-x: -100px
opacity: 1
}
25% {
background-position-x: -100px
opacity: 1
}
75% {
background-position-x: SBWidth
opacity: 0
}
100% {
background-position-x: SBWidth
opacity: 0
}
}
.filter
position: absolute
left: 0px
top: 0px
z-index: 10
width: 200%
height: 100%
background-image: linear-gradient(left, Dark, Falloff Light, Falloff+Saturated Light, Falloff*2+Saturated Dark);
background-repeat: repeat-x
.filter.foldout
animation: phong Duration
opacity: 0
h1
font-size: 1em
display: inline
a
text-decoration: none
&:hover
text-decoration: underline
&:visited
color: InactiveColor
ol.resource_list
margin-top: 2em
margin-right: 1em
.page, .pageControl
display: none
.description, .counts
display: none
li
color: InactiveColor
margin-top: .8em
ul.pageControl
margin-left: auto;
margin-right: auto;
text-align: center;
padding: 0 0;
padding-right: 1em;
li
opacity: 0.3
display: inline-block;
width: .8em;
height: .8em;
border-radius: .4em;
background-color: black;
li.note
background-color: yellow;
box-shadow: inset 0px 0px 0px .3em black;
li.current
color: #222
a:visited, a
color: initial
div.description
display: block
ul.pageControl
display: block
li.current
opacity: 1.0
div.page.current
display: block;
background-color: rgba(254,254,176,0.7)
padding: 0em .5em;
border: 1px solid #fff;
color: #393838;
margin-top: .6em;
margin-left: -.5em;
box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
code
background-color: yellow;
font-weight: 800;
color: red;