Template:Quote/styles.css:修订间差异
来自存档计划,Project Archive by Lakejason0
添加的内容 删除的内容
Lakejason0(留言 | 贡献) |
小 |
||
(未显示2个用户的12个中间版本) | |||
第3行: | 第3行: | ||
.quote { |
.quote { |
||
display: grid; |
display: grid; |
||
grid-template-columns: 23px 1fr 23px; |
|||
gap: 0 4px; |
gap: 0 4px; |
||
align-items: center; |
align-items: center; |
||
max-width: max-content; |
max-width: max-content; |
||
} |
|||
.quote.has-image { |
|||
grid-template-columns: 64px 23px 1fr 23px; |
|||
} |
|||
.quote.has-attribution .quote-image { |
|||
grid-row-end: span 2; |
|||
} |
} |
||
.quote-mark { |
.quote-mark { |
||
font: bold 3.3em Times, serif; |
font: bold 3.3em Times, "Times New Roman", "Linux Libertine", "Liberation Serif", serif; |
||
font-feature-settings: "halt" 1; |
|||
color: #b2b7f2; |
|||
} |
} |
||
第27行: | 第38行: | ||
} |
} |
||
.quote-content { |
|||
⚫ | |||
font-size: 107.143%; |
font-size: 107.143%; |
||
} |
|||
/* 引文的语言默认为用户界面语言,使用 {{lang}} 可以指定语言。字体会随着语言变化,没有在下方列出的语言会使用简体中文字体。 */ |
|||
⚫ | |||
font-family: Garamond, Optima, "Times New Roman", "Liberation Serif", "Kaiti SC", "Adobe Kaiti Std", "AR PL UKai CN", "AR PL UKai TW", KaiTi, STKaiti, BiauKai, DFKai-SB, sans-serif; |
font-family: Garamond, Optima, "Times New Roman", "Liberation Serif", "Kaiti SC", "Adobe Kaiti Std", "AR PL UKai CN", "AR PL UKai TW", KaiTi, STKaiti, BiauKai, DFKai-SB, sans-serif; |
||
} |
} |
||
.quote-content *:lang(zh-Hant), .quote-content *:lang(zh-Hant-TW) { |
|||
font-family: Garamond, Optima, "Times New Roman", "Liberation Serif", "Kaiti TC", "Adobe Kaiti Std", "AR PL UKai TW", "AR PL UKai CN", BiauKai, DFKai-SB, KaiTi, STKaiti, sans-serif; |
font-family: Garamond, Optima, "Times New Roman", "Liberation Serif", "Kaiti TC", "Adobe Kaiti Std", "AR PL UKai TW", "AR PL UKai CN", BiauKai, DFKai-SB, KaiTi, STKaiti, sans-serif; |
||
} |
} |
||
.quote-content *:lang(ja), .quote-content *:lang(ja-JP) { |
|||
font-family: Garamond, Optima, "Times New Roman", "Liberation Serif", "Klee One", "UD Digi Kyokasho NP-R", sans-serif; |
font-family: Garamond, Optima, "Times New Roman", "Liberation Serif", "Klee One", "UD Digi Kyokasho NP-R", sans-serif; |
||
} |
|||
#mw-content-text .quote-content p { |
|||
margin: 0; |
|||
} |
} |
2023年11月14日 (二) 10:09的最新版本
/* [[Template:Quote]] */
/* [[Category:模板样式]] */
.quote {
display: grid;
grid-template-columns: 23px 1fr 23px;
gap: 0 4px;
align-items: center;
max-width: max-content;
}
.quote.has-image {
grid-template-columns: 64px 23px 1fr 23px;
}
.quote.has-attribution .quote-image {
grid-row-end: span 2;
}
.quote-mark {
font: bold 3.3em Times, "Times New Roman", "Linux Libertine", "Liberation Serif", serif;
font-feature-settings: "halt" 1;
color: #b2b7f2;
}
.quote-mark-start {
align-self: start;
}
.quote-mark-end {
line-height: 0.5;
align-self: end;
}
.quote-attribution {
grid-column: -3 / span 1;
text-align: right;
font-size: smaller;
}
.quote-content {
font-size: 107.143%;
}
/* 引文的语言默认为用户界面语言,使用 {{lang}} 可以指定语言。字体会随着语言变化,没有在下方列出的语言会使用简体中文字体。 */
.quote-content, .quote-content *:lang(zh-Hans), .quote-content *:lang(zh-Hans-CN) {
font-family: Garamond, Optima, "Times New Roman", "Liberation Serif", "Kaiti SC", "Adobe Kaiti Std", "AR PL UKai CN", "AR PL UKai TW", KaiTi, STKaiti, BiauKai, DFKai-SB, sans-serif;
}
.quote-content *:lang(zh-Hant), .quote-content *:lang(zh-Hant-TW) {
font-family: Garamond, Optima, "Times New Roman", "Liberation Serif", "Kaiti TC", "Adobe Kaiti Std", "AR PL UKai TW", "AR PL UKai CN", BiauKai, DFKai-SB, KaiTi, STKaiti, sans-serif;
}
.quote-content *:lang(ja), .quote-content *:lang(ja-JP) {
font-family: Garamond, Optima, "Times New Roman", "Liberation Serif", "Klee One", "UD Digi Kyokasho NP-R", sans-serif;
}
#mw-content-text .quote-content p {
margin: 0;
}