差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
dokuwiki:template:material [2017/10/17 15:30]
ghsrobert [bug] 再改 CSS 隱藏 h1
dokuwiki:template:material [2017/11/13 02:24] (目前版本)
ghsrobert [material]
行 4: 行 4:
   * 支援 material 圖示庫   * 支援 material 圖示庫
   * 字型大小都理想   * 字型大小都理想
 +  * 預設 logo 用 /images/logo.svg,下面是有一塊留空的,不知道自訂 logo 是否也需如此設計?是為了放網站副標嗎?<todo>待問作者</todo> FIXME
 +  * /^20171028^/ 從開始用這個 template 並反映兩個 bug 至今,原作者都沒有回應耶~是太忙?要丟給社群了?沒人關心?那我可能要跳船了嗎 XD
 +  * /^20171113^/ 作者有修好一個 bug 了(真正屬於 bug 的那個),所以或許還是可以繼續用了
  
 ===== bug ===== ===== bug =====
行 9: 行 12:
     * /^20171017^/ 我目前先改 userall.css(注意這是 farmer 的!animal 似乎沒有自己的一套 user CSS,所以為了識別是專用於 material tpl,我加了 ''html.mdl-js''):<code css>     * /^20171017^/ 我目前先改 userall.css(注意這是 farmer 的!animal 似乎沒有自己的一套 user CSS,所以為了識別是專用於 material tpl,我加了 ''html.mdl-js''):<code css>
 html.mdl-js div.content-card__text h1:first-of-type {display: none;} html.mdl-js div.content-card__text h1:first-of-type {display: none;}
-</code>\\ 後來又顧及一些系統工具並無 ''.content-card%%__%%title'',還有找不到頁面時也要保留 h1 ∴進一步改成:<code css>+</code>後來又顧及一些系統工具並無 ''.content-card%%__%%title'',還有找不到頁面時也要保留 h1 ∴進一步改成:<code css>
 div#dokuwiki__top.tpl_material:not(.notFound) div.content-card__title + div.content-card__text h1:first-of-type {display: none;} div#dokuwiki__top.tpl_material:not(.notFound) div.content-card__title + div.content-card__text h1:first-of-type {display: none;}
 </code>((中間曾以為下面這樣可以,但其實還是不行:<code css> </code>((中間曾以為下面這樣可以,但其實還是不行:<code css>
-html.mdl-js :not(div.notFound) div.content-card__title + div.content-card__text h1:first-of-type {display: none;}</code>))(呼呼,學習 '':not'' selector 試好久 :))+html.mdl-js :not(div.notFound) div.content-card__title + div.content-card__text h1:first-of-type {display: none;}</code>))(呼呼,學習 '':not'' selector 試好久 :))\\ → 分享:[[https://github.com/LeonStaufer/material-dokuwiki/issues/3|Hiding redundant h1 in div.content-card__text · Issue #3 · LeonStaufer/material-dokuwiki]]
   - 搜尋功能目前好像不正常 FIXME   - 搜尋功能目前好像不正常 FIXME
     * 在 animal 裡或在主站使用,AJAX 即時列出名稱相符的頁面是可以運作,但按 ``⏎`` 以後都一樣是 404 → <div>     * 在 animal 裡或在主站使用,AJAX 即時列出名稱相符的頁面是可以運作,但按 ``⏎`` 以後都一樣是 404 → <div>
行 20: 行 23:
 </div> </div>
     * 反映 → [[https://github.com/LeonStaufer/material-dokuwiki/issues/2|Search box redirects to hard coded /dokuwiki/doku.php · Issue #2 · LeonStaufer/material-dokuwiki]]     * 反映 → [[https://github.com/LeonStaufer/material-dokuwiki/issues/2|Search box redirects to hard coded /dokuwiki/doku.php · Issue #2 · LeonStaufer/material-dokuwiki]]
 +    * ↑/^20171113^/ 前兩天 GitHub 通知:Leon 修好此 bug 了,今天更新後試用 ✔
  
- +{{tag>待研究 待問 已反映 bug}}
-{{tag>待研究 bug}}+
  • 上一次變更: 2017/10/17 15:30
  • ghsrobert