markdown table theme
This commit is contained in:
@ -35,7 +35,7 @@
|
|||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="desc" id="content">
|
<div class="desc {{if $.post.IsMarkdown }}markdown-content{{end}}" id="content">
|
||||||
{{if $.post.IsMarkdown }}
|
{{if $.post.IsMarkdown }}
|
||||||
<div id="markdownContent" style="display: none">
|
<div id="markdownContent" style="display: none">
|
||||||
<!-- 用textarea装html, 防止得到的值失真 -->
|
<!-- 用textarea装html, 防止得到的值失真 -->
|
||||||
|
@ -503,3 +503,28 @@ a:hover {
|
|||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
table {
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
table th, table td {
|
||||||
|
padding: 6px 13px;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
table th {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr {
|
||||||
|
background-color: #fff;
|
||||||
|
border-top: 1px solid #ccc;
|
||||||
|
}
|
||||||
|
table tr:nth-child(2n) {
|
||||||
|
background-color: #f8f8f8;
|
||||||
|
}
|
||||||
|
.mce-item-table, .mce-item-table td, .mce-item-table th, .mce-item-table caption {
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-collapse: collapse;
|
||||||
|
padding: 6px 13px;
|
||||||
|
}
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="desc" id="content">
|
<div class="desc {{if $.post.IsMarkdown }}markdown-content{{end}}" id="content">
|
||||||
{{if $.post.IsMarkdown }}
|
{{if $.post.IsMarkdown }}
|
||||||
<div id="markdownContent" style="display: none">
|
<div id="markdownContent" style="display: none">
|
||||||
<!-- 用textarea装html, 防止得到的值失真 -->
|
<!-- 用textarea装html, 防止得到的值失真 -->
|
||||||
|
@ -517,3 +517,27 @@ a:hover {
|
|||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
table th, table td {
|
||||||
|
padding: 6px 13px;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
table th {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr {
|
||||||
|
background-color: #fff;
|
||||||
|
border-top: 1px solid #ccc;
|
||||||
|
}
|
||||||
|
table tr:nth-child(2n) {
|
||||||
|
background-color: #f8f8f8;
|
||||||
|
}
|
||||||
|
.mce-item-table, .mce-item-table td, .mce-item-table th, .mce-item-table caption {
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-collapse: collapse;
|
||||||
|
padding: 6px 13px;
|
||||||
|
}
|
@ -35,7 +35,7 @@
|
|||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="desc" id="content">
|
<div class="desc {{if $.post.IsMarkdown }}markdown-content{{end}}" id="content">
|
||||||
{{if $.post.IsMarkdown }}
|
{{if $.post.IsMarkdown }}
|
||||||
<div id="markdownContent" style="display: none">
|
<div id="markdownContent" style="display: none">
|
||||||
<!-- 用textarea装html, 防止得到的值失真 -->
|
<!-- 用textarea装html, 防止得到的值失真 -->
|
||||||
|
@ -554,3 +554,28 @@ a:hover {
|
|||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
table {
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
table th, table td {
|
||||||
|
padding: 6px 13px;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
table th {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr {
|
||||||
|
background-color: #fff;
|
||||||
|
border-top: 1px solid #ccc;
|
||||||
|
}
|
||||||
|
table tr:nth-child(2n) {
|
||||||
|
background-color: #f8f8f8;
|
||||||
|
}
|
||||||
|
.mce-item-table, .mce-item-table td, .mce-item-table th, .mce-item-table caption {
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-collapse: collapse;
|
||||||
|
padding: 6px 13px;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user