模板:首页/styles.css:修订间差异
来自高中笔记
更多操作
无编辑摘要 |
无编辑摘要 |
||
| (未显示同一用户的12个中间版本) | |||
| 第45行: | 第45行: | ||
padding: 0.8em 1em; | padding: 0.8em 1em; | ||
background: var(--background-color-base); | background: var(--background-color-base); | ||
margin: | margin: 0; | ||
} | } | ||
| 第87行: | 第87行: | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); | grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); | ||
gap: 1em; | |||
grid-auto-flow: dense; | grid-auto-flow: dense; | ||
} | |||
@media (max-width: 480px) { | |||
.homepage-grid { | |||
grid-template-columns: 1fr !important; | |||
} | |||
} | |||
.homepage-dyk { | |||
background: var(--background-color-notice-subtle); | |||
border-left: 3px solid var(--border-color-base); /* 你要的竖线 */ | |||
border-radius: 8px; /* 和 info-card 一样的圆角 */ | |||
padding: 0.8em 1em; /* 和 info-card 一样的内边距 */ | |||
} | |||
.homepage-formula { | |||
display: block; | |||
width: 100%; | |||
white-space: normal; | |||
min-width: 0; | |||
} | } | ||