查看: 272|回复: 13
打印 上一主题 下一主题

[词典校勘] 【某个词条源码结束标签的错误】求大神优化一下新牛津英汉双解词典第二版

[复制链接]
匿名
跳转到指定楼层
1
匿名  发表于 2016-7-22 23:36:34 |只看大图 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 匿名 于 2016-8-29 01:35 编辑

这部词典的问题:https://www.pdawiki.com/forum/forum.php?mod=redirect&goto=findpost&ptid=15341&pid=270244&fromuid=196625
自己在网上找的资源(回复可见):
链接: https://pan.baidu.com/s/1gfNRZpT 密码: ggk7

一个词条源码中少了一个结束标签的错误
是哪一个词条?
哪位大大发现了那个词条?可否讲解一下修复的具体办法?
还望告知,谢谢!

PS 感谢众坛友相助,编号问题得以解决,请在11楼下载改之后的css

该用户从未签到

24

主题

701

回帖

4442

积分

翰林院修撰

不傲嬌的傲嬌

Rank: 12Rank: 12Rank: 12

积分
4442

灌水大神章小蜜蜂章笑傲江湖章翰林院专用章管理组专用章

3
发表于 2016-7-23 00:32:16 | 只看该作者
公開分享難度不小。

该用户从未签到

87

主题

1050

回帖

2万

积分

状元

Rank: 9Rank: 9Rank: 9

积分
23012

灌水大神章小蜜蜂章笑傲江湖章

7
发表于 2016-7-24 10:24:05 来自手机 | 只看该作者
修改css文件,找到控制abcd字母编号的标记,display属性改为none
  • TA的每日心情
    开心
    2023-1-18 23:24
  • 签到天数: 211 天

    [LV.7]常住居民III

    427

    主题

    4539

    回帖

    9万

    积分

    超级版主

    Rank: 12Rank: 12Rank: 12

    积分
    92011

    灌水大神章小蜜蜂章笑傲江湖章翰林院专用章管理组专用章城管大队长

    9
    发表于 2016-7-24 12:49:57 | 只看该作者
    本帖最后由 kyletruman 于 2016-7-24 13:03 编辑
    lzr80 发表于 2016-7-24 10:24
    修改css文件,找到控制abcd字母编号的标记,display属性改为none


    控制abcd字母编号的标记是哪一个代码?
    lzr80大,您能否赐教?
    谢谢!



    1. @charset "utf-8";

    2. @font-face {
    3.     font-family: "Proxima Nova";
    4.     src: url('fonts/ProximaNova-Thin-webfont-v2.woff') format('woff'),
    5.          url('fonts/ProximaNova-Thin-webfont-v2.ttf') format('truetype');
    6.     font-weight: 100
    7. }

    8. @font-face {
    9.     font-family: "Proxima Nova";
    10.     src: url('fonts/ProximaNova-Light-webfont-v2.woff') format('woff'),
    11.          url('fonts/ProximaNova-Light-webfont-v2.ttf') format('truetype');
    12.     font-weight: 300
    13. }

    14. @font-face {
    15.     font-family: "Proxima Nova";
    16.     src: url('fonts/ProximaNova-Reg-webfont-v2.woff') format('woff'),
    17.          url('fonts/ProximaNova-Reg-webfont-v2.ttf') format('truetype');
    18.     font-weight: 400
    19. }

    20. @font-face {
    21.     font-family: "Proxima Nova";
    22.     src: url('fonts/ProximaNova-Sbold-webfont-v2.woff') format('woff'),
    23.          url('fonts/ProximaNova-Sbold-webfont-v2.ttf') format('truetype');
    24.     font-weight: 600
    25. }

    26. @font-face {
    27.     font-family: "Proxima Nova";
    28.     src: url('fonts/ProximaNova-Bold-webfont-v2.woff') format('woff'),
    29.          url('fonts/ProximaNova-Bold-webfont-v2.ttf') format('truetype');
    30.     font-weight: 700
    31. }
    32. @font-face {
    33.     font-family: "lang";
    34.     src: url('fonts/lang.ttf') format('truetype');
    35.     font-weight: normal;
    36. }

    37. h1, h2, h3, h4, dl, dd, ul, li, p, td, table, ol{margin: 0;padding: 0;}
    38. body { font-size: 14px; color: #000;font-family: "Proxima Nova", "Helvetica Neue", "Lucida Grande", sans-serif, "lang";line-height: 1.3em;}
    39. i, em { font-size: .9em;}
    40. i em{font-size: 1em;}
    41. .ODECN {margin-top: .4em;}
    42. .ODECN ~ .ODECN{margin-top: 1.4em;border-top: 1px dotted rgb(200, 200, 200);padding-top: 1em;}
    43. img{border:0;}
    44. a { color: rgba(42, 113, 167, 1);cursor: pointer; text-decoration: none; }
    45. a:hover { text-decoration: underline; }
    46. .panel { display: block;margin: 0 0 1em 0;padding: 0 .1em;}
    47. .panel a { margin-right: .5em;text-decoration: none;display: inline-block;width: 1.5em;height:1.5em;background: rgba(0, 0, 0, .05);border-radius: 50px; text-align: center;color: rgba(0, 0, 0, .3);line-height: 1.5em;font-size: .9em;}
    48. .panel .active { background: rgba(196, 21, 27, .1);color: rgba(196, 21, 27, .6);font-weight: 600;}
    49. .headword{padding-bottom: .8em;}
    50. h2{display: table-cell;font-size: 1.35em;padding-right: .4em;font-weight: bold;vertical-align: middle;height: 1.35em;}
    51. h2 sup { padding-right: .2em;font-size: .46em;position: relative;top:-.1em;height: .1em;overflow: hidden;line-height: 1em;}
    52. .refer + sup { padding-left: .2em;font-size: .6em;position: relative;top:-.1em;font-weight: bold;}
    53. .pron{color: rgb(128, 128, 128);font-size: .9em;}
    54. .headword .pron{display: table-cell;vertical-align: middle;height: 1.35em;line-height: 1em;}
    55. .pos + .pron{display: block;padding-bottom: .4em;}
    56. .spanel {margin-bottom: .6em;padding: 0 .1em;border-bottom: 1px dotted rgba(0, 0, 0, .1)}
    57. .spanel a{font-style: italic;font-weight: 600;color: rgba(196, 21, 27, .8);font-size: .7em;margin-right: .4em;}
    58. .spanel a:hover{text-decoration: none;}
    59. .spanel a:after{content: '|';padding-left: .4em;font-size: .8em;color: rgba(0, 0, 0, .3);}
    60. .spanel a:last-child:after{content: '';padding-left: 0;}
    61. .pos{font-style: italic;font-weight: bold;color: rgba(196, 21, 27, .8);padding-bottom: .4em;font-size: .8em;}
    62. .pos a{color: rgba(196, 21, 27, .8);}
    63. .pos h3{color: rgba(0, 0, 0, 1);margin-left: .8em;font-size: 1.14em;font-style: normal;display: inline;}
    64. .pos h3:before{content: "("; font-weight: normal;}
    65. .pos h3:after{content: ")"; font-weight: normal;}
    66. .headword strong{display: table-cell;vertical-align: middle;padding-left: .6em;height: 1.35em;cursor: pointer;}
    67. .headword strong em:before{content:'trans';color: rgba(0, 0, 0, .8);border: 1px solid rgba(0, 0, 0, .5);font-variant:small-caps;text-transform: uppercase;border-radius: 2px;font-size: .76em;font-style: normal;display: block;height: .8em;line-height: .9em;font-weight: normal;padding: 2px .3em;background: rgba(103, 142, 209, 1);color: rgba(255, 255, 255, 1);}
    68. .headword strong.active em:before{background: rgba(255, 255, 255, 1);color: rgba(0, 0, 0, 1);}
    69. .trans .def {display: inline;}
    70. .trans .example .cn{display: inline;}
    71. .item{/*padding-bottom: .4em;*/}
    72. .labelbtn{margin-top: 1em;}
    73. .snum, .ssnum{display: table-cell;font-weight: 700;padding-right: .2em;}
    74. .ssnum{font-weight: 600;font-size: .9em;padding-right: .4em;}
    75. .snum:after{ content: "."; }
    76. .defs{display: table-cell;}
    77. .odef{display: inline;}
    78. .odef em{font-weight: bold;font-style: normal;}
    79. .def em{font-weight: bold;font-style: normal;}
    80. .odef i{color: rgba(159, 83, 80, 1);font-style: normal;}
    81. /*.odef i:before { content: "<"; font-style: normal;font-weight: normal;}
    82. .odef i:after { content: ">"; font-style: normal;font-weight: normal;}*/
    83. .sub_defs dl{display:table-cell; }
    84. .ssingle{padding-left: 1.1em; }
    85. i.type {font-style: normal;font-weight: normal;color: rgba(0, 0, 0, 1);font-size: 1em;}
    86. i.type:before { content: "("; font-style: normal;font-weight: normal;margin-right: .1em;}
    87. i.type:after { content: ")"; font-style: normal;font-weight: normal;margin-left: .1em;}
    88. .comp {font-style: normal;font-weight: normal;color: rgba(0, 0, 0, 1);font-size: 1em;display: inline;font-size: 1em;}
    89. .comp:before { content: "("; font-style: normal;font-weight: normal;margin-right: .1em;}
    90. .comp:after { content: ")"; font-style: normal;font-weight: normal;margin-left: .1em;}
    91. .text + .comp, .comp + .text, .text + .type {margin-left: .2em;}
    92. .def{margin-bottom: 0;display: inline;}
    93. .odef + .def{margin-left: .5em;}
    94. .emp + .def, .odef:empty + .def{margin-left: 0;}
    95. .defs .zh{margin-left: -.1em;}
    96. .content dd{padding: 0 0 .2em;}
    97. .content .empt{padding: 0;}
    98. .example{color: rgba(0, 0, 0, .6);}
    99. .example .en{padding-left: .8em;position: relative;display: inline;}
    100. .example .en:before { content: "&#9654;"; font-size: 48%; color: rgb(180, 180, 180); font-style: normal;top: 1px;position: absolute;left: 0;}
    101. .example .en em{font-weight: 600;font-style: normal;}
    102. .example .cn{color: rgba(99, 127, 154, .8);margin-left: .3em;font-size: .9em;padding-top: .2em;display: inline;}
    103. .trans .def, .trans .example .cn{display: none;}
    104. .text {font-weight: normal;font-size: .86em;}
    105. .text em{font-weight: normal;font-style: normal;}
    106. .text:before { content: "["; font-style: normal;font-weight: normal;margin-right: .1em;}
    107. .text:after { content: "]"; font-style: normal;font-weight: normal;margin-left: .1em;}
    108. .odef .text {color: rgba(63, 127, 98, 1);}
    109. .def .text {font-size: 1em;}
    110. .sg{padding-top: .8em;}
    111. .phrase{padding-bottom: .8em;}
    112. .cont-list{padding-bottom: 1.2em;}
    113. .content .cont-list:last-child{padding-bottom: 0;}
    114. h3{font-size: 1em;}
    115. .label{font-weight: bold;margin: 1.2em 0 .4em;color: rgba(178, 134, 84, 1);font-size: 1.1em;}
    116. .cont-list + .label{margin-top: .2em;}
    117. .ori{}
    118. .phrase_exam{}
    119. .phrase_exam .cont-list{margin-left: .8em;padding-bottom: 0;}
    120. .derivative {margin-left: .8em;}
    121. .derivative h3{margin-right: .4em;display: inline;}
    122. .body-ciyuan i{font-weight: bold;font-style: normal;}
    123. .usage{background: rgba(227, 237, 249, .4);border: 1px dashed rgba(142, 176, 224, .8);padding: .8em;  border-radius: 4px;}
    124. .usage em{font-weight: bold;font-style: normal;}
    125. .usage i{font-size: .84em;color: rgba(75, 127, 161, 1);}
    126. .usage i em{font-style: italic;font-weight: 600;}
    127. .addition{background: rgba(196, 64, 104, 0.07);border: 1px dashed rgba(196, 64, 104, 0.5);padding: .8em;  border-radius: 4px;margin-top: 1em;}
    128. .addition em, .addition i{font-weight: bold;font-style: normal;}
    129. .extras{padding: .4em 0 1em;}
    130. .extras .phrase{padding-top: .8em;}
    131. .extras .cont-list{padding-bottom: 0;}
    132. .ref{padding-top: 1em;}
    133. .ref a{margin-left: .2em;font-weight: bold;}
    134. .ref:before {content: "\261E";padding-right: .4em;}
    135. .spe{font-family: sans-serif, "lang", "Haici Dict";}
    136. .refer{font-weight: bold;font-size: .9em;}
    137. ranks{display: block;font-size: .84em;padding-bottom: .8em;}
    138. ri{padding-right: .4em;}
    139. ri:before{content: 'WFL';background: rgba(143, 160, 197, 1);border-radius: 2px;padding: 0 .4em;font-size: .82em;color: white;}
    140. ri ~ ri:before{content: '';background: none;padding: 0;}
    141. sp{font-size: .92em;color: rgba(143, 160, 197, 1);margin-left: .3em;font-style: italic;text-transform: lowercase;}
    142. sp:after{content: '.'}
    143. ra{padding: 0 .3em 0 .2em;font-size: .9em;color: rgba(189, 7, 20, 1);font-weight: bold;}
    144. ra:before{content: 'RANK ';font-size:.84em;color: black;}
    145. ra:after{content: ',';color: black;font-weight: normal;}
    146. frq{font-size:.9em;}
    147. frq:before{content: 'FREQ ';font-size:.84em;}
    148. dp{display: table;margin: 0 0 1.4em 0;display: none;}
    149. cpt:before{content: 'Word Frequency List:';font-weight: bold;padding-right: .4em;}
    150. t{display: table-cell;border: 1px solid rgba(220, 220, 220, 1);text-align: center;}
    151. t + t{border-left: none;}
    152. t h{display: block;padding: .4em .8em;font-size: .94em;line-height: 1em}
    153. t itb{display: table;width: 100%;border: 1px dotted rgba(220, 220, 220, 1);border-left: none; border-right: none;}
    154. t it{display: table-cell;height: 3em;vertical-align: bottom;padding: 0 0 2px;}
    155. t in{display: inline-block;width: .6em;background: rgba(148, 182, 222, 0.6);color: rgba(255, 255, 255, 0);border: 1px solid rgba(0, 0, 0, .2);}
    156. t ib{display: block;font-size: .84em;line-height: 1em;padding: .4em 0 .3em;}
    157. dp t:nth-child(2) in{background: rgba(160, 222, 165, 1);}
    158. dp t:nth-child(3) in{background: rgba(145, 200, 222, 1);}
    159. dp t:nth-child(4) in{background: rgba(222, 190, 130, 1);}
    160. dp t:nth-child(5) in{background: rgba(222, 135, 133, 1);}
    161. dp t:nth-child(6) in{background: rgba(212, 181, 222, 1);}
    162. tt{color: crimson;color: green;color: orange;color: blueviolet;color: blue;}

    163. @media all and (max-width:640px){
    164.     .example .en, .example .cn {display: block;}
    165.     .example .cn {margin-left: .8em;}
    166.     .example{padding-bottom:4px;}
    167. }

    168. .pos h3, .refer{font-family: "Proxima Nova", "Helvetica Neue", "Lucida Grande", sans-serif;}
    169. .pron, .spanel a, .pos, sp{font-family: Georgia, "Times New Roman", serif;}
    170. .panel, h2 sup, .refer + sup, .snum, .ssnum, i.type, .example .en, .example .en em, .odef i, .odef .text{font-family: Baskerville, Georgia, "Times New Roman", serif;}
    171. .example .cn{font-family:serif;}

    172. /* body { font-size: 18px; } /* 修改文字大小,删除本行开头的两个字符并修改font-size后的数值 */
    173. /*.ODECN .headword strong{display: none;} /* 隐藏翻译按钮删除本行开头的两个字符即可 */
    174. /*.headword strong em:before{background: rgba(255, 255, 255, 1);color: rgba(0, 0, 0, 1);} .headword strong.active em:before{background: rgba(103, 142, 209, 1);color: rgba(255, 255, 255, 1);} .def {display: none;} .example .cn{display: none;} .trans .def {display: inline;} .trans .example .cn{display: block;}/* 默认不显中文翻译,删除本行开头的两个字符即可 */


    复制代码

    该用户从未签到

    87

    主题

    1050

    回帖

    2万

    积分

    状元

    Rank: 9Rank: 9Rank: 9

    积分
    23012

    灌水大神章小蜜蜂章笑傲江湖章

    10
    发表于 2016-7-24 13:33:58 来自手机 | 只看该作者
    解开mdx看,应该是ssnum

    点评

    谢谢,我试一下。  发表于 2016-7-24 13:36
  • TA的每日心情
    开心
    2023-1-18 23:24
  • 签到天数: 211 天

    [LV.7]常住居民III

    427

    主题

    4539

    回帖

    9万

    积分

    超级版主

    Rank: 12Rank: 12Rank: 12

    积分
    92011

    灌水大神章小蜜蜂章笑傲江湖章翰林院专用章管理组专用章城管大队长

    11
    发表于 2016-7-24 14:36:31 | 只看该作者
    本帖最后由 kyletruman 于 2016-7-25 02:19 编辑

    感谢lzr80大的耐心指导,编号问题已得到解决(仍使用匿名大侠提供的mdx和mdd),已附上改后的css
    解决方案:
    1. .ssnum{display: none;font-weight: 600;font-size: .9em;padding-right: .4em;}
    复制代码
    (添加了
    1. display: none;
    复制代码
    )
    诸位可试查big一词来检验

    但是,还有
    一个词条源码中少了一个结束标签的错误
    是哪一个词条

    添加代码的地方.png (10.63 KB, 下载次数: 1)

    添加代码的地方.png

    修改的无字母编号的css.zip

    2.86 KB, 下载次数: 4, 下载积分: 米 -5 粒

  • TA的每日心情
    开心
    1 小时前
  • 签到天数: 1833 天

    [LV.Master]伴坛终老

    5

    主题

    2260

    回帖

    2万

    积分

    状元

    Rank: 9Rank: 9Rank: 9

    积分
    28234

    笑傲江湖章灌水大神章

    13
    发表于 2016-7-25 23:24:36 | 只看该作者
    本帖最后由 freecomic101 于 2016-7-26 00:08 编辑

    这部错误的地方很多,除了CSS内容,原mdx内我就改了不下几百处了,现在使用起来还是不太满意。目前权当看看使用,除非有看到很严重的错误,否则我都不太想再动手修改了。
    就这个为例,好像是有少标签(下面是改好的)



    排版有错(下面是改好的)