Docs

Eyewithouts Docs

Update the style of blockquote

Feb 8, 2024

The old blockquote style have an ugly right margin, and now be fixed with newly updated css setting.

font.css

/* 引用區塊字體變換 */ .container > .main > .entry > blockquote > p { /* 引用區塊內段落 */ font-weight: 400; font-size: 0.95em; color: inherit; }

style.css

blockquote { /* 引用區塊 */ border-color: {{accent_color}} !important; border-left: 0.3em solid; color: inherit; margin: 0; padding-left: 1.4em; padding-right: 1.0em; padding-top: 0.2em; padding-bottom: 0.2em; opacity: 1.0; background-color: {{accent_color}}11 !important; box-shadow: 2px 2px 2px 1px rgba(220, 220, 220, .2); }

Not sure what is the below style setting for, hided from now and keep monitoring is any missing in other pages.

style.css

/* 查詢下面好像不具有意義,思考是否要刪除 */ /* .margin blockquote {margin: 1em 0 !important;padding: 3px 6px;line-height:18px;} .margin blockquote p {margin: 0} */