From 4b0ca55eb79e963523eb6c8197825e9e8ae904e2 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Mon, 4 May 2015 15:53:29 +0800 Subject: First commit, version 0.2.7 --- public/css/markdown.css | 89 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 public/css/markdown.css (limited to 'public/css/markdown.css') diff --git a/public/css/markdown.css b/public/css/markdown.css new file mode 100644 index 00000000..95d72a6d --- /dev/null +++ b/public/css/markdown.css @@ -0,0 +1,89 @@ +/* for markdown-body */ + +.markdown-body { + padding-top: 40px; + padding-bottom: 40px; + max-width: 758px; +} +/*fixed style for bootstrap comflict*/ + +.markdown-body pre { + border: inherit !important; +} + +.markdown-body code { + color: inherit !important; +} + +.markdown-body pre code .wrapper { + display: -webkit-inline-flex; + display: -moz-inline-flex; + display: -ms-inline-flex; + display: -o-inline-flex; + display: inline-flex; +} + +.markdown-body pre code .gutter { + float: left; + overflow: hidden; + -webkit-user-select: none; + user-select: none; +} + +.markdown-body pre code .gutter .linenumber { + text-align: right; + position: relative; + display: inline-block; + float: right; + cursor: default; + z-index: 4; + padding: 0 8px 0 0; + min-width: 20px; + box-sizing: content-box; + color: #afafaf !important; + border-right: 3px solid #6ce26c !important; +} + +.markdown-body pre code .code { + float: left; + margin: 0 0 0 16px; +} + +.markdown-body .gist .line-numbers { + border-left: none; + border-top: none; + border-bottom: none; +} + +.markdown-body .gist .line-data { + border: none; +} + +.markdown-body .gist table { + border-spacing: 0; + border-collapse: inherit !important; +} + +.markdown-body code[data-gist-id] { + background: none; + padding: 0; +} + +.markdown-body code[data-gist-id]:before { + content: '' +} + +.markdown-body code[data-gist-id]:after { + content: '' +} + +.markdown-body .sequence-diagram, .markdown-body .flow-chart { + text-align: center; +} +.markdown-body .flow-chart { + margin-bottom: 40px; +} +svg { + width: 100%; + max-height: 70vh; +} \ No newline at end of file -- cgit v1.2.3