|
本帖最后由 chigre3 于 2020-5-7 14:11 编辑 5 |& l, U' V r R
" W* `& l* V7 b! ]& I' c根据APP官方说法,可以自建一个article-style.css (夜晚模式 article-style-night.css) 放入 /sdcard/GoldenDict/.config 文件夹下即可刷新后生效从这份官方的css里可以得到一些有用的 CLASS 名类,用作自定义:# z+ j V! m( Q. E/ b2 H
常用的有:3 V/ T; q8 \0 V: t
.gddictname{}
/ {. ]( ]5 N9 m.gdheadword{}
$ t9 t' j- B) S+ p I* S.gdarticle{}5 O/ r4 F9 W2 M7 K+ K% S
.gdactivearticle{}
# s) |8 @) N- ]# y.img{max-width:100%}
, P& p" w) W4 O5 }% @* _) W. w" A6 _8 R( C) v* M% \/ d+ j
也可以了解到安卓版goldendict还不支持XDXF格式的资源文件6 a7 D. C+ Q( Q( J1 r) _2 v9 @, A
- 3 ~* [; O3 `+ B X% v7 r' Y9 i
- /******** Global, non-dictionary-specific classes ***********/, `3 A1 t, O4 M! O/ @2 U) B2 ^
' ~$ ]: G- l7 n# J; X4 o) F. L- @font-face
0 x$ \3 G; u$ F1 U5 b - {
R) w* G' ?7 [% g+ t5 d1 O - font-family: "gdExtras";
/ W/ {$ a. v8 L2 z# e - src: url('content://mobi.goldendict.android/asset/DejaVuSans-Extras.ttf');
3 u' f% j( z* E) [9 B- f - }
% w2 Q& A+ @# N! b: r1 E8 q2 M - , \; ]% k4 R) h4 l
- @font-face
+ ]( L4 @$ I/ c5 i2 H' O& B/ D - {& z+ ]+ d* x1 k3 W2 l& i6 ^
- font-family: "gdExtras";
0 S' `1 s3 D$ h! b/ o' } - src: url('content://mobi.goldendict.android/asset/DejaVuSans-Bold-Extras.ttf'); # ^+ W( u% X( @6 ]
- font-weight: bold;
7 l. n A" G4 R! A/ ~. w0 J# h - }
0 v V+ ^ V7 T - 2 K* R \- |8 G
- @font-face
$ w! s3 z, i( d d - {' D! G0 G0 W. P1 ?' ^1 ]3 ~& F# [
- font-family: "gdExtras";
9 P$ ]7 S+ Y7 E2 T. _1 r - src: url('content://mobi.goldendict.android/asset/DejaVuSans-Oblique-Extras.ttf');
2 m0 O S" v9 J- N5 x - font-style: italic, oblique;* ~1 F0 I7 W) x% p9 \% W( K
- }* p$ a2 ]- K* G; }* M7 i( Q
- 6 ]0 E& d) C' p- S% Z
- @font-face- i1 R% ?- b% t* s3 F( s" a
- {0 o: Q. I4 Q: g @2 s1 x& E: b* _' t
- font-family: "gdExtras"; - P7 _3 Y* d, z$ ?) c
- src: url('content://mobi.goldendict.android/asset/DejaVuSans-BoldOblique-Extras.ttf');: l ]7 g* ^! L. v3 ^+ L( ?
- font-weight: bold;" i0 u6 w( R7 e" D0 W! N1 J5 N! J
- font-style: italic, oblique;
4 ^) r$ B3 H b( x! c - }" x3 ]( X9 B6 r: {! b- F
- # @5 S# e9 W5 A5 @% u. w: W/ N
- body
5 `6 g/ m. N% [( t - {2 A. O6 [. _" F1 O" b/ n8 o; K
- background: #fefdeb;
' ?5 D; s5 b/ T' u! [* A0 s - font-family: Tahoma, Verdana, "Lucida Sans Unicode", sans-serif;
1 h+ v3 k" r. I9 I; K - font-size: 10px;% D' e# N+ Z" Q: Q& Q+ r$ h, l# J
- cursor: wait !important;/ L' R, d" A% i/ ^- G( O
- }
) s6 v# _, p1 [ _
8 `4 \& K5 h' P1 a2 R+ ~9 A- /* Non-existent glyphs are shown with this font (right now IPA range) */
# h6 H; F& X. ]. j - .gde4 Y2 @) T8 U: t; i! b/ p
- {+ t3 k k3 q, k4 s6 r* j; o
- font-family: gdExtras;
, k3 E! f0 t/ N9 A - }
# G/ ]4 |6 G* b* N8 L - ( W6 c& R0 g% z, g. z, E3 x
- /* A span before each article which gets referred from the TOC */) f* B: L7 R6 q- Y1 a l
- .gdarticleref r2 H& Q9 p! v- ?
- {. y/ m% U* l" l& s2 }" T5 i' r* ~
- visibility: hidden;
4 j% X& C1 a+ x3 i) w - }: c# k0 w7 j- u' b* s
- / r o- p$ J* N3 Y# _6 x% R1 t
- /* Plaintext dictionaries are usually 80-column formatted and take a lot. s j' [7 ^( ^6 i. Y
- * of space. We try to use smaller fonts for them therefore. */
: t, z) n- |! N& Z; k - /*
) T$ T ^6 _4 F; j+ r4 g0 C - pre
( {* S3 K8 V9 }# t4 n# H - {
2 c3 y% H ?+ W8 W8 Z1 S6 ]4 @ - font-size: 10px;7 @7 B: \) y% b. j& I, `
- }
8 q# M$ E. ~% ? - */
- t& }( }. q# A* m - : {6 D2 {5 v- z, O2 H6 I6 |3 v0 ]
- /* Dictionary's name heading */1 ~4 S. F! T! O' {* ^% G
- .gddictname9 y- j, W' T8 g4 n$ O
- {# w b( p% J& [ ~0 j# E
- border: 1px dotted black; padding: 0.2em; padding-left: 0.5em;* g/ z9 E3 {2 B9 V7 a8 H
- margin-top: 0.2em; margin-bottom: 0.1em; font-weight: bold;0 p' I+ X7 H/ x
- font-size: 14px;6 {* h! J' G6 x; R" H
- /*background: #ffffdd;*/: X+ j3 ~; u: _/ C+ ]
- }: M5 c0 \. y/ w+ d" c& g
- 2 l5 I. a$ C/ F
- /* The 'From ' string which preceeds dictionary name in the heading */
# j6 e6 d/ h& ~ - .gdfromprefix
) Z+ M8 S" p8 i0 w2 D - {* d% d# Y8 G% H) d3 i
- display: none;! A5 e4 E# N) e+ \, j* G" Q
- }
/ r; \) H& H! m - ! V6 _% V/ _. T6 p+ T- W1 [3 `* W
- /* Headword -- displayes the word being translated, comes just before the
1 L* \. A% w$ r( ]: q5 d+ O - article */
. s/ U$ D+ o6 T! C+ i1 i l$ X$ d - .gdheadword: t/ Q; w" J. Y7 w$ E& G2 {
- {
. a$ g" Y* {3 \ - font-weight: bold;4 X9 \, i3 y$ K; O6 |& ]
- font-size: 12px;8 ~, Q& s; v8 ]* E3 M
- margin-top: 15px;
& U" ?; _9 H; k; ]/ P' u - margin-bottom: 10px;& ~$ G8 k' v; [. g
- }/ g, [. r1 o1 X, ~, m0 t
- / X% p- y0 o3 N9 q# |2 P
- /* DSL dictionaries contain <p> tags in headwords -- mute them down. */
G" J0 p; }: q; K - .gdheadword p' \- }) b# x: f ?
- {
Z. W3 K3 X1 [/ h - margin: 0;; }0 H' _" D; s- r
- }
2 l$ r) e+ ^; r5 Y6 _ { - $ `8 s' A( a8 V1 @
- /* The article span. Here we have a padding/margin hack to make fragment links
+ D8 c. u+ z/ Z6 v, i - behave better (have some space before the start of article) */
8 P. m( \* R$ ^/ D; s3 y6 d - .gdarticle( m; J& P" z- I. Y- `
- {
. M* h7 a# o9 _8 Z$ v4 g - display: block;
* V( m/ W3 C+ d. I3 a r - padding-top: 1px;
( p0 q3 _) v) }7 s9 M5 }1 s, l0 j - margin-top: -9px;
6 [& X/ ]* a" u" D* a2 o - margin-bottom: 8px;
* M, k. B8 J' G: X - }
6 V5 R% N2 e. E7 }# y& U
, G% w3 o" X3 v9 `6 ]( T2 s6 k- /* Appears between the articles */! m) k' t' l' I8 {# s
- .gdarticleseparator i. [4 I1 S7 s$ O
- {
* s0 }3 ~( ^/ M& S, E1 k& t - }6 c8 L. C4 o: E& z' g- S
- 6 g/ ^( `8 W: { F. A. T
- /* Dictionary query error description string */7 E6 y5 d7 F; G4 m- _! T% F+ D) O
- .gderrordesc e/ t' x+ V* E1 |+ v) k
- {6 J0 `6 | ?, O) e7 M0 u* E
- font-style: italic;
; R8 `1 L6 H D3 R6 f7 o - background: url("content://mobi.goldendict.android/asset/warning.png") center left no-repeat !important;
) ^3 ]" T0 W$ { - padding-left: 22px !important;
* P' n; l4 T" B& q - margin: 1em;
$ X$ J8 f. [0 T7 d - }
/ P( r5 [7 ^) q( Q# h
! H+ M6 a9 U! _1 j N- /* No results for 'word' in 'lang pair' */
2 T! _/ m$ B0 Y m6 ~$ u2 }5 i - .gdnotfound
: c, T; z% U c% y" i - {9 c) d# L8 b0 e, i7 h- o$ C* K
- font-size: 15px;2 y: c& x* l: O3 R8 a: `
- }- ?* X( [1 w7 c+ Z1 @
- & `! p5 z5 E# S, L
- /********* Babylon dictionaries' classes *********/6 z5 o$ J( z0 J. B5 z( p& c
- ' S/ ?* q; J' i. b" J
- /* Transcriptions in Babylon dictionaries */
# }+ B& K+ [& R1 {* K - .bgltrn:before+ e! [: v8 ~- u
- {7 N; A# r) ?* w$ A+ K4 y
- content: "[";
: o! Q: j' W9 F. { \ - }* m9 [ v" F* | \0 h: _
- ! l( c d! y" _" s- T
- .bgltrn:after# v8 b. ?* S8 s N9 O
- {
. w4 r9 D& q; |9 M - content: "]";4 y y9 l9 `2 ?9 Z O4 t
- }; s6 H3 k. X% L# K2 Q
- 8 S$ W! I) M! ]+ X) k
- .bgltrn7 B6 K5 p0 F2 i7 ^
- {
( f8 h- ^& D0 g - display: block;
9 E1 O* a6 n% o- O - }- v$ \% R) Y8 I Q: X+ Q# S/ }4 `
- - J0 J( L5 b7 D% g/ W
- /* Part of speech in Babylon dictionaries. Usually irrelevant,1 ?( u+ d' X" l
- * therefore hidden */
' X6 I( q6 y) `1 k - .bglpos9 Q! x( R5 x! l: H0 u4 i0 q# u
- {
3 G& S4 V4 T& n/ r# F - display: none;2 X4 Z7 [$ v' `$ i
- }9 r0 z @% D/ }3 d
- . y% c# S3 L3 P! b; {2 @! J# p/ r
- /* Right-to-left text *// A1 D n' n$ l( N. F
- .bglrtl
4 \) s9 e. J% T P( ^/ n3 Z/ T- b) h: w - {% I( p$ n" s, E* E* }% D
- text-align: right;9 ]+ |9 t: o7 P/ [9 k1 w% y
- direction: rtl;+ {0 W- }# g( @8 q# g* a ^% J* M
- }( H8 [6 q5 `4 I) L5 `( `9 |
- . o3 \( z7 s/ J+ A! H9 l; h7 z7 e
- /* Hebrew roots in Babylon dictionaries */
6 V* }' N# Y* H7 y2 S2 i - .bglroot:before4 b# y: G9 s) }( Q. }, h% ^
- {$ c* r) I3 J* {
- content: "(";: \# q( \% Y2 J( c) P
- }( v. c U9 Y. z) [% e. H$ z8 ^, x
. k" \& M- ?7 U* g7 J' t$ a! [7 h( k" W: F- .bglroot:after, D8 ^4 Y0 c0 l3 Q- {* W) G( V9 f2 g) A
- {
4 c- j. T; U. ^' B - content: ")";& F$ B3 S' Q" G0 U B
- }. Y0 @% n" j+ s4 z) Q
- , [% g+ K, I- s# ]$ `5 o$ T5 b
- .bglroot& k+ v6 z, h6 K% v
- {, B' j% H$ K: M8 B4 H
- display:block;
: i7 b& L# Q* o# u/ N. K - }
/ ^" i! m0 e: k- E - 3 O3 ~9 \& g( u6 G
- /******** StarDict dictionaries' classes *********/' o; S6 K, n! y
- ; f4 i1 _* b3 Z9 J- ~) C) B' }
- # ?" L9 |& O5 D6 R! j, R
- /* StarDict type 'h' -- Html content. We don't normally do anything here. */
# N! u/ x4 F2 R; U - div.sdct_h) s0 F/ c0 v0 _; U
- {
, m! m i/ J7 T+ F" y& b3 R - }& \. i& [( ]) s4 L
- ) ~' P5 ~" k* g, v
- /* StarDict type 'm' -- Pure meaning. Presented as <pre> */
: j) ?6 s) \2 O0 K1 c - pre.sdct_m
% e1 F/ @( H; C: [, P - {
4 a& w1 W% S( j" `9 e - }
I* X! n3 N9 ]- `9 R4 e - 5 A( c/ S) A* }9 G1 B
- /* StarDict type 'l' -- Pure meaning which used to be in locale encoding. */
( E2 {, I! G. o* S! `: r - pre.sdct_m
# T1 `8 S S, p" G5 V! H2 q - {
7 x: y3 g* Q# s* W w h% \7 w - }
( u+ s, `8 T2 j7 O7 Y' d C. ~# Q - " B5 Y5 l( n0 A9 u/ S" [5 v' j
- /* StarDict type 'g' -- Pango Markup */
% W$ g8 p/ {2 R - div.sdct_g; G* R) y) w6 y6 ~2 O& _, I7 U
- {
$ f( l4 O) R2 t, E - }
5 a7 r- t: C1 t$ a0 y: u
1 A9 J' [7 @: r" X. Y2 U- /* StarDict type 't' -- Transcription */% z! O3 j- j( y9 }. e* I/ x$ d
- div.sdct_t: g; H4 g# ]4 K0 F% ]
- {
- ^: i( C: ]; h$ K H8 _" P4 C - font-weight: bold;: m' I( ]2 I$ E8 X+ r- p
- }" G. t C4 K7 p, s# c
- & E/ h% M) t5 `) I2 C) Z
- /* StarDict type 'y' -- Chinese YinBiao or Japanese KANA */9 [; n! f( ~/ I a' q/ O; ^$ x/ s
- div.sdct_y
1 ~: j9 P. H1 y0 q8 M3 U3 u - {
4 |6 d/ w5 h3 B2 s) r/ U6 c - }' o) V$ v: i1 `2 w. G/ m9 {% k" g
# ^/ x0 X f. V8 x: `7 `( X0 d& v- /* StarDict type 'x'. Should have xdxf_*-styled elements inside */
9 a6 n0 D! q7 _) M$ Q! T - div.sdct_x- w! y2 V. B. z
- {
, u" N, z4 f( l, \' ? - }: |/ V1 V+ h1 n- T% T
G' L4 [, S4 J- ! Q9 |/ o# X; e9 n. f1 K7 {
- /******** XDXF markup classes *********/
; J' s& g- r% J( e q
, y7 U! @7 m+ J- /* Key -- keys shouldn't normally be present in the article's body since they. } }. V8 V) t1 r
- * are accounted for separately, hence we hide them */" N" p% z1 G" o8 h1 ] D
- .xdxf_k
C9 j/ Y# |1 k - {
0 [: h5 u& }6 v) g - display: none;
" {0 K2 s6 ?- l& @1 Q - }3 X7 i, r# O6 J7 z' g
/ f- y0 t4 _, F, r7 j g4 M( Q! j- /* ...and if there's a break after it, we hide it too so we don't have an4 G: U3 R* \* }0 H v8 r# } ~3 U
- * extra vertical spacing. */
* c7 V( w* g4 P4 M7 J - .xdxf_k + br
3 }8 m9 ~0 Q& f/ P; X5 Q - {
' m, s- m* F" W4 ^& p4 S - display: none;" p4 \1 G4 @( h$ t' a5 u/ S
- }8 [. F, L# Z2 H. F, X5 p' R
1 P, f+ o+ k; Q5 B- /* Abbreviation */
; l/ l6 z' K6 n. b" |3 }) ?- i - .xdxf_abr2 v3 T9 k. y6 {% q- K+ {5 P; p
- {
4 j! {0 ? o% k6 h - font-style: italic;6 }9 j1 i, u" J' z. d
- color: green;
( Y4 j# x3 T/ G8 V" X - }4 t+ }% e: }* _) } [1 v4 {) y
- 8 ?: g# b; X9 H& ? S
- /* Color-highlighted */
: s0 a4 U# `# `- k& w/ I - .xdxf_c
0 w* y7 c3 Q% X0 p+ x7 i; y$ M - {1 A7 V$ _3 T: R/ }+ ]
- color: blue;
/ ?* n8 T1 c( v6 G - }/ b7 B, j$ p- ]& [8 b! }. @
- & o" J; |9 A7 C6 t, B
- /* Example */7 p* S( _& b1 N8 A" I
- .xdxf_ex% H7 L5 ?$ f6 M1 ]
- {# _: z) N/ }0 S/ C, |8 A. [9 h
- color: grey;# T! H; Y3 I( ?
- /* display: block;
; s+ v D1 S. i9 T - margin: 8px;*/( a6 X/ N5 N2 A& |! c$ R
- }% N& M* @: I) i" `0 ^) ^8 R
- " w8 [( _ T6 b
- /* Direct translation */
8 n) C. k# `; L9 t: ?8 y( ?6 m0 p - .xdxf_dtrn- {, w$ D' F$ u$ p0 @0 n O4 K
- {
, @' s* k# g1 z' P0 f5 c2 y7 E - }
: x, v6 L, i" \$ }' L! y( f3 g
; M6 U" D; B- o1 {- k0 T& [ V- /* Appearance-only tag */3 K3 Y; d2 B9 |( H% W
- .xdxf_nu
8 j' R0 }3 z1 W3 d( n/ G; ` - {
" V( ^. R! E6 I - color: red;
/ L; [' L- u0 q; V5 a# s; L0 b - }2 n( z5 d0 e6 e; I# q2 } b3 y: Q
, Y9 ^# t m' P$ l" I/ M- /* Transcription */
1 Z8 J. ^7 y i1 c, D; H - .xdxf_tr:before3 @* \8 K( h- j! B% \& e1 i
- {; J' `1 _; V& L, L9 |
- content:"[";
" T2 i: y. x* ~ [8 \# e - }
1 ?" o) Q6 C5 _) V A7 h4 W( ]
6 a K8 \" Q7 c" H- .xdxf_tr:after# X, @; {% r% w. O
- {+ Q3 J5 t6 A) h# ]
- content:"]";
2 T) M; `: I) p/ S# ~! q- }/ o) I3 w - } e0 B2 A+ L2 M& B
- 4 ^" @0 }5 ^6 N9 C% P! I
- .xdxf_tr9 x# E5 [2 z( @5 d
- {6 L$ x$ j8 M/ |, b" x7 v
- font-weight: bold;$ a8 A5 d3 c- [
- }5 e0 f$ T: K6 Q- `/ V9 G; l
- 6 V& t; O, N$ R! a; z3 O
- /* Resource reference -- for now just a span. Since there's not yet a mechanism
% Q' O' w7 d/ j: g) l! q - * to load resources off XDXF articles in GoldenDict, we just hide them. */) @! s- G! ]* E, _) J9 s
- .xdxf_rref
* Y( N% Y7 B/ l6 i$ a2 ]- Q - {* q! n' {1 j5 \4 R
- display: none; \, ^) c/ ]! N' o! J
- }
9 @4 o% ]. N$ E( @" s h4 l F5 f, v
" ]& w! }* @* C- \0 i- /************* LSA audio archives **************// b9 L3 L" N' F2 c6 d, P" l7 G
4 x. w5 t; ~) V- /* A table which contains a play icon and a word's link */( [5 R- K! ?7 x9 {2 K& ^
- .lsa_play
4 z. [9 B6 z+ n. r9 k' W- p - {6 {5 e7 u4 V; I2 t2 g" s7 }
- margin-top: 8px;
# I/ B8 b; g4 \% B5 s5 R, S - margin-left: 8px;
2 w5 O, Z7 i: X& |' d* g5 c. k8 i* B; G5 E - }
0 E7 }' g) Q6 e
P/ |* n+ c4 f$ F3 |# ~- .lsa_play a
0 Q; U- B) S3 K - {( w. x0 e# Q: `' t4 g
- text-decoration: none;% ]1 ]7 N) ]4 D0 k# ^
- }
- t4 f3 G5 j) s7 s& r7 P: N - + R" q0 V, T7 |) J0 c
- /************* DSL dictionaries **************/
, O' u: p' Q. b* k( S% H4 C5 o - 5 I# Q) G1 C4 X
- .dsl_u
7 Y& l3 W# P2 L9 ` q; y/ }0 Y5 X - {
6 K1 @ b4 a- X$ d, v - text-decoration: underline;+ l4 n9 c4 ^* @/ B" G0 Y* a
- }! `. O+ K2 ]6 s1 i9 V/ D# J7 G
$ L" t7 F C0 y* ^- .dsl_article font[color=c_default_color]
( ]( ~) R1 ^3 @2 M - {
$ l4 E, {/ T0 G' S* C; p - color: green;2 d3 {& v0 C1 o
- }, c r9 I! x" ^$ o# ?5 A; }& A
- / a& `7 N0 R& k% G4 `0 N
- .dsl_m1
- m7 X# j3 v" S: G( M) ~3 w0 L. ?5 r' v - {
& c( F4 B0 i; u, l, G/ O2 T - padding-left: 9px;8 y( e7 T$ j. t' e8 @1 ?
- }
& r/ s& m$ F9 V2 x8 R6 c
5 m, i, o- P* p# E2 w) e# B6 c- .dsl_m2( C8 z# ~' U0 C' f" [' l
- {
) {6 U+ A" n4 q5 c - padding-left: 18px;( E; T( ~1 X# e7 q6 }
- }
6 c) ?2 s: |* t8 G3 X; r4 B- n! T - / m) i0 Z5 c# U' D
- .dsl_m3
8 [/ y/ E1 o' O+ n - {0 y. a3 ^) j) v
- padding-left: 27px;
7 c0 x1 V3 {. Y \* z5 L( W - }* n' k+ R: A4 Y$ h! Q" |
- 3 D0 W: w6 a' P# ~/ W6 G [+ B
- .dsl_m47 V: a# I! l# H5 d- D& K o
- {
- m3 \8 @( }) h0 _& Q - padding-left: 36px;
1 V- K7 u# C2 M0 @. _1 `- _ - }* ^7 `: L5 @, t a: G. n
- & n6 F2 J$ ?4 e4 [. V* K2 W, _
- .dsl_m5' U/ P* O0 {) \( j: o' U
- {
1 D4 t% t1 |+ G) X' b& } - padding-left: 45px;
8 ~0 N" L+ C8 q7 D - }
4 S+ V1 ~ z, J. K4 |; J* h4 @" i - : J. o I3 f; D3 T9 u. G
- .dsl_m6! `! _; L5 o9 j0 j4 }
- {4 i) V- f+ @! X
- padding-left: 54px;4 [" m! e) K# M+ o4 H- a
- }
# J, ^, k) k: q8 @1 {' S. R
5 M# z* I; M: k- .dsl_m77 s( w* `% [- a9 J3 F0 X
- {# B/ \! m9 G# v1 k7 }
- padding-left: 63px;: m3 t2 v$ { Z
- }0 T* f- B- z5 O5 }% y
- ; H% j0 y) s9 D7 \
- .dsl_m8/ L' ?$ N& d: Y/ E% K. `: H& P
- {
& k* l) b3 A# P0 ?# Y - padding-left: 72px;# X$ ]! H9 X' p: h
- }
9 r) b; N( t; t' @/ g - 4 ?1 f2 }) y$ i! s& H$ r% X
- .dsl_m9% k( O" c/ p$ x6 p& f$ [
- {
1 \* ?6 }' O8 [& O - padding-left: 81px;. V3 @1 x d+ C3 R" R3 e4 x
- }. G' Y i* W O" _$ m) H) Z
- / U$ F) F# F9 J, Y1 d; I, {4 z
- .dsl_ex9 D' {" h% u$ I' z+ u) U
- {
' H3 G: ^: k, N2 v$ h8 \ - color: gray;' E- `) L2 I8 o3 [6 P
- }
- Y" G( Q9 [0 s- z; S
0 y! |) P" T0 V3 g# c- .dsl_p. v; t) ]. f: e6 ?: j8 _- z
- {! B! i- k0 I$ ~( A- \. Y
- color: green;
( m; m% K! Q) j3 u$ F+ F' f% s1 f7 n - font-style: italic;: G& \" u# a& u2 A( Q
- cursor: default;
4 }+ B5 L, J7 U8 m% `! Y - }- P8 b% Q0 z( I3 ^7 A9 t9 [5 z9 U
, s* f* c Z" E/ h! o; `' z- .dsl_t3 x e: R" {) I r
- {
/ ?5 s1 S- @* ~. e - font-weight: bold;
$ P. J4 U# p0 [. {1 K - }
. \0 m) J6 P6 \2 \
' |. B3 \; [0 P6 c8 }- .dsl_st_c
6 h R+ ?$ t2 m, b" B - {
' \. q3 U; `1 ^! ^! j - display: none;* t3 h- l; T/ ^9 F6 I6 J
- }# k5 v L' q: _" `3 ]1 g- e
- ' Q& u$ C. A7 c% Y H* T
- .dsl_headwords% D+ B, y# x. E2 G* S" g% e
- {
# d& s* {; X# z2 Y, r3 V+ W2 i - font-weight: bold;2 C" S! j7 G7 b( V5 I2 l9 ^% A
- margin-top: 15px;
4 U. w' F2 C4 m8 j1 ~8 n! p - margin-bottom: 10px;
5 ?0 ? r) t9 U, x8 ]/ }" |) i* `1 V - }
& w/ Z5 Y5 S0 C% D. T6 m
& t/ m( k. U; k3 Q- .dsl_headwords p9 E8 s) M: d* V/ C' I
- {
: G7 k& ]5 m$ Q9 g' v' e! X - font-weight: bold;
. C3 N$ o, U: I4 H! @ - font-size: 15px;. S, f8 I$ D- a0 D- R
- margin: 0;
a6 z1 |) n3 o5 ^ J - }! d! {" m* s, a1 F4 O. }8 }
- " y& W; S# m' g' e
- .dsl_definition p
+ r2 G% e$ H) l7 ?: K ]3 v9 z& m - {8 y* f6 q0 d5 |2 b6 K
- margin: 0;
- I/ n# K4 M. X& d3 ?, o# I - }
6 P, f6 r5 k# t- n1 ^ - ' p1 F0 X8 h% [. T! x
- /************* Spelling suggestions *****************/
. b' ]' b$ G7 L! R# A. M# v - & t, p9 D" e) y% e
- .gdspellsuggestion! {) O' x3 p' O+ L3 z. W0 M" B1 M
- {
2 L- c# z. V- b6 I% U& E - /* Add some vertical space before the article */
9 D, N' k6 u1 |3 G; Y9 V2 K. H$ w - margin-top: 1em;) h/ ?6 `. Q" F0 R h0 E
- font-size: 12px;
9 y8 s; g4 _. q. j - }
9 m4 o3 y8 @7 C - * I4 ]+ \+ O- w' C( c: H8 M& M: c' @
- /************* Stemmed suggestions *****************/* g; p C0 {- ]; T* @$ Q" _
7 \5 N$ `* O: m6 O" m0 j V- .gdstemmedsuggestion
7 N* U/ x7 ?& R - {$ Z' B" U+ I- D2 j$ \' B
- /* Add some horizontal and vertical space */+ e/ x& B) h# a) k
- margin-top: 1em;
4 [; [. g0 z: b {9 }2 H - margin-left: 1px;4 e* S& A, Y( \# Z5 {
- }
, R$ ?" S2 U2 p: O# d6 E
3 |6 L- M3 X' C( d) p1 C2 S+ P
E3 Q8 J& ~2 c! h; T- .gdstemmedsuggestion_head
9 I& k1 ]7 P5 N7 q - {
4 P5 x4 p1 a& r. z7 B* u - margin-left: 11px;
! Z' } S0 ]- n# }: K" | - font-style: italic;8 O3 j5 B) A1 N' x& V7 ?8 U* Z
- }
, h$ @& p* z$ @' O$ U% \3 O- C
2 y# b% ?. I; O* I- k3 @- .gdstemmedsuggestion_body& c6 Q& {( P4 w$ z3 x8 u3 o( J
- {
9 q3 p/ A* p F& E: U+ J& ` - }5 f! z# w3 f. ~% P. F* s
! P5 G& N) X! b- /************* Dictd articles *****************/
B1 |- L& o o# z- e - .dictd_article
. I( E4 S! o7 |+ r0 L D - {8 M$ v1 B9 J/ G( }/ ~2 h. t
- /* Add some vertical space before the article */6 E" T+ j8 P/ [8 T8 E+ v' r
- margin-top: 1em;
6 a- G3 O! a8 p" g) a5 {, P( M - }" ]$ x8 d8 B; o: B- Y7 T, O/ M
" E: H- ~0 y0 S) W) T* h! _/ a- /* Lingoes LD2 */
) z& j, }& P* |4 p) C& a2 U' W - 6 r: b6 i- G9 Q- |$ r. _* O$ w4 s
- .ld2_e1 x9 S- O. V4 N, m0 o" y$ D
- {
/ j& t4 g! I0 }. Y0 b - display: none;8 t9 h+ Y0 |& _
- }$ X/ g2 ^# k& l; X
. z4 m" A% c7 Y" o2 Y/ d; F4 I, I- .ld2_h$ s u/ f. \5 Z: l! v+ Z
- {/ {1 {0 q0 F% C1 M
- display: block;
8 Q( }9 c( S4 C - margin-top: 10px;5 W/ ^7 t& y7 S; t' I, L1 b( a
- margin-bottom: 10px;
& m" L, a6 \: l3 m7 y5 X# b8 @- s, l6 ^ - color: grey;. u% T" }/ j& p( [# H* ]$ X
- }# ~- W) }) D4 \
- / B8 @9 L* o4 S1 ]- J# C+ V' W
- .ld2_l
, m! N2 w4 U5 }; b0 P, T - {
. [2 G1 E( v+ [( ~0 f" e( Z9 R - font-weight: bold;
3 |" `3 h& j" L; S$ Q L - }
% @( m; w$ u. k8 }: A$ h
2 e) m) Z. J; J7 k D3 X/ ]- .ld2_n
8 _6 G( m+ b' t. d8 ]& j7 R' [# x& m - {; D( z- l t7 m3 ~! i: ?
- margin: 0;
) l% U7 f3 M# r! i! x f5 Z - }5 F; v+ O! l5 ?. o5 a
- " A* y3 |0 E; [2 B
- .ld2_p
5 R) C( l2 f N: z- ~# X3 X% B. H - {: u* J! P/ W7 V& }
- margin: 0;4 g3 z; |9 [* p* F% w: C
- } I0 p7 D8 W: l% a
- / V2 d: \1 A% d6 |
- .ld2_m
+ A6 `' c& V/ } e L7 [0 T - {
. h, F5 q* ? P7 a8 V - color: green;
: _5 l2 d, ^3 J/ a# h: n2 m; x" }- B - }
: C: w% M: q/ X
. P* v, M& Y9 Q- .ld2_n .ld2_q
3 t. |. n) [& Q - {
" f, X, J/ S4 c( c& e, g - display: block;9 w) ]% S0 i D4 x, q
- }
2 G( k; `* [4 _1 x. O3 Y; \
, v8 S5 {/ `& @$ O- .ld2_n .ld2_c3af
, c% S+ \' D1 U6 g y% L5 Q - {
# ?& }. Y8 T3 v3 h9 e$ Q - display: block;
" D0 V$ |! m f7 @: }; S* Q - }- g0 S; o" D" u# ^7 |" M
- ; u2 A. Q0 G$ o1 G
- .ld2_n .ld2_li
5 {) a- o2 d( b4 q1 O4 O - {) i3 g5 ?- B2 U
- display: block;
1 B, ?9 \) o$ E" ~* w - }- k8 P7 w: r; T4 O( g
- $ }4 @, F6 Z0 ]; z
- .ld2_q_marker, Y2 W) l' j+ h3 r# w7 Q1 j) |
- {" J- I+ J0 C4 n7 A0 Q# h G- g
- color: #408080;' c9 q, n* M5 A5 E- q7 l/ @
- font-style: italic;
: P2 ]7 X, n3 g D5 }* e% r - margin-right: 8px;) b' @) J2 V; ?
- float: left;
: f& r/ s* K8 m ^$ Q: j8 B2 h* |1 ` - }4 A5 b. V. S( |$ X( b; h% a9 P. t
- ~$ W- d: G6 [! T+ b* F3 O
- .ld2_c3af_marker6 \& V, m; b9 Q
- {
" U& f) V: M( m - color: grey;
G4 D: s6 _; J9 I% r/ U5 x - margin-right: 8px;
- n" ]% d* A: s1 O6 a& b - float: left;* ]5 L8 ^6 R8 H# F
- }/ E! p% ?$ a7 @; e5 R
- 5 B5 [. H: k" B6 f
- .ld2_u/ J% F& x$ x5 [* }/ j9 k( \8 X2 G
- {1 h C! {" h) d% v2 T, [% s" L# \' I! e
- color: #c00000;* W. S9 ]! o2 Y7 R9 D9 _
- }* h+ K" a$ V0 E* H- w+ t
- k/ g6 P& g3 z& X: W
- .ld2_ly( y8 H* p, |( @( A, t* D. C. ^5 ?
- {
) W" R$ A% @" d+ o - margin-right: 10px;, P3 o. C6 W: h7 v) k
- }
% i6 y/ ?; s2 n$ S
! ]/ @' v0 {, \: J- .ld2_z
2 y! h* E' G$ D* w9 u: l) b J- C - { j v" \( ~8 u. p6 p0 t3 j6 z: _
- color: green;
8 E2 R% |4 ~1 y - }
3 n! K1 k% x. k5 Y7 g
' }7 m" ^; c. w0 A3 s9 d L- .ld2_t# R+ Q! q% S) U$ ` D/ ]. m' V
- {, [2 ~5 G6 s' x. D
- margin: 4px 0px;: q; K6 U% e1 V+ h- I
- }
# d! a- a. |- r" c4 K! b! p5 q% K - 2 {" n6 C# V) D8 Y# f0 F" y% G) ]
- .ld2_w' y! S7 }- B, D$ n
- {
0 y! c; v& i7 o. _- V/ m2 m - color: #009999;
) [& P* u* T% P: j) l - }4 t% D* y& R z1 F: r: r
2 x! Q8 q; c, w# l3 L* I4 @( w- S- # ^: Y6 b9 t( ]+ h1 O( ]
复制代码
; b0 L! S* V! [5 z+ ?: T
( l) d% Y+ o0 ]' O3 ?, l$ ]7 {5 Y" S4 C6 V0 t& p1 c1 k( Y
0 r1 b8 a5 f' u1 J, j
|
|