掌上百科 - PDAWIKI

 找回密码
 免费注册

QQ登录

只需一步,快速开始

查看: 1126|回复: 0

[经验交流] 安卓版Goldendict默认的article-style.css 【app里】

[复制链接]

该用户从未签到

发表于 2020-5-7 14:04:24 | 显示全部楼层 |阅读模式
本帖最后由 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
  1. 3 ~* [; O3 `+ B  X% v7 r' Y9 i
  2. /******** Global, non-dictionary-specific classes ***********/, `3 A1 t, O4 M! O/ @2 U) B2 ^

  3. ' ~$ ]: G- l7 n# J; X4 o) F. L
  4. @font-face
    0 x$ \3 G; u$ F1 U5 b
  5. {
      R) w* G' ?7 [% g+ t5 d1 O
  6.   font-family: "gdExtras";
    / W/ {$ a. v8 L2 z# e
  7.   src: url('content://mobi.goldendict.android/asset/DejaVuSans-Extras.ttf');
    3 u' f% j( z* E) [9 B- f
  8. }
    % w2 Q& A+ @# N! b: r1 E8 q2 M
  9. , \; ]% k4 R) h4 l
  10. @font-face
    + ]( L4 @$ I/ c5 i2 H' O& B/ D
  11. {& z+ ]+ d* x1 k3 W2 l& i6 ^
  12.   font-family: "gdExtras";
    0 S' `1 s3 D$ h! b/ o' }
  13.   src: url('content://mobi.goldendict.android/asset/DejaVuSans-Bold-Extras.ttf'); # ^+ W( u% X( @6 ]
  14.   font-weight: bold;
    7 l. n  A" G4 R! A/ ~. w0 J# h
  15. }
    0 v  V+ ^  V7 T
  16. 2 K* R  \- |8 G
  17. @font-face
    $ w! s3 z, i( d  d
  18. {' D! G0 G0 W. P1 ?' ^1 ]3 ~& F# [
  19.   font-family: "gdExtras";
    9 P$ ]7 S+ Y7 E2 T. _1 r
  20.   src: url('content://mobi.goldendict.android/asset/DejaVuSans-Oblique-Extras.ttf');
    2 m0 O  S" v9 J- N5 x
  21.   font-style: italic, oblique;* ~1 F0 I7 W) x% p9 \% W( K
  22. }* p$ a2 ]- K* G; }* M7 i( Q
  23. 6 ]0 E& d) C' p- S% Z
  24. @font-face- i1 R% ?- b% t* s3 F( s" a
  25. {0 o: Q. I4 Q: g  @2 s1 x& E: b* _' t
  26.   font-family: "gdExtras"; - P7 _3 Y* d, z$ ?) c
  27.   src: url('content://mobi.goldendict.android/asset/DejaVuSans-BoldOblique-Extras.ttf');: l  ]7 g* ^! L. v3 ^+ L( ?
  28.   font-weight: bold;" i0 u6 w( R7 e" D0 W! N1 J5 N! J
  29.   font-style: italic, oblique;
    4 ^) r$ B3 H  b( x! c
  30. }" x3 ]( X9 B6 r: {! b- F
  31. # @5 S# e9 W5 A5 @% u. w: W/ N
  32. body
    5 `6 g/ m. N% [( t
  33. {2 A. O6 [. _" F1 O" b/ n8 o; K
  34.   background: #fefdeb;
    ' ?5 D; s5 b/ T' u! [* A0 s
  35.   font-family: Tahoma, Verdana, "Lucida Sans Unicode", sans-serif;
    1 h+ v3 k" r. I9 I; K
  36.   font-size: 10px;% D' e# N+ Z" Q: Q& Q+ r$ h, l# J
  37.   cursor: wait !important;/ L' R, d" A% i/ ^- G( O
  38. }
    ) s6 v# _, p1 [  _

  39. 8 `4 \& K5 h' P1 a2 R+ ~9 A
  40. /* Non-existent glyphs are shown with this font (right now IPA range) */
    # h6 H; F& X. ]. j
  41. .gde4 Y2 @) T8 U: t; i! b/ p
  42. {+ t3 k  k3 q, k4 s6 r* j; o
  43.   font-family: gdExtras;
    , k3 E! f0 t/ N9 A
  44. }
    # G/ ]4 |6 G* b* N8 L
  45. ( W6 c& R0 g% z, g. z, E3 x
  46. /* A span before each article which gets referred from the TOC */) f* B: L7 R6 q- Y1 a  l
  47. .gdarticleref  r2 H& Q9 p! v- ?
  48. {. y/ m% U* l" l& s2 }" T5 i' r* ~
  49.   visibility: hidden;
    4 j% X& C1 a+ x3 i) w
  50. }: c# k0 w7 j- u' b* s
  51. / r  o- p$ J* N3 Y# _6 x% R1 t
  52. /* Plaintext dictionaries are usually 80-column formatted and take a lot. s  j' [7 ^( ^6 i. Y
  53. * of space. We try to use smaller fonts for them therefore. */
    : t, z) n- |! N& Z; k
  54. /*
    ) T$ T  ^6 _4 F; j+ r4 g0 C
  55. pre
    ( {* S3 K8 V9 }# t4 n# H
  56. {
    2 c3 y% H  ?+ W8 W8 Z1 S6 ]4 @
  57.   font-size: 10px;7 @7 B: \) y% b. j& I, `
  58. }
    8 q# M$ E. ~% ?
  59. */
    - t& }( }. q# A* m
  60. : {6 D2 {5 v- z, O2 H6 I6 |3 v0 ]
  61. /* Dictionary's name heading */1 ~4 S. F! T! O' {* ^% G
  62. .gddictname9 y- j, W' T8 g4 n$ O
  63. {# w  b( p% J& [  ~0 j# E
  64.   border: 1px dotted black; padding: 0.2em; padding-left: 0.5em;* g/ z9 E3 {2 B9 V7 a8 H
  65.   margin-top: 0.2em; margin-bottom: 0.1em; font-weight: bold;0 p' I+ X7 H/ x
  66.   font-size: 14px;6 {* h! J' G6 x; R" H
  67.   /*background: #ffffdd;*/: X+ j3 ~; u: _/ C+ ]
  68. }: M5 c0 \. y/ w+ d" c& g
  69. 2 l5 I. a$ C/ F
  70. /* The 'From ' string which preceeds dictionary name in the heading */
    # j6 e6 d/ h& ~
  71. .gdfromprefix
    ) Z+ M8 S" p8 i0 w2 D
  72. {* d% d# Y8 G% H) d3 i
  73.   display: none;! A5 e4 E# N) e+ \, j* G" Q
  74. }
    / r; \) H& H! m
  75. ! V6 _% V/ _. T6 p+ T- W1 [3 `* W
  76. /* Headword -- displayes the word being translated, comes just before the
    1 L* \. A% w$ r( ]: q5 d+ O
  77.    article */
    . s/ U$ D+ o6 T! C+ i1 i  l$ X$ d
  78. .gdheadword: t/ Q; w" J. Y7 w$ E& G2 {
  79. {
    . a$ g" Y* {3 \
  80.   font-weight: bold;4 X9 \, i3 y$ K; O6 |& ]
  81.   font-size: 12px;8 ~, Q& s; v8 ]* E3 M
  82.   margin-top: 15px;
    & U" ?; _9 H; k; ]/ P' u
  83.   margin-bottom: 10px;& ~$ G8 k' v; [. g
  84. }/ g, [. r1 o1 X, ~, m0 t
  85. / X% p- y0 o3 N9 q# |2 P
  86. /* DSL dictionaries contain <p> tags in headwords -- mute them down. */
      G" J0 p; }: q; K
  87. .gdheadword p' \- }) b# x: f  ?
  88. {
      Z. W3 K3 X1 [/ h
  89.   margin: 0;; }0 H' _" D; s- r
  90. }
    2 l$ r) e+ ^; r5 Y6 _  {
  91. $ `8 s' A( a8 V1 @
  92. /* The article span. Here we have a padding/margin hack to make fragment links
    + D8 c. u+ z/ Z6 v, i
  93.    behave better (have some space before the start of article) */
    8 P. m( \* R$ ^/ D; s3 y6 d
  94. .gdarticle( m; J& P" z- I. Y- `
  95. {
    . M* h7 a# o9 _8 Z$ v4 g
  96.   display: block;
    * V( m/ W3 C+ d. I3 a  r
  97.   padding-top: 1px;
    ( p0 q3 _) v) }7 s9 M5 }1 s, l0 j
  98.   margin-top: -9px;
    6 [& X/ ]* a" u" D* a2 o
  99.   margin-bottom: 8px;
    * M, k. B8 J' G: X
  100. }
    6 V5 R% N2 e. E7 }# y& U

  101. , G% w3 o" X3 v9 `6 ]( T2 s6 k
  102. /* Appears between the articles */! m) k' t' l' I8 {# s
  103. .gdarticleseparator  i. [4 I1 S7 s$ O
  104. {
    * s0 }3 ~( ^/ M& S, E1 k& t
  105. }6 c8 L. C4 o: E& z' g- S
  106. 6 g/ ^( `8 W: {  F. A. T
  107. /* Dictionary query error description string */7 E6 y5 d7 F; G4 m- _! T% F+ D) O
  108. .gderrordesc  e/ t' x+ V* E1 |+ v) k
  109. {6 J0 `6 |  ?, O) e7 M0 u* E
  110.   font-style: italic;
    ; R8 `1 L6 H  D3 R6 f7 o
  111.   background: url("content://mobi.goldendict.android/asset/warning.png") center left no-repeat !important;
    ) ^3 ]" T0 W$ {
  112.   padding-left: 22px !important;
    * P' n; l4 T" B& q
  113.   margin: 1em;
    $ X$ J8 f. [0 T7 d
  114. }
    / P( r5 [7 ^) q( Q# h

  115. ! H+ M6 a9 U! _1 j  N
  116. /* No results for 'word' in 'lang pair' */
    2 T! _/ m$ B0 Y  m6 ~$ u2 }5 i
  117. .gdnotfound
    : c, T; z% U  c% y" i
  118. {9 c) d# L8 b0 e, i7 h- o$ C* K
  119.   font-size: 15px;2 y: c& x* l: O3 R8 a: `
  120. }- ?* X( [1 w7 c+ Z1 @
  121. & `! p5 z5 E# S, L
  122. /********* Babylon dictionaries' classes *********/6 z5 o$ J( z0 J. B5 z( p& c
  123. ' S/ ?* q; J' i. b" J
  124. /* Transcriptions in Babylon dictionaries */
    # }+ B& K+ [& R1 {* K
  125. .bgltrn:before+ e! [: v8 ~- u
  126. {7 N; A# r) ?* w$ A+ K4 y
  127.   content: "[";
    : o! Q: j' W9 F. {  \
  128. }* m9 [  v" F* |  \0 h: _
  129. ! l( c  d! y" _" s- T
  130. .bgltrn:after# v8 b. ?* S8 s  N9 O
  131. {
    . w4 r9 D& q; |9 M
  132.   content: "]";4 y  y9 l9 `2 ?9 Z  O4 t
  133. }; s6 H3 k. X% L# K2 Q
  134. 8 S$ W! I) M! ]+ X) k
  135. .bgltrn7 B6 K5 p0 F2 i7 ^
  136. {
    ( f8 h- ^& D0 g
  137.   display: block;
    9 E1 O* a6 n% o- O
  138. }- v$ \% R) Y8 I  Q: X+ Q# S/ }4 `
  139. - J0 J( L5 b7 D% g/ W
  140. /* Part of speech in Babylon dictionaries. Usually irrelevant,1 ?( u+ d' X" l
  141. * therefore hidden */
    ' X6 I( q6 y) `1 k
  142. .bglpos9 Q! x( R5 x! l: H0 u4 i0 q# u
  143. {
    3 G& S4 V4 T& n/ r# F
  144.   display: none;2 X4 Z7 [$ v' `$ i
  145. }9 r0 z  @% D/ }3 d
  146. . y% c# S3 L3 P! b; {2 @! J# p/ r
  147. /* Right-to-left text *// A1 D  n' n$ l( N. F
  148. .bglrtl
    4 \) s9 e. J% T  P( ^/ n3 Z/ T- b) h: w
  149. {% I( p$ n" s, E* E* }% D
  150.   text-align: right;9 ]+ |9 t: o7 P/ [9 k1 w% y
  151.   direction: rtl;+ {0 W- }# g( @8 q# g* a  ^% J* M
  152. }( H8 [6 q5 `4 I) L5 `( `9 |
  153. . o3 \( z7 s/ J+ A! H9 l; h7 z7 e
  154. /* Hebrew roots in Babylon dictionaries */
    6 V* }' N# Y* H7 y2 S2 i
  155. .bglroot:before4 b# y: G9 s) }( Q. }, h% ^
  156. {$ c* r) I3 J* {
  157.   content: "(";: \# q( \% Y2 J( c) P
  158. }( v. c  U9 Y. z) [% e. H$ z8 ^, x

  159. . k" \& M- ?7 U* g7 J' t$ a! [7 h( k" W: F
  160. .bglroot:after, D8 ^4 Y0 c0 l3 Q- {* W) G( V9 f2 g) A
  161. {
    4 c- j. T; U. ^' B
  162.   content: ")";& F$ B3 S' Q" G0 U  B
  163. }. Y0 @% n" j+ s4 z) Q
  164. , [% g+ K, I- s# ]$ `5 o$ T5 b
  165. .bglroot& k+ v6 z, h6 K% v
  166. {, B' j% H$ K: M8 B4 H
  167.   display:block;
    : i7 b& L# Q* o# u/ N. K
  168. }
    / ^" i! m0 e: k- E
  169. 3 O3 ~9 \& g( u6 G
  170. /******** StarDict dictionaries' classes *********/' o; S6 K, n! y
  171. ; f4 i1 _* b3 Z9 J- ~) C) B' }
  172. # ?" L9 |& O5 D6 R! j, R
  173. /* StarDict type 'h' -- Html content. We don't normally do anything here. */
    # N! u/ x4 F2 R; U
  174. div.sdct_h) s0 F/ c0 v0 _; U
  175. {
    , m! m  i/ J7 T+ F" y& b3 R
  176. }& \. i& [( ]) s4 L
  177. ) ~' P5 ~" k* g, v
  178. /* StarDict type 'm' -- Pure meaning. Presented as <pre> */
    : j) ?6 s) \2 O0 K1 c
  179. pre.sdct_m
    % e1 F/ @( H; C: [, P
  180. {
    4 a& w1 W% S( j" `9 e
  181. }
      I* X! n3 N9 ]- `9 R4 e
  182. 5 A( c/ S) A* }9 G1 B
  183. /* StarDict type 'l' -- Pure meaning which used to be in locale encoding. */
    ( E2 {, I! G. o* S! `: r
  184. pre.sdct_m
    # T1 `8 S  S, p" G5 V! H2 q
  185. {
    7 x: y3 g* Q# s* W  w  h% \7 w
  186. }
    ( u+ s, `8 T2 j7 O7 Y' d  C. ~# Q
  187. " B5 Y5 l( n0 A9 u/ S" [5 v' j
  188. /* StarDict type 'g' -- Pango Markup */
    % W$ g8 p/ {2 R
  189. div.sdct_g; G* R) y) w6 y6 ~2 O& _, I7 U
  190. {
    $ f( l4 O) R2 t, E
  191. }
    5 a7 r- t: C1 t$ a0 y: u

  192. 1 A9 J' [7 @: r" X. Y2 U
  193. /* StarDict type 't' -- Transcription */% z! O3 j- j( y9 }. e* I/ x$ d
  194. div.sdct_t: g; H4 g# ]4 K0 F% ]
  195. {
    - ^: i( C: ]; h$ K  H8 _" P4 C
  196.   font-weight: bold;: m' I( ]2 I$ E8 X+ r- p
  197. }" G. t  C4 K7 p, s# c
  198. & E/ h% M) t5 `) I2 C) Z
  199. /* StarDict type 'y' -- Chinese YinBiao or Japanese KANA */9 [; n! f( ~/ I  a' q/ O; ^$ x/ s
  200. div.sdct_y
    1 ~: j9 P. H1 y0 q8 M3 U3 u
  201. {
    4 |6 d/ w5 h3 B2 s) r/ U6 c
  202. }' o) V$ v: i1 `2 w. G/ m9 {% k" g

  203. # ^/ x0 X  f. V8 x: `7 `( X0 d& v
  204. /* StarDict type 'x'. Should have xdxf_*-styled elements inside */
    9 a6 n0 D! q7 _) M$ Q! T
  205. div.sdct_x- w! y2 V. B. z
  206. {
    , u" N, z4 f( l, \' ?
  207. }: |/ V1 V+ h1 n- T% T

  208.   G' L4 [, S4 J
  209. ! Q9 |/ o# X; e9 n. f1 K7 {
  210. /******** XDXF markup classes *********/
    ; J' s& g- r% J( e  q

  211. , y7 U! @7 m+ J
  212. /* Key -- keys shouldn't normally be present in the article's body since they. }  }. V8 V) t1 r
  213. * are accounted for separately, hence we hide them */" N" p% z1 G" o8 h1 ]  D
  214. .xdxf_k
      C9 j/ Y# |1 k
  215. {
    0 [: h5 u& }6 v) g
  216.   display: none;
    " {0 K2 s6 ?- l& @1 Q
  217. }3 X7 i, r# O6 J7 z' g

  218. / f- y0 t4 _, F, r7 j  g4 M( Q! j
  219. /* ...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
  220. * extra vertical spacing. */
    * c7 V( w* g4 P4 M7 J
  221. .xdxf_k + br
    3 }8 m9 ~0 Q& f/ P; X5 Q
  222. {
    ' m, s- m* F" W4 ^& p4 S
  223.   display: none;" p4 \1 G4 @( h$ t' a5 u/ S
  224. }8 [. F, L# Z2 H. F, X5 p' R

  225. 1 P, f+ o+ k; Q5 B
  226. /* Abbreviation */
    ; l/ l6 z' K6 n. b" |3 }) ?- i
  227. .xdxf_abr2 v3 T9 k. y6 {% q- K+ {5 P; p
  228. {
    4 j! {0 ?  o% k6 h
  229.   font-style: italic;6 }9 j1 i, u" J' z. d
  230.   color: green;
    ( Y4 j# x3 T/ G8 V" X
  231. }4 t+ }% e: }* _) }  [1 v4 {) y
  232. 8 ?: g# b; X9 H& ?  S
  233. /* Color-highlighted */
    : s0 a4 U# `# `- k& w/ I
  234. .xdxf_c
    0 w* y7 c3 Q% X0 p+ x7 i; y$ M
  235. {1 A7 V$ _3 T: R/ }+ ]
  236.   color: blue;
    / ?* n8 T1 c( v6 G
  237. }/ b7 B, j$ p- ]& [8 b! }. @
  238. & o" J; |9 A7 C6 t, B
  239. /* Example */7 p* S( _& b1 N8 A" I
  240. .xdxf_ex% H7 L5 ?$ f6 M1 ]
  241. {# _: z) N/ }0 S/ C, |8 A. [9 h
  242.   color: grey;# T! H; Y3 I( ?
  243. /*  display: block;
    ; s+ v  D1 S. i9 T
  244.   margin: 8px;*/( a6 X/ N5 N2 A& |! c$ R
  245. }% N& M* @: I) i" `0 ^) ^8 R
  246. " w8 [( _  T6 b
  247. /* Direct translation */
    8 n) C. k# `; L9 t: ?8 y( ?6 m0 p
  248. .xdxf_dtrn- {, w$ D' F$ u$ p0 @0 n  O4 K
  249. {
    , @' s* k# g1 z' P0 f5 c2 y7 E
  250. }
    : x, v6 L, i" \$ }' L! y( f3 g

  251. ; M6 U" D; B- o1 {- k0 T& [  V
  252. /* Appearance-only tag */3 K3 Y; d2 B9 |( H% W
  253. .xdxf_nu
    8 j' R0 }3 z1 W3 d( n/ G; `
  254. {
    " V( ^. R! E6 I
  255.   color: red;
    / L; [' L- u0 q; V5 a# s; L0 b
  256. }2 n( z5 d0 e6 e; I# q2 }  b3 y: Q

  257. , Y9 ^# t  m' P$ l" I/ M
  258. /* Transcription */
    1 Z8 J. ^7 y  i1 c, D; H
  259. .xdxf_tr:before3 @* \8 K( h- j! B% \& e1 i
  260. {; J' `1 _; V& L, L9 |
  261.   content:"[";
    " T2 i: y. x* ~  [8 \# e
  262. }
    1 ?" o) Q6 C5 _) V  A7 h4 W( ]

  263. 6 a  K8 \" Q7 c" H
  264. .xdxf_tr:after# X, @; {% r% w. O
  265. {+ Q3 J5 t6 A) h# ]
  266.   content:"]";
    2 T) M; `: I) p/ S# ~! q- }/ o) I3 w
  267. }  e0 B2 A+ L2 M& B
  268. 4 ^" @0 }5 ^6 N9 C% P! I
  269. .xdxf_tr9 x# E5 [2 z( @5 d
  270. {6 L$ x$ j8 M/ |, b" x7 v
  271.   font-weight: bold;$ a8 A5 d3 c- [
  272. }5 e0 f$ T: K6 Q- `/ V9 G; l
  273. 6 V& t; O, N$ R! a; z3 O
  274. /* Resource reference -- for now just a span. Since there's not yet a mechanism
    % Q' O' w7 d/ j: g) l! q
  275. * to load resources off XDXF articles in GoldenDict, we just hide them. */) @! s- G! ]* E, _) J9 s
  276. .xdxf_rref
    * Y( N% Y7 B/ l6 i$ a2 ]- Q
  277. {* q! n' {1 j5 \4 R
  278.   display: none;  \, ^) c/ ]! N' o! J
  279. }
    9 @4 o% ]. N$ E( @" s  h4 l  F5 f, v

  280. " ]& w! }* @* C- \0 i
  281. /************* LSA audio archives **************// b9 L3 L" N' F2 c6 d, P" l7 G

  282. 4 x. w5 t; ~) V
  283. /* A table which contains a play icon and a word's link */( [5 R- K! ?7 x9 {2 K& ^
  284. .lsa_play
    4 z. [9 B6 z+ n. r9 k' W- p
  285. {6 {5 e7 u4 V; I2 t2 g" s7 }
  286.   margin-top: 8px;
    # I/ B8 b; g4 \% B5 s5 R, S
  287.   margin-left: 8px;
    2 w5 O, Z7 i: X& |' d* g5 c. k8 i* B; G5 E
  288. }
    0 E7 }' g) Q6 e

  289.   P/ |* n+ c4 f$ F3 |# ~
  290. .lsa_play a
    0 Q; U- B) S3 K
  291. {( w. x0 e# Q: `' t4 g
  292.   text-decoration: none;% ]1 ]7 N) ]4 D0 k# ^
  293. }
    - t4 f3 G5 j) s7 s& r7 P: N
  294. + R" q0 V, T7 |) J0 c
  295. /************* DSL dictionaries **************/
    , O' u: p' Q. b* k( S% H4 C5 o
  296. 5 I# Q) G1 C4 X
  297. .dsl_u
    7 Y& l3 W# P2 L9 `  q; y/ }0 Y5 X
  298. {
    6 K1 @  b4 a- X$ d, v
  299.   text-decoration: underline;+ l4 n9 c4 ^* @/ B" G0 Y* a
  300. }! `. O+ K2 ]6 s1 i9 V/ D# J7 G

  301. $ L" t7 F  C0 y* ^
  302. .dsl_article font[color=c_default_color]
    ( ]( ~) R1 ^3 @2 M
  303. {
    $ l4 E, {/ T0 G' S* C; p
  304.   color: green;2 d3 {& v0 C1 o
  305. }, c  r9 I! x" ^$ o# ?5 A; }& A
  306. / a& `7 N0 R& k% G4 `0 N
  307. .dsl_m1
    - m7 X# j3 v" S: G( M) ~3 w0 L. ?5 r' v
  308. {
    & c( F4 B0 i; u, l, G/ O2 T
  309.   padding-left: 9px;8 y( e7 T$ j. t' e8 @1 ?
  310. }
    & r/ s& m$ F9 V2 x8 R6 c

  311. 5 m, i, o- P* p# E2 w) e# B6 c
  312. .dsl_m2( C8 z# ~' U0 C' f" [' l
  313. {
    ) {6 U+ A" n4 q5 c
  314.   padding-left: 18px;( E; T( ~1 X# e7 q6 }
  315. }
    6 c) ?2 s: |* t8 G3 X; r4 B- n! T
  316. / m) i0 Z5 c# U' D
  317. .dsl_m3
    8 [/ y/ E1 o' O+ n
  318. {0 y. a3 ^) j) v
  319.   padding-left: 27px;
    7 c0 x1 V3 {. Y  \* z5 L( W
  320. }* n' k+ R: A4 Y$ h! Q" |
  321. 3 D0 W: w6 a' P# ~/ W6 G  [+ B
  322. .dsl_m47 V: a# I! l# H5 d- D& K  o
  323. {
    - m3 \8 @( }) h0 _& Q
  324.   padding-left: 36px;
    1 V- K7 u# C2 M0 @. _1 `- _
  325. }* ^7 `: L5 @, t  a: G. n
  326. & n6 F2 J$ ?4 e4 [. V* K2 W, _
  327. .dsl_m5' U/ P* O0 {) \( j: o' U
  328. {
    1 D4 t% t1 |+ G) X' b& }
  329.   padding-left: 45px;
    8 ~0 N" L+ C8 q7 D
  330. }
    4 S+ V1 ~  z, J. K4 |; J* h4 @" i
  331. : J. o  I3 f; D3 T9 u. G
  332. .dsl_m6! `! _; L5 o9 j0 j4 }
  333. {4 i) V- f+ @! X
  334.   padding-left: 54px;4 [" m! e) K# M+ o4 H- a
  335. }
    # J, ^, k) k: q8 @1 {' S. R

  336. 5 M# z* I; M: k
  337. .dsl_m77 s( w* `% [- a9 J3 F0 X
  338. {# B/ \! m9 G# v1 k7 }
  339.   padding-left: 63px;: m3 t2 v$ {  Z
  340. }0 T* f- B- z5 O5 }% y
  341. ; H% j0 y) s9 D7 \
  342. .dsl_m8/ L' ?$ N& d: Y/ E% K. `: H& P
  343. {
    & k* l) b3 A# P0 ?# Y
  344.   padding-left: 72px;# X$ ]! H9 X' p: h
  345. }
    9 r) b; N( t; t' @/ g
  346. 4 ?1 f2 }) y$ i! s& H$ r% X
  347. .dsl_m9% k( O" c/ p$ x6 p& f$ [
  348. {
    1 \* ?6 }' O8 [& O
  349.   padding-left: 81px;. V3 @1 x  d+ C3 R" R3 e4 x
  350. }. G' Y  i* W  O" _$ m) H) Z
  351. / U$ F) F# F9 J, Y1 d; I, {4 z
  352. .dsl_ex9 D' {" h% u$ I' z+ u) U
  353. {
    ' H3 G: ^: k, N2 v$ h8 \
  354.   color: gray;' E- `) L2 I8 o3 [6 P
  355. }
    - Y" G( Q9 [0 s- z; S

  356. 0 y! |) P" T0 V3 g# c
  357. .dsl_p. v; t) ]. f: e6 ?: j8 _- z
  358. {! B! i- k0 I$ ~( A- \. Y
  359.   color: green;
    ( m; m% K! Q) j3 u$ F+ F' f% s1 f7 n
  360.   font-style: italic;: G& \" u# a& u2 A( Q
  361.   cursor: default;
    4 }+ B5 L, J7 U8 m% `! Y
  362. }- P8 b% Q0 z( I3 ^7 A9 t9 [5 z9 U

  363. , s* f* c  Z" E/ h! o; `' z
  364. .dsl_t3 x  e: R" {) I  r
  365. {
    / ?5 s1 S- @* ~. e
  366.   font-weight: bold;
    $ P. J4 U# p0 [. {1 K
  367. }
    . \0 m) J6 P6 \2 \

  368. ' |. B3 \; [0 P6 c8 }
  369. .dsl_st_c
    6 h  R+ ?$ t2 m, b" B
  370. {
    ' \. q3 U; `1 ^! ^! j
  371.   display: none;* t3 h- l; T/ ^9 F6 I6 J
  372. }# k5 v  L' q: _" `3 ]1 g- e
  373. ' Q& u$ C. A7 c% Y  H* T
  374. .dsl_headwords% D+ B, y# x. E2 G* S" g% e
  375. {
    # d& s* {; X# z2 Y, r3 V+ W2 i
  376.   font-weight: bold;2 C" S! j7 G7 b( V5 I2 l9 ^% A
  377.   margin-top: 15px;
    4 U. w' F2 C4 m8 j1 ~8 n! p
  378.   margin-bottom: 10px;
    5 ?0 ?  r) t9 U, x8 ]/ }" |) i* `1 V
  379. }
    & w/ Z5 Y5 S0 C% D. T6 m

  380. & t/ m( k. U; k3 Q
  381. .dsl_headwords p9 E8 s) M: d* V/ C' I
  382. {
    : G7 k& ]5 m$ Q9 g' v' e! X
  383.   font-weight: bold;
    . C3 N$ o, U: I4 H! @
  384.   font-size: 15px;. S, f8 I$ D- a0 D- R
  385.   margin: 0;
      a6 z1 |) n3 o5 ^  J
  386. }! d! {" m* s, a1 F4 O. }8 }
  387. " y& W; S# m' g' e
  388. .dsl_definition p
    + r2 G% e$ H) l7 ?: K  ]3 v9 z& m
  389. {8 y* f6 q0 d5 |2 b6 K
  390.   margin: 0;
    - I/ n# K4 M. X& d3 ?, o# I
  391. }
    6 P, f6 r5 k# t- n1 ^
  392. ' p1 F0 X8 h% [. T! x
  393. /************* Spelling suggestions *****************/
    . b' ]' b$ G7 L! R# A. M# v
  394. & t, p9 D" e) y% e
  395. .gdspellsuggestion! {) O' x3 p' O+ L3 z. W0 M" B1 M
  396. {
    2 L- c# z. V- b6 I% U& E
  397.   /* Add some vertical space before the article */
    9 D, N' k6 u1 |3 G; Y9 V2 K. H$ w
  398.   margin-top: 1em;) h/ ?6 `. Q" F0 R  h0 E
  399.   font-size: 12px;
    9 y8 s; g4 _. q. j
  400. }
    9 m4 o3 y8 @7 C
  401. * I4 ]+ \+ O- w' C( c: H8 M& M: c' @
  402. /************* Stemmed suggestions *****************/* g; p  C0 {- ]; T* @$ Q" _

  403. 7 \5 N$ `* O: m6 O" m0 j  V
  404. .gdstemmedsuggestion
    7 N* U/ x7 ?& R
  405. {$ Z' B" U+ I- D2 j$ \' B
  406.   /* Add some horizontal and vertical space */+ e/ x& B) h# a) k
  407.   margin-top: 1em;
    4 [; [. g0 z: b  {9 }2 H
  408.   margin-left: 1px;4 e* S& A, Y( \# Z5 {
  409. }
    , R$ ?" S2 U2 p: O# d6 E

  410. 3 |6 L- M3 X' C( d) p1 C2 S+ P

  411.   E3 Q8 J& ~2 c! h; T
  412. .gdstemmedsuggestion_head
    9 I& k1 ]7 P5 N7 q
  413. {
    4 P5 x4 p1 a& r. z7 B* u
  414.   margin-left: 11px;
    ! Z' }  S0 ]- n# }: K" |
  415.   font-style: italic;8 O3 j5 B) A1 N' x& V7 ?8 U* Z
  416. }
    , h$ @& p* z$ @' O$ U% \3 O- C

  417. 2 y# b% ?. I; O* I- k3 @
  418. .gdstemmedsuggestion_body& c6 Q& {( P4 w$ z3 x8 u3 o( J
  419. {
    9 q3 p/ A* p  F& E: U+ J& `
  420. }5 f! z# w3 f. ~% P. F* s

  421. ! P5 G& N) X! b
  422. /************* Dictd articles *****************/
      B1 |- L& o  o# z- e
  423. .dictd_article
    . I( E4 S! o7 |+ r0 L  D
  424. {8 M$ v1 B9 J/ G( }/ ~2 h. t
  425.   /* Add some vertical space before the article */6 E" T+ j8 P/ [8 T8 E+ v' r
  426.   margin-top: 1em;
    6 a- G3 O! a8 p" g) a5 {, P( M
  427. }" ]$ x8 d8 B; o: B- Y7 T, O/ M

  428. " E: H- ~0 y0 S) W) T* h! _/ a
  429. /* Lingoes LD2 */
    ) z& j, }& P* |4 p) C& a2 U' W
  430. 6 r: b6 i- G9 Q- |$ r. _* O$ w4 s
  431. .ld2_e1 x9 S- O. V4 N, m0 o" y$ D
  432. {
    / j& t4 g! I0 }. Y0 b
  433.   display: none;8 t9 h+ Y0 |& _
  434. }$ X/ g2 ^# k& l; X

  435. . z4 m" A% c7 Y" o2 Y/ d; F4 I, I
  436. .ld2_h$ s  u/ f. \5 Z: l! v+ Z
  437. {/ {1 {0 q0 F% C1 M
  438.   display: block;
    8 Q( }9 c( S4 C
  439.   margin-top: 10px;5 W/ ^7 t& y7 S; t' I, L1 b( a
  440.   margin-bottom: 10px;
    & m" L, a6 \: l3 m7 y5 X# b8 @- s, l6 ^
  441.   color: grey;. u% T" }/ j& p( [# H* ]$ X
  442. }# ~- W) }) D4 \
  443. / B8 @9 L* o4 S1 ]- J# C+ V' W
  444. .ld2_l
    , m! N2 w4 U5 }; b0 P, T
  445. {
    . [2 G1 E( v+ [( ~0 f" e( Z9 R
  446.   font-weight: bold;
    3 |" `3 h& j" L; S$ Q  L
  447. }
    % @( m; w$ u. k8 }: A$ h

  448. 2 e) m) Z. J; J7 k  D3 X/ ]
  449. .ld2_n
    8 _6 G( m+ b' t. d8 ]& j7 R' [# x& m
  450. {; D( z- l  t7 m3 ~! i: ?
  451.   margin: 0;
    ) l% U7 f3 M# r! i! x  f5 Z
  452. }5 F; v+ O! l5 ?. o5 a
  453. " A* y3 |0 E; [2 B
  454. .ld2_p
    5 R) C( l2 f  N: z- ~# X3 X% B. H
  455. {: u* J! P/ W7 V& }
  456.   margin: 0;4 g3 z; |9 [* p* F% w: C
  457. }  I0 p7 D8 W: l% a
  458. / V2 d: \1 A% d6 |
  459. .ld2_m
    + A6 `' c& V/ }  e  L7 [0 T
  460. {
    . h, F5 q* ?  P7 a8 V
  461.   color: green;
    : _5 l2 d, ^3 J/ a# h: n2 m; x" }- B
  462. }
    : C: w% M: q/ X

  463. . P* v, M& Y9 Q
  464. .ld2_n .ld2_q
    3 t. |. n) [& Q
  465. {
    " f, X, J/ S4 c( c& e, g
  466.   display: block;9 w) ]% S0 i  D4 x, q
  467. }
    2 G( k; `* [4 _1 x. O3 Y; \

  468. , v8 S5 {/ `& @$ O
  469. .ld2_n .ld2_c3af
    , c% S+ \' D1 U6 g  y% L5 Q
  470. {
    # ?& }. Y8 T3 v3 h9 e$ Q
  471.   display: block;
    " D0 V$ |! m  f7 @: }; S* Q
  472. }- g0 S; o" D" u# ^7 |" M
  473. ; u2 A. Q0 G$ o1 G
  474. .ld2_n .ld2_li
    5 {) a- o2 d( b4 q1 O4 O
  475. {) i3 g5 ?- B2 U
  476.   display: block;
    1 B, ?9 \) o$ E" ~* w
  477. }- k8 P7 w: r; T4 O( g
  478. $ }4 @, F6 Z0 ]; z
  479. .ld2_q_marker, Y2 W) l' j+ h3 r# w7 Q1 j) |
  480. {" J- I+ J0 C4 n7 A0 Q# h  G- g
  481.   color: #408080;' c9 q, n* M5 A5 E- q7 l/ @
  482.   font-style: italic;
    : P2 ]7 X, n3 g  D5 }* e% r
  483.   margin-right: 8px;) b' @) J2 V; ?
  484.   float: left;
    : f& r/ s* K8 m  ^$ Q: j8 B2 h* |1 `
  485. }4 A5 b. V. S( |$ X( b; h% a9 P. t
  486.   ~$ W- d: G6 [! T+ b* F3 O
  487. .ld2_c3af_marker6 \& V, m; b9 Q
  488. {
    " U& f) V: M( m
  489.   color: grey;
      G4 D: s6 _; J9 I% r/ U5 x
  490.   margin-right: 8px;
    - n" ]% d* A: s1 O6 a& b
  491.   float: left;* ]5 L8 ^6 R8 H# F
  492. }/ E! p% ?$ a7 @; e5 R
  493. 5 B5 [. H: k" B6 f
  494. .ld2_u/ J% F& x$ x5 [* }/ j9 k( \8 X2 G
  495. {1 h  C! {" h) d% v2 T, [% s" L# \' I! e
  496.   color: #c00000;* W. S9 ]! o2 Y7 R9 D9 _
  497. }* h+ K" a$ V0 E* H- w+ t
  498.   k/ g6 P& g3 z& X: W
  499. .ld2_ly( y8 H* p, |( @( A, t* D. C. ^5 ?
  500. {
    ) W" R$ A% @" d+ o
  501.   margin-right: 10px;, P3 o. C6 W: h7 v) k
  502. }
    % i6 y/ ?; s2 n$ S

  503. ! ]/ @' v0 {, \: J
  504. .ld2_z
    2 y! h* E' G$ D* w9 u: l) b  J- C
  505. {  j  v" \( ~8 u. p6 p0 t3 j6 z: _
  506.   color: green;
    8 E2 R% |4 ~1 y
  507. }
    3 n! K1 k% x. k5 Y7 g

  508. ' }7 m" ^; c. w0 A3 s9 d  L
  509. .ld2_t# R+ Q! q% S) U$ `  D/ ]. m' V
  510. {, [2 ~5 G6 s' x. D
  511.   margin: 4px 0px;: q; K6 U% e1 V+ h- I
  512. }
    # d! a- a. |- r" c4 K! b! p5 q% K
  513. 2 {" n6 C# V) D8 Y# f0 F" y% G) ]
  514. .ld2_w' y! S7 }- B, D$ n
  515. {
    0 y! c; v& i7 o. _- V/ m2 m
  516.   color: #009999;
    ) [& P* u* T% P: j) l
  517. }4 t% D* y& R  z1 F: r: r

  518. 2 x! Q8 q; c, w# l3 L* I4 @( w- S
  519. # ^: 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
您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

小黑屋|手机版|Archiver|PDAWIKI |网站地图

GMT+8, 2025-5-9 18:07 , Processed in 0.021279 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表