/
3CPAN.moz.css
executable file
·280 lines (249 loc) · 8.4 KB
/
3CPAN.moz.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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
@namespace url(http://www.w3.org/1999/xhtml);
/*
* StylishName: 3CPAN
* DocumentName: 3CPAN.moz.css
* DocumentType: text/css
* CSSLevelReq: CSS Level 3 + (selectors)
* Description: Support better Firefox rendering for 3 Perl/CPAN-related sites
* search.cpan.org metacpan.org cpanforum.com
* AuthorAndCopyrightHolder: Sören Andersen
* Email: somian08 gmail com
* HomePage: https://github.com/somian/FFx-userstyles (GitHub repository)
* SrcKitArchive: https://github.com/somian/FFx-userstyles/zipball/master
* LicenseAndWarrantyDisclaimer: CC BY-SA - see bottom of document.
*/
/*
* Last modified: 2013-02-02T02:31:44 UTC-05:00
* See bottom for @media == print rules.
*/
@-moz-document domain("search.cpan.org"),
domain("cpanforum.com")
{
div.pod p, div.pod ul li
{
font-size : 100% !important;
font-family : Bookman, "Bookman Old Style",
serif !important;
}
div.pod ul li
{
max-width : 80% !important;
}
/* abused at some pages, like
* http://search.cpan.org/~rpagitsch/Win32-Fonts-Info-0.01/Info.pm#Explanation_of_the_text_metrics_members
*/
pre.sh_perl,
pre.sh_sourceCode
{
white-space : pre-wrap !important;
font-size : 102% !important;
font-family : "Anonymous Pro", "DejaVu Sans Mono",
monospace !important;
}
div.pod p a.podlinkpod , div.pod p a:link
pre.sh_perl a.podlinkurl,
pre.sh_sourceCode a.podlinkurl
{
text-decoration : none !important;
}
pre.sh_perl a.podlinkurl,
pre.sh_sourceCode a.podlinkurl
{
display : inline-block;
padding : 0.2ex 1.0ex
0.6ex 1.0ex;
border : 1px solid #0935FF !important
}
span.sh_comment
{
font-size : 75% !important;
}
div.pod dl > dt
{
margin : 0px 0.75em !important;
font-weight : 700 !important;
}
div.pod dl > dd, div.pod dl > dd p
{
margin : 1px 0.05em
1px 2.75em !important;
}
p code
{
font-size : inherit !important;
font-family : saxMono, "GulimChe", "Envy Code R",
monospace !important;
}
div.noprint
{
font-size : 75% !important;
margin : 0.1ex 1ex !important;
}
div.path
{
font-family : "Liberation Sans",
"Free Sans", arial, "Nimbus Sans L",
sans-serif !important;
}
div.toc
{
font-size : 95% !important;
margin : 0.1ex 0ex
0.1ex 0ex !important;
}
div.toc div.indexgroup ul.indexList1
{
text-indent : 0em !important;
margin : 0.1ex 1ex !important;
}
div.toc div.indexgroup ul.indexList1 a:link
{
text-decoration : underline !important;
}
div.path + span.noprint:first-child a
{
font-size : 105% !important;
color : purple !important;
text-decoration : underline !important;
}
} /* EXIT -moz-document */
/* NOTE metacpan has div.syntaxhighlighter */
@-moz-document domain("metacpan.org")
{
p {
font-family :
"Liberation Sans",
"Arial Unicode MS",
"FreeSans",
"Nimbus Sans L",
Helvetica,sans-serif !important;
font-size : 17px !important;
/* auto FFx font-size: 14.0833px */
}
dd { margin-top : 0px !important;
padding-top : 0px !important;
}
dt { margin-bottom : 0px !important;
padding-bottom : 0px !important;
}
dd > code, p > code
{
font-size : 17px !important;
font-weight : bold !important;
font-family :
"Meslo LG S", "Liberation Mono", monospace !important;
}
div.nogutter .line
{
white-space : pre-wrap !important;
overflow : visible !important;
}
td.code code
{
font-size : 14pt !important;
font-family :
"Liberation Mono", monospace !important;
}
td.code code.comments
{
font-size : 11pt !important;
}
td.code code.variable .my
{
color : #d8b656 !important;
}
td.code code.comments .my
{
color : #FFF !important;
}
.syntaxhighlighter .my
{
/* clear : right !important; */
background: -moz-linear-gradient(
left, rgba(128,135,124,0.96) 0%,
rgba(140,147,135,0.81) 25%,
rgba(152,160,147,0.81) 51%,
rgba(140,148,136,0.81) 75%,
rgba(128,135,124,0.96) 100%) !important; /* FF3.6+ */
}
.syntaxhighlighter table td.code,
.syntaxhighlighter table td.code .container
{
background : inherit;
}
} /* EXIT -moz-document */
/* for print media */
@-moz-document domain("search.cpan.org")
{
@media print {
/* taken from link stylesheet st.pimg.net/tucs/print.css */
.noprint, .logo, .menubar, .searchbox { display : none; }
.pod, .manifest { margin : 0px ; }
/* my additions */
div.pod + * { display : none !important; }
div.styleswtich { display : none !important; }
#styleswitch { display : none !important; }
div.footer { display : none !important; }
div.toc
{
display : block !important;
font-size : x-small !important;
border : 1px solid rgb(234, 234, 234) !important;
padding-bottom : 0.55ex !important;
margin-bottom : 0.15ex !important;
}
.toc ul
{
font-size : inherit !important;
text-decoration : none !important;
}
.indexItem a
{
text-decoration : none !important;
font-weight : 300 !important;
}
div.path
{
font-size : 18pt !important;
font-weight : 600 !important;
margin-top : 0ex !important;
}
.path a, .path a:link, .path a:visited
{
font-size : 83% !important;
text-decoration : none !important;
font-weight : 300 !important;
}
.u img { display : none !important; }
/* keep lighter shading for code snippets */
pre.sh_perl, pre.sh_sourceCode
{
background-color : rgb(234, 234, 234) !important;
}
pre.sh_perl a.podlinkurl,
pre.sh_sourceCode a.podlinkurl span
{
background-color : White !important;
color : Black !important;
}
} /* EXIT @media rule */
} /* EXIT -moz-document */
/*
License: this code may be used only under the terms of the null-warranty
expressed below, and it may be copied and modified and redistributed only
under the terms of the "CC BY-SA" - Creative Commons Attribution-ShareAlike
License.
Short human-readable summary of license:
http://creativecommons.org/licenses/by-sa/3.0/
Full text of license:
http://creativecommons.org/licenses/by-sa/3.0/legalcode
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE
COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS”
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE
RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.
SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
NECESSARY SERVICING, REPAIR OR CORRECTION.
*/