dfL
1
n_ogizaka46原帖:https://forum.freemdict.com/t/topic/2684
数据结构还挺不错的,原作者也简单排了个版。我根据自己的喜好,参照MW online的排版(看不到MWU的排版…),做了一个修改。
对mdx进行了很小的修改:添加外部js;给词条的总元素div.container加了个mwu20entry的class用来限制js的作用范围。
点击词头会跳转下一个词头;点击MW的logo会出词头索引。原作者做的索引我给隐藏了,这是为了更好兼容GoldenDict这种直接拼接多个词条html的软件。
mdx+mdd见下(mdd中的css未修复):
Merriam-Webster Unabridged 2020.part1.rar (20 MB)
Merriam-Webster Unabridged 2020.part4.rar (20 MB)
Merriam-Webster Unabridged 2020.part5.rar (3.8 MB)
Merriam-Webster Unabridged 2020.part3.rar (20 MB)
Merriam-Webster Unabridged 2020.part2.rar (20 MB)
另外把css也发一下,便于修改(已修复修改):
mwu20.css (20.5 KB)
注意:因为我没有使用离线语音,所以把发音喇叭隐藏了。
16 Likes
Thanks for sharing a beautiful css. Can you please share a css having offline voices or icon?
dfL
3
Add this to the bottom of the css file:
.audio {display: inline; vertical-align: middle;} .play_pron {display: inline-block; height: 1em;} .play_pron>img {height: 100%;}
2 Likes
dfL
4
Meanwhile, offline audio mdd needs downloading from the original topic.
1 Like
These links don’t work. Can you fix them?
dfL
7
add below code to css to hide this kind of broken table link:
div[data-id="table"]{display: none;}
Unfortunately, such contents probably have not been grabbed from the website by the original mdx author. Maybe you can present it there.
1 Like
谢谢!
手机上音标显示有点问题:(上:原版;下:改版)
dfL
9
css字体写错了,我修改后忘了上传…
第10行,把SansPhon改成SerifPhon
1 Like
dfL
12
请右键看一下enter noun的代码以及下面词头的代码,截图或者复制发上来,我看看咋回事。
多语种的也可一块发上来我看看原因