1
0
mirror of https://github.com/suk-ws/ph-Bookshelf.git synced 2024-12-05 09:26:52 +08:00
ph-Bookshelf/assets/bread-card-markdown-footnote.css
Eyre_S e8fe17b673
使用 composer, markdown 解析器切换为 commonmark。添加脚注&任务表的 bread-card 样式。
- 使用 composer
  - 声明 php8, ext-xml, ext-mbstring
  - 添加了 league/commonmark>=2.3.8
- 删除了 /lib 文件夹 (以及 parsedown 依赖)
- 抽象化 md 解析代码同时 md 解析器换为 commonmark
  - 使用 commonmark 规范
    + gfm - disallowed html
    + attributes, footnote, description list
- 修改 readme
2023-01-24 19:08:15 +08:00

31 lines
1.2 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/******************************************************************************
##############################################################################
##### #####
##### Markdown StyleSheet of ui design BreadCard #####
##### extended support #####
##### for footnote[^1] #####
##### #####
##### @author: Sukazyo Workshop #####
##### @version 1.0 #####
##### #####
##############################################################################
******************************************************************************/
.footnote-ref {
display: inline-block;
border-style: solid;
border-width: 0.15em;
padding: 0 0.2em;
transform: scale(0.6) translate(-0.4em, -0.4em);
margin: 0 -0.5em;
font-weight: 900;
}
.footnote::marker {
font-weight: bolder;
}
.footnote .footnote-backref {
font-size: smaller;
}