Update markdown styles, follow github styles and font family
This commit is contained in:
parent
be81ee22ec
commit
152585f96b
4 changed files with 248 additions and 100 deletions
|
@ -264,7 +264,7 @@
|
||||||
|
|
||||||
/* support japanese font */
|
/* support japanese font */
|
||||||
.markdown-body[lang^="ja"] {
|
.markdown-body[lang^="ja"] {
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, Meiryo, "MS Gothic", "MS ゴシック", sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Osaka, Meiryo, "メイリオ", "MS Gothic", "MS ゴシック", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
}
|
}
|
||||||
.ui-toc-dropdown[lang^="ja"] {
|
.ui-toc-dropdown[lang^="ja"] {
|
||||||
font-family: "Source Sans Pro", Helvetica, Arial, "Meiryo UI", "MS PGothic", "MS Pゴシック", sans-serif;
|
font-family: "Source Sans Pro", Helvetica, Arial, "Meiryo UI", "MS PGothic", "MS Pゴシック", sans-serif;
|
||||||
|
@ -272,7 +272,7 @@
|
||||||
|
|
||||||
/* support zh-tw font */
|
/* support zh-tw font */
|
||||||
.markdown-body[lang="zh-tw"] {
|
.markdown-body[lang="zh-tw"] {
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft JhengHei", "微軟正黑", sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "PingFang TC", "Microsoft JhengHei", "微軟正黑", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
}
|
}
|
||||||
.ui-toc-dropdown[lang="zh-tw"] {
|
.ui-toc-dropdown[lang="zh-tw"] {
|
||||||
font-family: "Source Sans Pro", Helvetica, Arial, "Microsoft JhengHei UI", "微軟正黑UI", sans-serif;
|
font-family: "Source Sans Pro", Helvetica, Arial, "Microsoft JhengHei UI", "微軟正黑UI", sans-serif;
|
||||||
|
@ -280,7 +280,7 @@
|
||||||
|
|
||||||
/* support zh-cn font */
|
/* support zh-cn font */
|
||||||
.markdown-body[lang="zh-cn"] {
|
.markdown-body[lang="zh-cn"] {
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", "微软雅黑", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
}
|
}
|
||||||
.ui-toc-dropdown[lang="zh-cn"] {
|
.ui-toc-dropdown[lang="zh-cn"] {
|
||||||
font-family: "Source Sans Pro", Helvetica, Arial, "Microsoft YaHei UI", "微软雅黑UI", sans-serif;
|
font-family: "Source Sans Pro", Helvetica, Arial, "Microsoft YaHei UI", "微软雅黑UI", sans-serif;
|
||||||
|
|
|
@ -1,118 +1,216 @@
|
||||||
.markdown-body {
|
.markdown-body {
|
||||||
overflow: hidden;
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 1.6;
|
line-height: 1.5;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.markdown-body::before {
|
||||||
|
display: table;
|
||||||
|
content: ""
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown-body::after {
|
||||||
|
display: table;
|
||||||
|
clear: both;
|
||||||
|
content: "";
|
||||||
|
}
|
||||||
|
|
||||||
.markdown-body>*:first-child {
|
.markdown-body>*:first-child {
|
||||||
margin-top: 0 !important;
|
margin-top: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body>*:last-child {
|
.markdown-body>*:last-child {
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.markdown-body a:not([href]) {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
.markdown-body .absent {
|
.markdown-body .absent {
|
||||||
color: #c00;
|
color: #c00;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body .anchor {
|
.markdown-body .anchor {
|
||||||
display: inline-block;
|
float: left;
|
||||||
padding-right: 2px;
|
padding-right: 4px;
|
||||||
margin-left: -18.36px;
|
margin-left: -20px;
|
||||||
|
line-height: 1
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body .anchor:focus {
|
.markdown-body .anchor:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 {
|
|
||||||
margin-top: 1em;
|
.markdown-body p,
|
||||||
|
.markdown-body blockquote,
|
||||||
|
.markdown-body ul,
|
||||||
|
.markdown-body ol,
|
||||||
|
.markdown-body dl,
|
||||||
|
.markdown-body table,
|
||||||
|
.markdown-body pre {
|
||||||
|
margin-top: 0;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
font-weight: bold;
|
|
||||||
line-height: 1.4;
|
|
||||||
}
|
}
|
||||||
.markdown-body h1 .octicon-link, .markdown-body h2 .octicon-link, .markdown-body h3 .octicon-link, .markdown-body h4 .octicon-link, .markdown-body h5 .octicon-link, .markdown-body h6 .octicon-link {
|
|
||||||
|
.markdown-body hr {
|
||||||
|
height: 0.25em;
|
||||||
|
padding: 0;
|
||||||
|
margin: 24px 0;
|
||||||
|
background-color: #e7e7e7;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown-body blockquote {
|
||||||
|
padding: 0 1em;
|
||||||
|
color: #777;
|
||||||
|
border-left: 0.25em solid #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown-body blockquote>:first-child {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown-body blockquote>:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown-body kbd {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 3px 5px;
|
||||||
|
font-size: 11px;
|
||||||
|
line-height: 10px;
|
||||||
|
color: #555;
|
||||||
|
vertical-align: middle;
|
||||||
|
background-color: #fcfcfc;
|
||||||
|
border: solid 1px #ccc;
|
||||||
|
border-bottom-color: #bbb;
|
||||||
|
border-radius: 3px;
|
||||||
|
box-shadow: inset 0 -1px 0 #bbb;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown-body .loweralpha {
|
||||||
|
list-style-type: lower-alpha;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown-body h1,
|
||||||
|
.markdown-body h2,
|
||||||
|
.markdown-body h3,
|
||||||
|
.markdown-body h4,
|
||||||
|
.markdown-body h5,
|
||||||
|
.markdown-body h6 {
|
||||||
|
margin-top: 24px;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
font-weight: 600;
|
||||||
|
line-height: 1.25;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown-body h1 .octicon-link,
|
||||||
|
.markdown-body h2 .octicon-link,
|
||||||
|
.markdown-body h3 .octicon-link,
|
||||||
|
.markdown-body h4 .octicon-link,
|
||||||
|
.markdown-body h5 .octicon-link,
|
||||||
|
.markdown-body h6 .octicon-link {
|
||||||
color: #000;
|
color: #000;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
.markdown-body h1:hover .anchor, .markdown-body h2:hover .anchor, .markdown-body h3:hover .anchor, .markdown-body h4:hover .anchor, .markdown-body h5:hover .anchor, .markdown-body h6:hover .anchor {
|
|
||||||
|
.markdown-body h1:hover .anchor,
|
||||||
|
.markdown-body h2:hover .anchor,
|
||||||
|
.markdown-body h3:hover .anchor,
|
||||||
|
.markdown-body h4:hover .anchor,
|
||||||
|
.markdown-body h5:hover .anchor,
|
||||||
|
.markdown-body h6:hover .anchor {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.markdown-body h1:hover .anchor .octicon-link, .markdown-body h2:hover .anchor .octicon-link, .markdown-body h3:hover .anchor .octicon-link, .markdown-body h4:hover .anchor .octicon-link, .markdown-body h5:hover .anchor .octicon-link, .markdown-body h6:hover .anchor .octicon-link {
|
|
||||||
|
.markdown-body h1:hover .anchor .octicon-link,
|
||||||
|
.markdown-body h2:hover .anchor .octicon-link,
|
||||||
|
.markdown-body h3:hover .anchor .octicon-link,
|
||||||
|
.markdown-body h4:hover .anchor .octicon-link,
|
||||||
|
.markdown-body h5:hover .anchor .octicon-link,
|
||||||
|
.markdown-body h6:hover .anchor .octicon-link {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
.markdown-body h1 tt, .markdown-body h1 code, .markdown-body h2 tt, .markdown-body h2 code, .markdown-body h3 tt, .markdown-body h3 code, .markdown-body h4 tt, .markdown-body h4 code, .markdown-body h5 tt, .markdown-body h5 code, .markdown-body h6 tt, .markdown-body h6 code {
|
|
||||||
|
.markdown-body h1 tt,
|
||||||
|
.markdown-body h1 code,
|
||||||
|
.markdown-body h2 tt,
|
||||||
|
.markdown-body h2 code,
|
||||||
|
.markdown-body h3 tt,
|
||||||
|
.markdown-body h3 code,
|
||||||
|
.markdown-body h4 tt,
|
||||||
|
.markdown-body h4 code,
|
||||||
|
.markdown-body h5 tt,
|
||||||
|
.markdown-body h5 code,
|
||||||
|
.markdown-body h6 tt,
|
||||||
|
.markdown-body h6 code {
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body h1 {
|
.markdown-body h1 {
|
||||||
padding-bottom: 0.3em;
|
padding-bottom: 0.3em;
|
||||||
font-size: 2.25em;
|
font-size: 2em;
|
||||||
line-height: 1.2;
|
|
||||||
border-bottom: 1px solid #eee;
|
border-bottom: 1px solid #eee;
|
||||||
}
|
}
|
||||||
.markdown-body h1 .anchor {
|
|
||||||
line-height: 1;
|
|
||||||
}
|
|
||||||
.markdown-body h2 {
|
.markdown-body h2 {
|
||||||
padding-bottom: 0.3em;
|
padding-bottom: 0.3em;
|
||||||
font-size: 1.75em;
|
font-size: 1.5em;
|
||||||
line-height: 1.225;
|
|
||||||
border-bottom: 1px solid #eee;
|
border-bottom: 1px solid #eee;
|
||||||
}
|
}
|
||||||
.markdown-body h2 .anchor {
|
|
||||||
line-height: 1;
|
|
||||||
}
|
|
||||||
.markdown-body h3 {
|
.markdown-body h3 {
|
||||||
font-size: 1.5em;
|
|
||||||
line-height: 1.43;
|
|
||||||
}
|
|
||||||
.markdown-body h3 .anchor {
|
|
||||||
line-height: 1.2;
|
|
||||||
}
|
|
||||||
.markdown-body h4 {
|
|
||||||
font-size: 1.25em;
|
font-size: 1.25em;
|
||||||
}
|
}
|
||||||
.markdown-body h4 .anchor {
|
|
||||||
line-height: 1.2;
|
.markdown-body h4 {
|
||||||
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body h5 {
|
.markdown-body h5 {
|
||||||
font-size: 1em;
|
font-size: 0.875em;
|
||||||
}
|
|
||||||
.markdown-body h5 .anchor {
|
|
||||||
line-height: 1.1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body h6 {
|
.markdown-body h6 {
|
||||||
font-size: 1em;
|
font-size: 0.85em;
|
||||||
color: #777;
|
color: #777
|
||||||
}
|
}
|
||||||
.markdown-body h6 .anchor {
|
|
||||||
line-height: 1.1;
|
.markdown-body ul,
|
||||||
|
.markdown-body ol {
|
||||||
|
padding-left: 2em
|
||||||
}
|
}
|
||||||
.markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre {
|
|
||||||
margin-top: 0;
|
.markdown-body ul.no-list,
|
||||||
margin-bottom: 16px;
|
.markdown-body ol.no-list {
|
||||||
}
|
|
||||||
.markdown-body hr {
|
|
||||||
height: 4px;
|
|
||||||
padding: 0;
|
|
||||||
margin: 16px 0;
|
|
||||||
background-color: #e7e7e7;
|
|
||||||
border: 0 none;
|
|
||||||
}
|
|
||||||
.markdown-body ul, .markdown-body ol {
|
|
||||||
padding-left: 2em;
|
|
||||||
}
|
|
||||||
.markdown-body ul.no-list, .markdown-body ol.no-list {
|
|
||||||
padding: 0;
|
padding: 0;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
.markdown-body ul ul, .markdown-body ul ol, .markdown-body ol ol, .markdown-body ol ul {
|
|
||||||
|
.markdown-body ul ul,
|
||||||
|
.markdown-body ul ol,
|
||||||
|
.markdown-body ol ol,
|
||||||
|
.markdown-body ol ul {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body li>p {
|
.markdown-body li>p {
|
||||||
margin-top: 16px;
|
margin-top: 16px
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.markdown-body li+li {
|
||||||
|
margin-top: 0.25em;
|
||||||
|
}
|
||||||
|
|
||||||
.markdown-body dl {
|
.markdown-body dl {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body dl dt {
|
.markdown-body dl dt {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
|
@ -120,21 +218,12 @@
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body dl dd {
|
.markdown-body dl dd {
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
.markdown-body blockquote {
|
|
||||||
padding: 0 15px;
|
|
||||||
color: #777;
|
|
||||||
border-left: 4px solid #ddd;
|
|
||||||
}
|
|
||||||
.markdown-body blockquote>:first-child {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
.markdown-body blockquote>:last-child {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
.markdown-body table {
|
.markdown-body table {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -142,35 +231,51 @@
|
||||||
word-break: normal;
|
word-break: normal;
|
||||||
word-break: keep-all;
|
word-break: keep-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body table th {
|
.markdown-body table th {
|
||||||
font-weight: bold;
|
font-weight: bold
|
||||||
}
|
}
|
||||||
.markdown-body table th, .markdown-body table td {
|
|
||||||
|
.markdown-body table th,
|
||||||
|
.markdown-body table td {
|
||||||
padding: 6px 13px;
|
padding: 6px 13px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body table tr {
|
.markdown-body table tr {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-top: 1px solid #ccc;
|
border-top: 1px solid #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body table tr:nth-child(2n) {
|
.markdown-body table tr:nth-child(2n) {
|
||||||
background-color: #f8f8f8;
|
background-color: #f8f8f8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body img {
|
.markdown-body img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
-moz-box-sizing: border-box;
|
box-sizing: content-box;
|
||||||
box-sizing: border-box;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.markdown-body img[align=right] {
|
||||||
|
padding-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown-body img[align=left] {
|
||||||
|
padding-right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
.markdown-body .emoji {
|
.markdown-body .emoji {
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
max-width: none;
|
max-width: none;
|
||||||
margin-bottom: 0;
|
vertical-align: text-top;
|
||||||
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body span.frame {
|
.markdown-body span.frame {
|
||||||
display: block;
|
display: block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body span.frame>span {
|
.markdown-body span.frame>span {
|
||||||
display: block;
|
display: block;
|
||||||
float: left;
|
float: left;
|
||||||
|
@ -180,68 +285,82 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body span.frame span img {
|
.markdown-body span.frame span img {
|
||||||
display: block;
|
display: block;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body span.frame span span {
|
.markdown-body span.frame span span {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 5px 0 0;
|
padding: 5px 0 0;
|
||||||
clear: both;
|
clear: both;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body span.align-center {
|
.markdown-body span.align-center {
|
||||||
display: block;
|
display: block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body span.align-center>span {
|
.markdown-body span.align-center>span {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 13px auto 0;
|
margin: 13px auto 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body span.align-center span img {
|
.markdown-body span.align-center span img {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body span.align-right {
|
.markdown-body span.align-right {
|
||||||
display: block;
|
display: block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body span.align-right>span {
|
.markdown-body span.align-right>span {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 13px 0 0;
|
margin: 13px 0 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body span.align-right span img {
|
.markdown-body span.align-right span img {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body span.float-left {
|
.markdown-body span.float-left {
|
||||||
display: block;
|
display: block;
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 13px;
|
margin-right: 13px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body span.float-left span {
|
.markdown-body span.float-left span {
|
||||||
margin: 13px 0 0;
|
margin: 13px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body span.float-right {
|
.markdown-body span.float-right {
|
||||||
display: block;
|
display: block;
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: 13px;
|
margin-left: 13px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body span.float-right>span {
|
.markdown-body span.float-right>span {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 13px auto 0;
|
margin: 13px auto 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
.markdown-body code, .markdown-body tt {
|
|
||||||
|
.markdown-body code,
|
||||||
|
.markdown-body tt {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
padding-top: 0.2em;
|
padding-top: 0.2em;
|
||||||
padding-bottom: 0.2em;
|
padding-bottom: 0.2em;
|
||||||
|
@ -250,15 +369,28 @@
|
||||||
background-color: rgba(0, 0, 0, 0.04);
|
background-color: rgba(0, 0, 0, 0.04);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
.markdown-body code:before, .markdown-body code:after, .markdown-body tt:before, .markdown-body tt:after {
|
|
||||||
|
.markdown-body code::before,
|
||||||
|
.markdown-body code::after,
|
||||||
|
.markdown-body tt::before,
|
||||||
|
.markdown-body tt::after {
|
||||||
letter-spacing: -0.2em;
|
letter-spacing: -0.2em;
|
||||||
content: "\00a0"}
|
content: "\00a0";
|
||||||
.markdown-body code br, .markdown-body tt br {
|
}
|
||||||
|
|
||||||
|
.markdown-body code br,
|
||||||
|
.markdown-body tt br {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body del code {
|
.markdown-body del code {
|
||||||
text-decoration: inherit;
|
text-decoration: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.markdown-body pre {
|
||||||
|
word-wrap: normal;
|
||||||
|
}
|
||||||
|
|
||||||
.markdown-body pre>code {
|
.markdown-body pre>code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -268,10 +400,18 @@
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body .highlight {
|
.markdown-body .highlight {
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
.markdown-body .highlight pre, .markdown-body pre {
|
|
||||||
|
.markdown-body .highlight pre {
|
||||||
|
margin-bottom: 0;
|
||||||
|
word-break: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown-body .highlight pre,
|
||||||
|
.markdown-body pre {
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
|
@ -279,29 +419,29 @@
|
||||||
background-color: #f7f7f7;
|
background-color: #f7f7f7;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
.markdown-body .highlight pre {
|
|
||||||
margin-bottom: 0;
|
.markdown-body pre code,
|
||||||
word-break: normal;
|
.markdown-body pre tt {
|
||||||
}
|
|
||||||
.markdown-body pre {
|
|
||||||
word-wrap: normal;
|
|
||||||
}
|
|
||||||
.markdown-body pre code, .markdown-body pre tt {
|
|
||||||
display: inline;
|
display: inline;
|
||||||
max-width: initial;
|
max-width: auto;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
overflow: initial;
|
overflow: visible;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
.markdown-body pre code:before, .markdown-body pre code:after, .markdown-body pre tt:before, .markdown-body pre tt:after {
|
|
||||||
|
.markdown-body pre code::before,
|
||||||
|
.markdown-body pre code::after,
|
||||||
|
.markdown-body pre tt::before,
|
||||||
|
.markdown-body pre tt::after {
|
||||||
content: normal;
|
content: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body .csv-data td, .markdown-body .csv-data th {
|
.markdown-body .csv-data td,
|
||||||
|
.markdown-body .csv-data th {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
@ -309,15 +449,18 @@
|
||||||
text-align: left;
|
text-align: left;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body .csv-data .blob-line-num {
|
.markdown-body .csv-data .blob-line-num {
|
||||||
padding: 10px 8px 9px;
|
padding: 10px 8px 9px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body .csv-data tr {
|
.markdown-body .csv-data tr {
|
||||||
border-top: 0;
|
border-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body .csv-data th {
|
.markdown-body .csv-data th {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
background: #f8f8f8;
|
background: #f8f8f8;
|
||||||
|
@ -335,7 +478,7 @@
|
||||||
border: solid 1px #ccc;
|
border: solid 1px #ccc;
|
||||||
border-bottom-color: #bbb;
|
border-bottom-color: #bbb;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
box-shadow: inset 0 -1px 0 #bbb
|
box-shadow: inset 0 -1px 0 #bbb;
|
||||||
}
|
}
|
||||||
|
|
||||||
.news .alert .markdown-body blockquote {
|
.news .alert .markdown-body blockquote {
|
||||||
|
@ -343,22 +486,27 @@
|
||||||
border: 0 none;
|
border: 0 none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.activity-tab .news .markdown-body blockquote, .activity-tab .news .alert .commits {
|
.activity-tab .news .markdown-body blockquote,
|
||||||
|
.activity-tab .news .alert .commits {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-item {
|
.task-list-item {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-item label {
|
.task-list-item label {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-item.enabled label {
|
.task-list-item.enabled label {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-item+.task-list-item {
|
.task-list-item+.task-list-item {
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-item-checkbox {
|
.task-list-item-checkbox {
|
||||||
float: left;
|
float: left;
|
||||||
margin: 0.31em 0 0.2em -1.3em !important;
|
margin: 0.31em 0 0.2em -1.3em !important;
|
||||||
|
|
2
public/css/html.min.css
vendored
2
public/css/html.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
||||||
/* for markdown-body */
|
/* for markdown-body */
|
||||||
|
|
||||||
.markdown-body {
|
.markdown-body {
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
padding-top: 40px;
|
padding-top: 40px;
|
||||||
padding-bottom: 40px;
|
padding-bottom: 40px;
|
||||||
max-width: 758px;
|
max-width: 758px;
|
||||||
|
|
Loading…
Reference in a new issue