181 lines
3.6 KiB
CSS
181 lines
3.6 KiB
CSS
/**
|
|
* MD 橙色主题
|
|
* 暖色调现代风,橙色主色,宽松行距
|
|
*/
|
|
|
|
/* ==================== 容器样式覆盖 ==================== */
|
|
section,
|
|
container {
|
|
font-family: PingFang SC, system-ui, -apple-system, BlinkMacSystemFont, Helvetica Neue, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;
|
|
font-size: 15px;
|
|
line-height: 2;
|
|
background-color: rgba(250, 249, 245, 1);
|
|
border: 1px solid rgba(255, 255, 255, 0.01);
|
|
border-radius: 25px;
|
|
padding: 12px 12px;
|
|
}
|
|
|
|
#output {
|
|
font-family: PingFang SC, system-ui, -apple-system, BlinkMacSystemFont, Helvetica Neue, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;
|
|
font-size: 15px;
|
|
line-height: 2;
|
|
}
|
|
|
|
/* ==================== 一级标题 ==================== */
|
|
h1 {
|
|
display: table;
|
|
padding: 0.3em 1em;
|
|
margin: 20px auto;
|
|
color: #3B3B38;
|
|
background: #D97757;
|
|
border-radius: 15px;
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
}
|
|
|
|
/* ==================== 二级标题 ==================== */
|
|
h2 {
|
|
display: block;
|
|
padding: 0.2em 0;
|
|
padding-bottom: 0;
|
|
margin: 0 auto 20px;
|
|
width: 100%;
|
|
color: #D97757;
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
border-bottom: 2px solid #E4B1A0;
|
|
}
|
|
|
|
/* ==================== 三级标题 ==================== */
|
|
h3 {
|
|
margin: 0 8px 10px;
|
|
color: #3B3B38;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* ==================== 四级标题 ==================== */
|
|
h4 {
|
|
margin: 0 8px 10px;
|
|
color: #D97757;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* ==================== 五级标题 ==================== */
|
|
h5 {
|
|
display: inline-block;
|
|
margin: 0 8px 10px;
|
|
padding: 4px 10px;
|
|
color: #3B3B38;
|
|
background: rgba(255, 255, 255, 0.7);
|
|
border: 1px solid rgb(189, 224, 254);
|
|
border-radius: 20px;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* ==================== 六级标题 ==================== */
|
|
h6 {
|
|
margin: 0 8px 10px;
|
|
color: #D97757;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* ==================== 段落 ==================== */
|
|
p {
|
|
margin: 20px 0;
|
|
color: #3B3B38;
|
|
line-height: 2;
|
|
letter-spacing: 0px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
/* ==================== 引用块 ==================== */
|
|
blockquote {
|
|
font-style: normal;
|
|
padding: 15px 12px;
|
|
border-left: 7px solid rgba(228, 177, 160, 1);
|
|
border-radius: 10px;
|
|
color: #3B3B38;
|
|
background-color: rgba(255, 255, 255, 0.6);
|
|
margin: 12px 0;
|
|
}
|
|
|
|
blockquote > p {
|
|
color: #3B3B38;
|
|
font-size: 14px;
|
|
margin: 0;
|
|
}
|
|
|
|
/* ==================== 代码块 ==================== */
|
|
pre.code__pre,
|
|
.hljs.code__pre {
|
|
border-radius: 10px;
|
|
}
|
|
|
|
/* ==================== 图片 ==================== */
|
|
img {
|
|
border-radius: 10px;
|
|
margin: 5px auto;
|
|
}
|
|
|
|
/* ==================== 列表 ==================== */
|
|
ol {
|
|
padding-left: 1em;
|
|
margin: 15px 0;
|
|
line-height: 2;
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
padding-left: 0;
|
|
margin: 15px 0;
|
|
line-height: 2;
|
|
}
|
|
|
|
li {
|
|
margin: 0.2em 0;
|
|
color: #3B3B38;
|
|
font-size: 15px;
|
|
}
|
|
|
|
/* ==================== 分隔线 ==================== */
|
|
hr {
|
|
border-style: solid;
|
|
border-width: 1px 0 0;
|
|
border-color: #D97757;
|
|
margin: 0;
|
|
}
|
|
|
|
/* ==================== 强调 ==================== */
|
|
strong {
|
|
color: #3B3B38;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* ==================== 标记高亮 ==================== */
|
|
.markup-highlight {
|
|
background-color: #3B3B3B;
|
|
padding: 10px;
|
|
color: #FAF9F5;
|
|
}
|
|
|
|
.markup-underline {
|
|
text-decoration: underline;
|
|
text-decoration-color: #E4B1A0;
|
|
}
|
|
|
|
/* ==================== 链接 ==================== */
|
|
a {
|
|
color: #D97757;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* ==================== 表格 ==================== */
|
|
th {
|
|
background: rgba(217, 119, 87, 0.1);
|
|
}
|