掌上百科 - PDAWIKI

 找回密码
 免费注册

QQ登录

只需一步,快速开始

查看: 745|回复: 0

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

[复制链接]

该用户从未签到

发表于 2020-5-7 14:04:24 | 显示全部楼层 |阅读模式
本帖最后由 chigre3 于 2020-5-7 14:11 编辑 $ Y5 l1 j. ^/ v; u  w& ~  i
0 ]5 t# r, u# `
根据APP官方说法,可以自建一个article-style.css (夜晚模式 article-style-night.css) 放入 /sdcard/GoldenDict/.config 文件夹下即可刷新后生效从这份官方的css里可以得到一些有用的 CLASS 名类,用作自定义:
7 r, k! V* {+ f) Y- U% p3 o3 r常用的有:
, _( G6 i, ?0 x.gddictname{}
6 q; ^9 R6 m" T7 q/ C% @6 ]6 ~.gdheadword{}
( A( a; o& u3 t2 g.gdarticle{}
# H2 y" @$ J0 P  H7 z.gdactivearticle{}) j6 U+ C/ y" E- r! A' b2 {
.img{max-width:100%}
, s" F1 u3 Y% d! M  [

6 t3 t  t% P9 o1 b1 ?# I9 N) I也可以了解到安卓版goldendict还不支持XDXF格式的资源文件
! D' Q7 W+ @2 J- Z7 \1 G! z
  1. ; o( v5 q, N$ ^/ L8 U2 V! @
  2. /******** Global, non-dictionary-specific classes ***********/
    / {$ A2 {! ]6 P# j! A; u

  3. 8 w/ @) Z1 t+ `! H# z( }
  4. @font-face( `5 I) a. V* [. _( }& l( `2 h) b
  5. { ' `- [/ I1 p5 {3 C, l
  6.   font-family: "gdExtras";
    ; R! J" ]$ Q  ^, F
  7.   src: url('content://mobi.goldendict.android/asset/DejaVuSans-Extras.ttf');
    ( V  ^1 V, p: K- J# G
  8. }
    " l1 e, K  s9 G5 s
  9. - X& ^) H, m0 X4 M" X3 O" M8 ]
  10. @font-face
    , l3 H# p1 O9 S5 t! R7 D- m
  11. {: U4 I8 ?, I5 f
  12.   font-family: "gdExtras"; $ E3 O0 d4 b  K9 y. O# p
  13.   src: url('content://mobi.goldendict.android/asset/DejaVuSans-Bold-Extras.ttf'); : U+ H9 v. m+ Z3 @
  14.   font-weight: bold;  y; ]: H' F" ~  s( F6 _8 {3 P" M% s6 z
  15. }4 E, B7 ^+ `: f/ K6 S8 p0 v8 k
  16. / T0 ], {7 E( r+ _( q
  17. @font-face
    ( N5 d! m; ~# _7 T
  18. {
    / e1 l2 o. E7 l1 G
  19.   font-family: "gdExtras";
    ! T* w' @0 f7 P! e
  20.   src: url('content://mobi.goldendict.android/asset/DejaVuSans-Oblique-Extras.ttf');: {* z% b  I3 G* Z
  21.   font-style: italic, oblique;
    , Z1 b6 L7 q1 j! J& @
  22. }
    % c2 q+ b, a2 [4 z( ~

  23. 7 A* h" h) X  q
  24. @font-face
    3 ^0 _! ?+ w5 L' |) q+ [
  25. {
    - u! O/ T( t" D! j, m9 |) g
  26.   font-family: "gdExtras"; 9 |% l2 R6 N7 \1 t
  27.   src: url('content://mobi.goldendict.android/asset/DejaVuSans-BoldOblique-Extras.ttf');8 C2 L/ t# ]5 z7 P; g
  28.   font-weight: bold;% L& O# ?7 C; c
  29.   font-style: italic, oblique;
    * V7 `' g3 J& E
  30. }
    ) E* P6 N) A5 X5 G3 q# Z

  31. 9 V" i1 M' d$ Q2 Y% f
  32. body4 x* X4 h) Y6 [
  33. {) \% w6 G1 C# b7 }( H
  34.   background: #fefdeb;; }( T' \1 Z5 c  \
  35.   font-family: Tahoma, Verdana, "Lucida Sans Unicode", sans-serif;
    + k- ]1 ?$ @) N" A1 @- A( m6 y
  36.   font-size: 10px;1 U; d1 O8 M# J- b& k9 o* S
  37.   cursor: wait !important;% U( ~& N6 @8 q2 O4 Q- |
  38. }
    $ i% r# n3 z: I9 l
  39. 8 T4 q) p; [$ ^4 n. k' w8 l. \1 z
  40. /* Non-existent glyphs are shown with this font (right now IPA range) */
    # x  f& }, p, s/ S  O
  41. .gde
    8 m7 L2 ~" @* Z" h1 {
  42. {
    4 W7 _  Q# L! ~6 x6 @; F8 f- M
  43.   font-family: gdExtras;
    # U% h& p8 T- ~- U6 V6 u2 p# f
  44. }  a4 X# _2 Q  U1 o1 D1 N
  45. : c5 |+ K# O6 C; M
  46. /* A span before each article which gets referred from the TOC */& Z: m# J" |3 `) k0 p
  47. .gdarticleref4 k. o# d' H6 c3 p: D  l0 B/ P
  48. {' A" S2 h6 N5 q: T
  49.   visibility: hidden;( `+ e2 [! x7 G
  50. }5 F+ u" }; I1 Z

  51. ( _% t* T# Q3 a
  52. /* Plaintext dictionaries are usually 80-column formatted and take a lot' {4 y8 @/ N( `" U
  53. * of space. We try to use smaller fonts for them therefore. */5 }+ ]; Z0 h0 I4 u8 Y& V: h$ T
  54. /*
    ! D2 i; _2 a+ Q. {& c% c, a, P, e* B
  55. pre, i5 J: e, ^: Y4 }5 W" B
  56. {0 w; Q, k( b* [; K2 l' Q/ u
  57.   font-size: 10px;
    ; I- M& t6 T/ N: j1 P! J8 S
  58. }
    4 f: c9 n1 d0 f% D) l9 s5 O# x
  59. */
    & h, d( S2 f2 Z5 P' T. ]# L

  60. # q  v/ [+ B$ l6 s: L/ ]
  61. /* Dictionary's name heading */
    * L8 m' `6 t) R0 v# H5 x5 {6 e" X
  62. .gddictname
    % s# J; j6 P: q: o2 b- `7 A7 z
  63. {" c- y  d( B; P" @" v: B
  64.   border: 1px dotted black; padding: 0.2em; padding-left: 0.5em;& [) {, R- D$ r$ ^
  65.   margin-top: 0.2em; margin-bottom: 0.1em; font-weight: bold;2 M7 M* S8 U- P7 z# ^
  66.   font-size: 14px;3 g8 F6 j+ c4 K! x) C+ z2 V! e
  67.   /*background: #ffffdd;*/9 D2 W4 t7 ?$ r+ v2 Y
  68. }
    & W% S4 L8 k4 P3 y, C& X0 ^. K( f

  69. ; q( N# \8 L) z2 z: e- f
  70. /* The 'From ' string which preceeds dictionary name in the heading */( N& _, R, W  a' Z3 q& H- m
  71. .gdfromprefix
    & V$ P, W. f* s' z) M
  72. {
    ( j, r+ I# P( V  z
  73.   display: none;
    8 `7 e( A; Y& l' ~; i
  74. }
    ! n8 [, p: A4 K: I5 z

  75. ; m  Z4 _5 t, i% g
  76. /* Headword -- displayes the word being translated, comes just before the
    / \5 E" P+ k5 v5 P8 Y- G
  77.    article */1 o/ y7 P( d& g6 q
  78. .gdheadword
    + ~8 C7 d/ [3 i. n$ K) C
  79. {$ {* g$ N$ O, V+ f
  80.   font-weight: bold;4 H- G" \) a" [& X! d
  81.   font-size: 12px;
    2 B5 J' `5 d. h, d. x% b
  82.   margin-top: 15px;6 W& n: p: u' S, ^. t6 D
  83.   margin-bottom: 10px;
    3 H. w) N8 A* \% w# C: m
  84. }
    - `% C3 K+ a: I% a  [) U) ^

  85. % \! K. N1 j1 _, V1 ?, j
  86. /* DSL dictionaries contain <p> tags in headwords -- mute them down. */
    8 s: [" @& M. m* c, f
  87. .gdheadword p# j* R& c0 b+ C1 f* e% M5 Y- j
  88. {
      k9 b8 u# u6 J8 V+ B4 [- V
  89.   margin: 0;3 ^% E4 r2 R- |7 h
  90. }3 P9 J  J# H& F( H3 V" v4 ]- [: \& n) ~
  91. ; i7 |- Z3 d, Q, u4 m
  92. /* The article span. Here we have a padding/margin hack to make fragment links3 m2 Z7 v+ H( Y
  93.    behave better (have some space before the start of article) */; T( ]1 m$ E0 ^  K
  94. .gdarticle4 I+ G' ?7 \% }
  95. {+ @+ d. A, N. p) i" B7 S' T- X
  96.   display: block;
    % A1 X% _: @  \5 w9 g4 ~
  97.   padding-top: 1px;% R4 j4 j& l% S! ?' Q/ u* @6 }9 L
  98.   margin-top: -9px;
    9 q  R- q3 X6 E1 v/ l
  99.   margin-bottom: 8px;8 T$ K9 p) W5 l8 ^6 j
  100. }6 N4 O% E# i& |

  101. 9 L" |4 d$ n1 i. _
  102. /* Appears between the articles */
    " ?' C5 _8 _. |8 Y* |1 T
  103. .gdarticleseparator+ c6 p5 C. f* H" Y
  104. {0 u' L8 `& o# M: {$ z
  105. }- Q/ O5 S0 C: G* G. N1 p4 ^- ?: Y

  106. - V1 e( M" f$ K$ [: E
  107. /* Dictionary query error description string */- d1 f9 J! ?5 r4 Y
  108. .gderrordesc9 n( \; b! g6 t  D  d* A1 C
  109. {/ I* {  I0 G. y  I: l6 r
  110.   font-style: italic;
    + J9 `0 |% I- `$ ^  E, d
  111.   background: url("content://mobi.goldendict.android/asset/warning.png") center left no-repeat !important;/ `: M* Z) j  w+ S  {4 y' @
  112.   padding-left: 22px !important;4 A' R, }# Y' L4 u: k4 v5 w* d* \
  113.   margin: 1em;1 b! t* a( f$ A" s) Y: w  X
  114. }
    ) A) \7 _7 T5 ]; p7 \/ g* @

  115. 3 s* h7 e# C/ {: r4 d
  116. /* No results for 'word' in 'lang pair' */
    ! v: P% n3 J# p" D5 l
  117. .gdnotfound
    6 L1 M- g7 B) j9 g, ]/ w3 a
  118. {# y' I1 ]; V- p$ g$ t
  119.   font-size: 15px;- ^; Y. X5 X0 E7 H! s8 R& S9 z
  120. }! R8 G& h8 C7 y6 d- l

  121. 2 n$ @$ s4 [7 _+ M  t$ W: ]
  122. /********* Babylon dictionaries' classes *********/
    6 c( }- f+ F$ ]
  123. 6 P0 ]& ]' k0 U. R
  124. /* Transcriptions in Babylon dictionaries */" w# N+ r* _1 ]+ X
  125. .bgltrn:before
      y$ F, S+ A% N5 p* F& _- G
  126. {( {9 s& I6 B: o; J
  127.   content: "[";3 Y3 b$ F) r) l. k
  128. }/ p* ]0 _. ~; S3 [; @+ }: B2 \
  129. 8 Z5 F3 L. Z$ \9 q! g' b
  130. .bgltrn:after( V3 _1 j( u; U2 F+ R, V- R3 ~4 X
  131. {
    2 W# E3 B) D: s$ ?% f6 x
  132.   content: "]";
      O) V* |  J' @, {
  133. }' E' g6 i8 n1 |- b" z

  134. 2 s& r; Q: f+ l. S7 X1 ?4 e# I
  135. .bgltrn
    * q5 m& O! T# I8 P( b, Q/ V( q# E
  136. {' g9 O$ G/ C6 W
  137.   display: block;
    - j5 D6 t( ?+ q; ~$ v) D$ ?& _. Q
  138. }+ O0 U! R) i. }* ~+ Y

  139. 6 @  r9 w9 ~) f$ l# d. j  S$ d( R
  140. /* Part of speech in Babylon dictionaries. Usually irrelevant,
    . y3 G/ O; ^& a6 p0 N
  141. * therefore hidden */5 w! D6 R8 M3 }
  142. .bglpos
    1 ]+ w. B5 _0 z/ V/ e( ~5 f4 h
  143. {
    3 u* {$ ]2 L3 T
  144.   display: none;% {  \. f" w) m" E
  145. }: f/ I2 y3 z- R, v! l2 W, \6 A0 x
  146. * h0 L. b" V' ?
  147. /* Right-to-left text */
    1 ~+ N2 Z& n, ~7 F  q) D) M' g
  148. .bglrtl
    ) U# I- h0 Y- x3 b% [0 e
  149. {
    0 B( |2 v& T+ J( @9 Y& H
  150.   text-align: right;
    ) x6 z( V, ^( g# \, Z
  151.   direction: rtl;6 |% r) `$ ~' E: N2 L
  152. }! K( J  o# _/ B# o

  153. 2 B5 h+ z# P9 r( k8 q/ n, J
  154. /* Hebrew roots in Babylon dictionaries */
    ) z! s# @# q2 q  }
  155. .bglroot:before
    . P9 u8 n9 w" i. ^( F& ?2 O
  156. {
    7 v4 z1 K" r; G" u
  157.   content: "(";
    % B/ s8 b/ P& x. P2 s1 U' a9 L
  158. }* q1 m. c) l% W" D

  159. , |* i* z4 A5 t/ U' ?5 {9 S
  160. .bglroot:after* ?( \" h  v" p
  161. {5 W+ J5 H* N( H
  162.   content: ")";2 @. W7 Y/ s; B9 p$ @9 Y7 o
  163. }
    3 H8 @; }& s* ~: J( b

  164. ! T5 ^' T1 F9 j$ @9 |, \
  165. .bglroot
    7 f& C/ c+ Y3 C+ w; i* u/ ~+ D/ g
  166. {
    5 C' U/ E1 Z' L) O2 Y
  167.   display:block;" x- p$ Q7 g- R5 Y3 Z. [# m" D
  168. }" Q8 s- Q9 y( W1 t7 ]6 z  J* x. t
  169. ; t; b3 y, r  A* M+ g3 s2 ^
  170. /******** StarDict dictionaries' classes *********/
    ; h. K5 e! f# m

  171. : O' x4 D. i* m+ H. o+ N- i
  172. 8 [# u) B: c" G
  173. /* StarDict type 'h' -- Html content. We don't normally do anything here. */
    9 K# C  g- w$ O, i) ^, S) y
  174. div.sdct_h
    : Y' `; F8 ^' N, E# w
  175. {" M! B) X8 s) r& W, L9 a$ V, [
  176. }. B( }$ W0 B& o7 q
  177. 6 \$ D4 B7 p3 Q& d8 C" r3 v
  178. /* StarDict type 'm' -- Pure meaning. Presented as <pre> */$ @% [0 e! Y( r
  179. pre.sdct_m
    3 Q0 n3 t7 f! k
  180. {
    , @$ @9 O2 X3 ~/ R5 w
  181. }- h8 H* b3 k1 j( J6 [  ^" F
  182. 1 ^+ ?/ ]* o: L) X& Z$ y
  183. /* StarDict type 'l' -- Pure meaning which used to be in locale encoding. *// J% S  f' y' g( H" o  ]! E
  184. pre.sdct_m; D/ b( I6 I6 y4 {  M0 a
  185. {1 i& [6 O: w6 z' J7 a( V& t
  186. }  K* N9 s' w+ g& J6 i5 s& N7 [/ v

  187. / p; y# ^4 \3 g7 N
  188. /* StarDict type 'g' -- Pango Markup */( p  ^7 b0 s+ q: c7 Z
  189. div.sdct_g( X2 ]; X! l4 b  \# G8 b) D
  190. {: ]  G: O1 H: A$ z# z2 a4 h7 ^- p
  191. }2 T: @  G- M, M; r3 f
  192. 7 K' A7 E  k% n" ^/ w/ k" A+ V
  193. /* StarDict type 't' -- Transcription */' G& G$ w" @2 D; N1 W! c1 w
  194. div.sdct_t, R# W* x- L  {6 v
  195. {
    + v% e% z- G% b8 N0 u- w
  196.   font-weight: bold;
    2 @! f- p/ `4 @8 R- k! h
  197. }0 B! ?9 k# T( Q; p# F
  198. 3 p8 m! s* F& A' G: o
  199. /* StarDict type 'y' -- Chinese YinBiao or Japanese KANA */
      U( V5 k& v, f0 s, e4 z
  200. div.sdct_y
    % D+ i) @/ W, d
  201. {. h# z  H! p  X/ a3 N  ?
  202. }9 ~% J9 z9 _; q; j

  203. 0 n  h* Y0 h( [/ o$ n
  204. /* StarDict type 'x'. Should have xdxf_*-styled elements inside */2 [* s% C+ C; d  `+ G; n+ j0 ]
  205. div.sdct_x1 M. y" E) n/ }# e
  206. {
      \, t3 s9 ^) i; ]
  207. }+ ]  m2 H7 V2 D6 G5 I( a

  208. 8 x( i/ c8 }7 b6 F$ l, t+ |
  209. 1 f& c& V) U- B. L$ ?7 @
  210. /******** XDXF markup classes *********/
    1 o1 I, u9 U+ W! w9 @% Y  N6 T3 {
  211. % m5 K6 v3 P9 p
  212. /* Key -- keys shouldn't normally be present in the article's body since they
    ' I3 `8 U& H5 ~( {8 c
  213. * are accounted for separately, hence we hide them */
    8 f- q# P; a" R+ ~" u
  214. .xdxf_k
    : H: M0 C: {% @
  215. {5 @: r1 W* i4 N2 O/ A4 l
  216.   display: none;
    0 R4 o$ q) q2 j  M1 y4 W/ ?( _
  217. }+ {$ }" {* C  n) l. k0 q
  218. 5 Y0 s3 l, `0 D
  219. /* ...and if there's a break after it, we hide it too so we don't have an
    / b- B( x* T0 W4 m3 t2 \
  220. * extra vertical spacing. *// m. |  O/ Y6 S; N1 U" y  m
  221. .xdxf_k + br2 a1 ~8 ?- J! R8 C
  222. {! X! w. K- s  \* k
  223.   display: none;
    0 P1 U: i/ l/ R+ }( ^* l  p( v
  224. }' x: M. i0 E: R2 b- S1 t

  225. " N  F5 s5 v( R, x; ^
  226. /* Abbreviation */+ L" p( v" u7 V% F
  227. .xdxf_abr7 l  Z( i; c7 t9 L# |, `# p
  228. {1 L# ~( o9 O+ S8 V0 Z) F, k1 A) y
  229.   font-style: italic;: F: o) ~7 y$ \4 s0 v  X0 b+ Z
  230.   color: green;
    / F4 d. g! `' T# i/ {6 X& o
  231. }- E2 t5 G/ Z! S1 D3 t2 s( [7 N

  232. " c! n# p' n* c3 {: ]6 e9 ?
  233. /* Color-highlighted */
    * C( r& y; j! q( ^# ?$ ?
  234. .xdxf_c  l8 e. E0 w0 C/ m3 g: L  b! m
  235. {7 Y8 H9 Z2 a% k# n# N
  236.   color: blue;
    ' M( C1 k. `, j% u
  237. }5 U) z9 d; |. `# {

  238. 7 a. j; u$ V0 D& J: `) B
  239. /* Example */8 I0 B. o' L& S  @
  240. .xdxf_ex) {' x+ \$ q7 n4 a+ R
  241. {( g9 S" ~  N; `! @7 d# B# Q; A. q
  242.   color: grey;
    . h) U  i. s- Q* N, ]0 Z0 g
  243. /*  display: block;
    ! y* t# v# E& p! U9 F# Y
  244.   margin: 8px;*/
    : L5 i( U: e) x: [: g( P
  245. }
    + l1 Q6 C$ d0 W$ f0 L
  246. 7 V9 i2 h# M* j1 t  Z( V* {
  247. /* Direct translation */8 d3 K2 s8 ]* Q& L
  248. .xdxf_dtrn, Z8 i& j' r3 ?2 [/ O
  249. {
    : X* |% h) |1 X7 H5 T) j  Y+ R
  250. }( _& p( D! Y6 z7 J0 S' h

  251. / V4 y! B8 v3 g
  252. /* Appearance-only tag */
    ; o# P3 d- j* u0 a& @
  253. .xdxf_nu0 J3 W3 m9 _* z0 l
  254. {, K2 A1 i% D6 Y: c) f1 y9 m  c- x% ]  }
  255.   color: red;/ z/ ^& j/ m; z) |8 U
  256. }$ x! y: q) d, Z% X0 s

  257. 7 P' o2 g, k5 ]. n. ?2 E2 Z
  258. /* Transcription */2 L" v, J% E0 A% s
  259. .xdxf_tr:before
    * p# T0 s4 h" Q, J1 u$ Y
  260. {) w2 Q( |( o/ F/ J' b  g0 E  ?% ~  T$ w
  261.   content:"[";- r7 f3 l' ]# {$ z
  262. }
      G9 Q# ~7 \$ {) V  ?) [" [
  263. ' F+ t) m$ k, v& x! v
  264. .xdxf_tr:after" h/ n. ]' Y8 E8 }5 w( j8 T3 T
  265. {7 R: Z( U4 `) ~) `* @0 f
  266.   content:"]";7 X* |) k; i, C; p1 A9 d$ u: I" r. s) m
  267. }
    , \$ q' _( h& k

  268. $ K6 p5 [9 L2 P- ?
  269. .xdxf_tr
    / G. I% N# s, i% c
  270. {
    % Y, W3 r# T4 g8 T, X# X( P4 d
  271.   font-weight: bold;
    * @4 D- D0 ^2 q; Z/ g# ]/ p3 m3 D
  272. }- w, S7 `9 d  }6 a
  273. * ^# l, c: n! Z1 u# r1 R2 E6 x) M
  274. /* Resource reference -- for now just a span. Since there's not yet a mechanism% T3 V, z0 b& m  L
  275. * to load resources off XDXF articles in GoldenDict, we just hide them. */6 ^) E3 |, b* y3 Q# c# p
  276. .xdxf_rref" v' M6 b7 c) O' j( G* m+ W
  277. {
    2 `1 _, q: B1 s5 b
  278.   display: none;
    ! ^2 u3 z0 I+ D3 d; f
  279. }
    , O! t* i' z% Z9 S5 E) s( L. I
  280. 1 ]2 K: D8 w% y( P9 ]* o( [* M
  281. /************* LSA audio archives **************/
    * D; b9 u: M! b) I( I9 J1 r
  282. 4 k9 B) N* h' W, ^$ c9 u8 Q1 V3 U
  283. /* A table which contains a play icon and a word's link */0 |* P8 _9 M( u# {) ~% r' F
  284. .lsa_play+ [+ Y- y$ s0 Y9 K- ^& w
  285. {
    2 l$ C0 G/ |  W
  286.   margin-top: 8px;
    " R6 I! u5 Q& l- M5 ]0 }* ^
  287.   margin-left: 8px;/ j4 P4 l& s* D
  288. }3 f! ?7 K. k0 ]# w$ d0 @$ G. h
  289. ; H8 q+ d! N7 c, q  T5 p5 i
  290. .lsa_play a
    # p( ]6 Y# S/ G0 l9 _6 |
  291. {5 F6 P3 i& @* c  T
  292.   text-decoration: none;
    + \4 t8 K9 J' \  h
  293. }! q4 ~$ D# W. E: _# b0 o
  294. ) S. [3 r! |& \9 p( N# Z6 Y( A
  295. /************* DSL dictionaries **************/
      x4 ^0 X$ l+ I, ^: j+ N

  296. $ M% h9 r- C' r9 C% I/ G9 m
  297. .dsl_u
    - y, C4 ^% p8 D0 H1 j& s: y
  298. {
    9 R; ]: p% M5 D* [& n! C$ [0 _2 z
  299.   text-decoration: underline;
    , j) d1 ^9 q$ L$ y. b2 C5 U
  300. }7 S2 f1 \" c2 R; x+ i6 S

  301. # ]8 V4 r" N% M2 J$ Q  B
  302. .dsl_article font[color=c_default_color]1 n1 E$ @* A6 i" o
  303. {& H: W8 a' w, G8 U) w, M/ z, v
  304.   color: green;
    * U) _0 Z& t: V$ {. C
  305. }
    3 O; t6 q1 F$ M3 X

  306. 4 l* S! [  Y) Q; J5 n/ T3 w9 t3 D; _
  307. .dsl_m1
    4 J3 \7 _$ n4 E# t" Z, {
  308. {, d6 P9 X) [8 n
  309.   padding-left: 9px;
    , _! {9 X* Y9 Q* [5 m) M
  310. }- l! B5 e4 \1 L' L6 {. O" U- r; C

  311. 7 y7 x* L1 T# n; Y2 A5 R3 f$ s
  312. .dsl_m2
    : [; B: z1 ?% b9 @7 Q
  313. {
    . d6 s* u- c/ Y1 R7 g; i) Q
  314.   padding-left: 18px;
    ) F( o9 n0 G% H, q2 @/ [4 \
  315. }
    ' u) e4 Y# z" K$ r6 p

  316. ( ?) K& A, z- P( J
  317. .dsl_m36 i# q% @+ q; F% m% E7 D  G& S
  318. {
    7 g) _+ G8 O) W2 M( y* I; \
  319.   padding-left: 27px;  c7 J# n$ q7 d% R0 k- q
  320. }' K( L0 x/ U( W# R- {& l
  321. 7 a( ^, F0 h% f" T+ J2 b
  322. .dsl_m4& g# I- h' u3 u5 D
  323. {
    2 S: N4 _  \8 U, [' s; c1 c
  324.   padding-left: 36px;0 [6 ^5 {# L2 w2 }0 `, e3 A* Q# {
  325. }
    ) J, n1 i  {- g# n1 I

  326. 0 r' e  ~5 K. B
  327. .dsl_m5
    ! d1 m3 B' f1 y" Q
  328. {
    6 e1 L3 k" z* n, z! t0 s
  329.   padding-left: 45px;
    8 l" ]8 q$ v% F) I1 E! y9 I/ ]
  330. }
    ! s. P$ T) d- A! s9 Z. m

  331. % u: W/ h7 Q8 E( u$ |2 x# O
  332. .dsl_m6
    5 H0 G; M. V7 z# N: }7 J
  333. {
    6 f" f1 S! Y4 z6 `  i2 E$ k$ @5 a
  334.   padding-left: 54px;! f. z  _" T, F5 U' ?
  335. }
    ( S! w) Y' r, }6 t/ u4 e

  336. , m: k4 o% h, M$ j2 N
  337. .dsl_m7
    4 p$ c2 _8 G. i; M2 b( k6 L6 x8 W
  338. {
    - l2 f; O) S' T1 I8 F$ D
  339.   padding-left: 63px;, R2 G& |( {4 x0 [2 e8 r3 T4 A& J" n
  340. }
    / ?- |2 O, a) D/ Q) {6 _, d9 P5 \

  341. / ?( o0 h+ e/ a; Y  S
  342. .dsl_m8
    / Q$ G4 n2 Q/ @. i4 \
  343. {" C, d5 ?& n6 F# h; S) g
  344.   padding-left: 72px;/ Y: I+ N$ [0 ?/ d) x1 g2 i0 G7 D1 r
  345. }/ m/ k- v' N7 M( g. s
  346. : a$ R  ^/ @/ ^% S7 K4 e. `
  347. .dsl_m9
    5 V# w7 {# T, k
  348. {% ~. |% ?$ q+ U# C5 j9 I, @
  349.   padding-left: 81px;
    & s7 X6 }$ R7 j5 |, |
  350. }
    5 P0 E& S+ P9 V/ o
  351. 4 G; E; h* a. g2 c, h5 @2 w
  352. .dsl_ex9 M5 h1 D! \6 i% ~6 ?$ l! J
  353. {- P( H9 Q# @0 F) f) ^7 M
  354.   color: gray;' [7 A2 U! z$ h# v7 }
  355. }$ q) Y" P0 F% g. R/ d

  356. / Z' K$ M2 I( F& U2 ?: z6 L
  357. .dsl_p, r2 S& @' f5 y
  358. {! P4 P# F+ k3 @5 g" Z
  359.   color: green;  |  X0 d: Y8 _0 ~6 E: b0 @0 i8 ?# s
  360.   font-style: italic;6 T' c' {1 J$ ?0 h1 ?* ~) {
  361.   cursor: default;+ x) X/ L8 }( n6 l8 p
  362. }
    ' B  B9 P: }( c9 [

  363. & Y! W: r+ M6 j( T4 m! V
  364. .dsl_t1 N8 T: q; A% e" e% o7 B* B* n5 O* K
  365. {
    . Q4 ?- F# M' M
  366.   font-weight: bold;
    3 l/ X. \' r$ v& l- n5 I
  367. }
    / v2 u' p5 [5 D, ^# e( t3 h5 N/ p

  368. 2 I7 P, u, \2 f9 v0 M
  369. .dsl_st_c' R& L9 r- l4 o7 l% U0 t+ d
  370. {1 h) S4 y9 ~8 u: c3 E$ k
  371.   display: none;
    7 Y5 t0 g1 u- `" _( X0 V6 l& t
  372. }
    & ~. ^& O8 |# p+ ^8 n
  373. 6 _* }$ H% X4 w+ p3 G! |
  374. .dsl_headwords
    4 i7 N; k  N$ w! e
  375. {
    ) `* R" U+ G  }7 \2 B# {/ ]
  376.   font-weight: bold;
    7 a. b5 Q& J# o/ A
  377.   margin-top: 15px;& s( Y2 O" z7 V8 i
  378.   margin-bottom: 10px;$ I# m/ @) C0 i9 S/ h6 N5 {
  379. }6 r+ K' ?2 ]  Z0 w5 ~8 S6 G

  380. 4 a. Y4 j; \: _' z0 c( e
  381. .dsl_headwords p; a0 C' S- h) O" {$ w
  382. {
    " `! M, |7 ?1 j) ~$ g
  383.   font-weight: bold;
    # S$ |" M0 u1 T9 F
  384.   font-size: 15px;
    ) e1 z) ]% K) {. _' w6 H
  385.   margin: 0;
    / f+ R: U4 ]; z( A& `' w! {
  386. }
    % j% `2 k0 Z' J) L+ U5 Z" p

  387. 8 \; T7 q8 s% @% R
  388. .dsl_definition p
    . V3 p# h. \: B* X& h
  389. {( T( e: m3 D, s4 P4 D
  390.   margin: 0;; y  \) E& j1 x& G
  391. }
    . L9 r8 ^3 O* v, C9 @4 _

  392. * ^6 x$ k& y- e* U4 b$ Z
  393. /************* Spelling suggestions *****************/
    9 f+ ^2 T& o. P

  394. 5 V* H5 l/ K8 R$ p" q0 t
  395. .gdspellsuggestion$ V, J' C3 D: Q4 z' H
  396. {0 H8 n5 ~0 A% ?& k, z
  397.   /* Add some vertical space before the article */
    ' Q1 _# w. ^* x4 D1 V& H% s% E
  398.   margin-top: 1em;
    8 e/ H$ k# Y3 J' d4 m
  399.   font-size: 12px;, B. U$ ]0 Y0 t0 I! N7 {
  400. }
    8 I  I1 c" M% g2 M

  401. $ P0 N2 {6 j( t! h( [
  402. /************* Stemmed suggestions *****************/
    - S: L& Z% m: m+ v
  403. & L8 P/ d! h$ b% ~
  404. .gdstemmedsuggestion2 M- V1 p! b! L1 `
  405. {
    8 e1 \9 t; w% N4 N; e8 @% x
  406.   /* Add some horizontal and vertical space */
    3 A" X+ T. x# z; m; z
  407.   margin-top: 1em;* F. [/ p& b/ J9 \7 d0 {' h3 Z
  408.   margin-left: 1px;4 P! u+ m2 [! N$ q! V9 p/ k  B
  409. }1 w/ K) I: x( u& Z

  410. 5 S6 N* k. o  Y- |# d5 C. _9 t5 i

  411. 8 A  V) [( `0 r" b$ z: ~, D" G
  412. .gdstemmedsuggestion_head
    & r; k% q8 W. e; T  d. z
  413. {
    , w  u$ Y* r7 X
  414.   margin-left: 11px;4 _* K  c; A. [) r" e  m( w* G0 Z  h* O
  415.   font-style: italic;
    $ r& B2 a7 Y) u" s
  416. }2 f4 u9 T5 k4 h5 Q9 N* I

  417. ' w& F+ s: `: H
  418. .gdstemmedsuggestion_body
    5 N- X. g1 ?- E& R7 u; `  [5 C
  419. {
    2 T  [, [" A- `" @  i
  420. }
    ) b& s: p! M; R% d7 }, x$ P

  421. ) o* ], e( Y! r+ _+ S
  422. /************* Dictd articles *****************/
    ' o) j  H' a$ p" T! c
  423. .dictd_article4 [8 a# Y+ G+ |
  424. {
    / A0 T6 W, ^  g1 C
  425.   /* Add some vertical space before the article */
    ) L' F+ D6 x) G+ o( g1 l2 F
  426.   margin-top: 1em;0 d) G$ d; h/ u  F. Q5 }/ S
  427. }, m. Z- p1 I# @8 B* s# o& k6 O
  428. 3 ~. [, i& \9 W9 a
  429. /* Lingoes LD2 */
    , x% K/ ~, U! ?# `
  430. : q$ M0 P# V7 F( s: y6 W: K
  431. .ld2_e
    7 h$ q) b0 R: R7 ~8 d3 j  |
  432. {9 Z4 i3 v- m- q: J7 n; U
  433.   display: none;. H" b6 P7 H4 m+ t( Q, j, u, Y
  434. }6 ]5 O5 m$ V/ V

  435. 6 y5 ~& z: P1 ]0 ^6 x( F
  436. .ld2_h
    : i1 N- f4 u+ S9 R4 Y  i8 g
  437. {4 |: ~* y: x( h  t! a1 m' X
  438.   display: block;
    5 f8 B) K0 Y. }0 p2 L$ o) w, b
  439.   margin-top: 10px;
    ! R4 l: J1 F5 I0 D; _7 Q1 D
  440.   margin-bottom: 10px;4 r) X& B5 {( R6 h) h) j
  441.   color: grey;
      {0 }: y- ?  Z+ ?" v6 Q
  442. }* H) t3 H$ {6 C. a) n4 B& r
  443. 3 r$ L& q! T& v! o3 _' G$ K: z9 `8 B
  444. .ld2_l
    * S$ C; w/ Q  @3 I  G/ p' G3 B! B
  445. {
    , n2 `; M' o! N# X9 F. O4 A
  446.   font-weight: bold;
    $ A7 V" V1 ^% ~# q
  447. }- c& `- n+ ~6 q9 C+ w

  448. , t& N6 t" x2 }$ [( E! G
  449. .ld2_n2 A$ w$ e% @1 j+ V8 [. n) w
  450. {: Y: Q1 n6 s+ z- D
  451.   margin: 0;
    . D, {/ `; ~, I; }9 Y+ J. K) C
  452. }
    3 v2 Z1 R2 @0 _; Z9 W8 m4 J1 w

  453. ; P: r! `% Q# n# m/ H, U
  454. .ld2_p
    8 v. o0 r* e- J
  455. {
    0 o) G, p0 b7 I* i; z- R: [: ~
  456.   margin: 0;
    + u* k5 K- w& @4 ?
  457. }: v5 `: b* g- e
  458. 7 h- j+ N7 S+ i& T! [
  459. .ld2_m7 }- P. g4 q  @& N( q# q
  460. {
    ! E( \; P8 a& E2 G' C/ R
  461.   color: green;
    9 ?/ _+ n# p/ C! C9 k. D
  462. }
    7 d4 p  l& Z4 F- M

  463. % B: I( g) e# Y$ S' b. K6 ^
  464. .ld2_n .ld2_q8 d  ~8 r0 z6 u( [$ g
  465. {4 h( b. D/ _- |5 W6 g0 D/ g
  466.   display: block;1 Q2 q% k  e- r7 U; c
  467. }: m! ^) k2 o' y) [7 G
  468. ' ]1 m0 R, S- A: ?/ b; c; K1 X  W
  469. .ld2_n .ld2_c3af
    , ]8 N4 L$ Z7 W( A" b
  470. {
    * M0 K. W: z! v
  471.   display: block;
    ; h- U- N* P/ `" _4 p' n& {0 J
  472. }
    ; P4 Z4 M% Z# f, u0 e" \
  473. 1 i- m7 r! u* ]0 z& g+ L8 \
  474. .ld2_n .ld2_li' V" m% n! l8 A9 [3 W# a0 L6 l
  475. {
    ) }  H) R9 u3 k, E9 i2 F! ~  z: t
  476.   display: block;' ]6 l" F+ G. |2 o) H
  477. }% Z/ g8 @. \3 D) D
  478.   k) Z) G: p5 t- Z6 {
  479. .ld2_q_marker
    1 E1 F8 A6 b* m' f, d! m* L
  480. {
    , H( S: A3 ?6 J) q+ h" z- J3 n& k: s
  481.   color: #408080;' p- M- {8 ]9 C4 U
  482.   font-style: italic;
    8 `( ?2 Y* m9 S# g" \6 R. j
  483.   margin-right: 8px;
    6 @; E2 z( w7 ?
  484.   float: left;2 X1 ?( R3 ~- B! |3 u+ n2 J0 `
  485. }
    6 ^6 o# v. ]5 S$ n% h: e. B
  486. $ M) C( V0 r# W/ N" B3 b0 q
  487. .ld2_c3af_marker8 e: u5 n2 ^4 @" `) M0 j. S$ r( W0 Z
  488. {& D; S8 z; a5 q
  489.   color: grey;0 g( A* W9 X/ u, [; t
  490.   margin-right: 8px;" i' c9 @6 L5 `# ^9 i) U' |
  491.   float: left;
    1 O  t1 e5 M5 x" @1 d5 U& _' [
  492. }/ r8 o: J, V- K' @- i
  493. * D$ y1 u" U8 A5 A
  494. .ld2_u6 W' w1 E& @+ n- L, L5 V
  495. {* T8 _7 t* z2 t% x
  496.   color: #c00000;
    7 R9 S# x) ?1 |$ W7 v; p) k
  497. }
    0 [0 W6 Y' w, F: b$ F

  498. 2 L; ]- g& B: l+ h0 K" L1 u- w: z" M
  499. .ld2_ly; l8 d% R/ @( |, E$ m+ ^/ q6 P
  500. {1 S# f  k! G6 i. O0 h4 O1 q( K* p
  501.   margin-right: 10px;
    5 T! |8 j$ z: S6 R
  502. }& M& A$ w$ n- W5 H2 \- c

  503. . t# M/ s4 w( Y5 k
  504. .ld2_z* H9 I$ ?+ Y+ }- C' @; t
  505. {# [! q6 d6 {( Q: l, S5 o" L6 O
  506.   color: green;7 f) F- `( {; D- i! N  N/ d
  507. }2 H* H+ n1 g" v2 x7 u
  508. # E) t5 {  V2 ^0 X# S
  509. .ld2_t, \5 H% _- Z* K2 G# U8 C
  510. {
    : \! @  k0 F# j$ ~6 X
  511.   margin: 4px 0px;6 e" @, t; ]# o% \+ L  `4 l9 l6 q
  512. }5 g/ X* l- r$ M
  513. , ^& E6 V& d9 X# {+ `
  514. .ld2_w& R+ [  U) t4 X2 p  K6 a3 G
  515. {
    # i! K$ K0 L0 @0 I+ b  B7 U
  516.   color: #009999;
    4 P% J6 e( F3 b* D5 O& @
  517. }4 c2 l) F, ~& [: d6 J
  518. ' Z! r7 Z1 O" k% p) X& Y
  519. # s- j5 d. j6 C, j, C
复制代码

; L& [; o+ P2 Y9 z) X) z
9 ~) w7 H$ b( d7 W4 c7 f& I5 B0 [7 v) a
' `0 k# M8 r% l1 z+ j' d5 m0 f) R6 g  q1 m3 Q4 N/ J
您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

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

GMT+8, 2024-4-19 23:04 , Processed in 0.033674 second(s), 8 queries , MemCache On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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