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