zoukankan      html  css  js  c++  java
  • MarkDown Theme CSS

    GitHub2017

    /** reset vscode css */
    body[class*=vscode] {
        background: #FFF;
    	max- 980px;
        padding: 45px;
        word-wrap: break-word;
        background-color: #fff;
        border-right: 1px solid #ddd;
    }
    
    [class*=vscode], [class*=vscode] code {
    	color: #333;
    }
    
    [class*=vscode] a, [class*=vscode] a code {
    	color:#4078c0;
    }
    
    [class*=vscode] h1 {
        border-bottom: 1px solid #eee
    }
    
    [class*=vscode] pre {
    	margin: 0;
    	padding: 0;
    	margin-bottom: 16px
    }
    
    [class*=vscode] pre code {
    	color:#D7BA7D;
    }
    
    [class*=vscode] code > div {
    	color:#333;
    	background: #f7f7f7;
    	border-radius: 0;
    	margin: 0;
    	font-size: 85%;
    	line-height: 1.45;
    }
    
    [class*=vscode] blockquote {
    	margin-left: 0;
    	margin-right: 0;
        border-left: 0.25em solid #ddd;
    	background: #FFF;
    }
    
    /* markdown css */
    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
        font-size: 16px;
        line-height: 1.5;
        word-wrap: break-word;
    }
    
    body::before {
        display: table;
        content: ""
    }
    
    body::after {
        display: table;
        clear: both;
        content: ""
    }
    
    body > * :first-child {
        margin-top: 0 !important
    }
    
    body > * :last-child {
        margin-bottom: 0 !important
    }
    
    a:not([href]) {
        color: inherit;
        text-decoration: none
    }
    
     p,  blockquote,  ul,  ol,
     dl,  table,  pre {
        margin-top: 0;
        margin-bottom: 16px
    }
    
     hr {
        height: 0.25em;
        padding: 0;
        margin: 24px 0;
        background-color: #e7e7e7;
        border: 0
    }
    
     blockquote {
        padding: 0 1em;
        color: #777;
        border-left: 0.25em solid #ddd
    }
    
     blockquote > :first-child {
        margin-top: 0
    }
    
     blockquote > :last-child {
        margin-bottom: 0
    }
    
     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
    }
    
    
     h1,  h2,  h3,  h4,
     h5,  h6 {
        margin-top: 24px;
        margin-bottom: 16px;
        font-weight: 600;
        line-height: 1.25
    }
    
     h1 tt,  h1 code,  h2 tt,  h2 code,
     h3 tt,  h3 code,  h4 tt,  h4 code,
     h5 tt,  h5 code,  h6 tt,  h6 code {
        font-size: inherit
    }
    
     h1 {
        padding-bottom: 0.3em;
        font-size: 2em;
        border-bottom: 1px solid #eee
    }
    
     h2 {
        padding-bottom: 0.3em;
        font-size: 1.5em;
        border-bottom: 1px solid #eee
    }
    
     h3 {
        font-size: 1.25em
    }
    
     h4 {
        font-size: 1em
    }
    
     h5 {
        font-size: 0.875em
    }
    
     h6 {
        font-size: 0.85em;
        color: #777
    }
    
     ul,  ol {
        padding-left: 2em
    }
    
     ul ul,  ul ol,  ol ol,  ol ul {
        margin-top: 0;
        margin-bottom: 0
    }
    
     li > p {
        margin-top: 16px
    }
    
     li + li {
        margin-top: 0.25em
    }
    
     dl {
        padding: 0
    }
    
     dl dt {
        padding: 0;
        margin-top: 16px;
        font-size: 1em;
        font-style: italic;
        font-weight: bold
    }
    
     dl dd {
        padding: 0 16px;
        margin-bottom: 16px
    }
    
     table {
        display: block;
         100%;
        overflow: auto
    }
    
     table th {
        font-weight: bold
    }
    
     table th,  table td {
        padding: 6px 13px;
        border: 1px solid #ddd
    }
    
     table tr {
        background-color: #fff;
        border-top: 1px solid #ccc
    }
    
     table tr:nth-child(2n) {
        background-color: #f8f8f8
    }
    
     img {
        max- 100%;
        box-sizing: content-box;
        background-color: #fff
    }
    
     img[align=right] {
        padding-left: 20px
    }
    
     img[align=left] {
        padding-right: 20px
    }
    
     code,  tt {
        padding: 0;
        padding-top: 0.2em;
        padding-bottom: 0.2em;
        margin: 0;
        font-size: 85%;
        background-color: rgba(0, 0, 0, 0.04);
        border-radius: 3px
    }
    
     code::before,  code::after,  tt::before,
     tt::after {
        letter-spacing: -0.2em;
        content: "0a0"
    }
    
     code br,  tt br {
        display: none
    }
    
     del code {
        text-decoration: inherit
    }
    
     pre {
        word-wrap: normal
    }
    
     pre > code {
        padding: 0;
        margin: 0;
        font-size: 100%;
        word-break: normal;
        white-space: pre;
        background: transparent;
        border: 0
    }
    
     pre code,  pre tt {
        display: inline;
        max- auto;
        padding: 0;
        margin: 0;
        overflow: visible;
        line-height: inherit;
        word-wrap: normal;
        background-color: transparent;
        border: 0
    }
    
    pre code::before,  pre code::after,  pre tt::before,
     pre tt::after {
        content: normal
    }
    
    /* Tomorrow Theme */
    /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
    /* Original theme - https://github.com/chriskempson/tomorrow-theme */
    
    /* Tomorrow Comment */
    .hljs-comment,
    .hljs-quote {
    	color: #8e908c;
    }
    
    /* Tomorrow Red */
    .hljs-variable,
    .hljs-template-variable,
    .hljs-tag,
    .hljs-name,
    .hljs-selector-id,
    .hljs-selector-class,
    .hljs-regexp,
    .hljs-deletion {
    	color: #a71d5d;
    }
    
    /* Tomorrow Orange */
    .hljs-number,
    .hljs-built_in,
    .hljs-builtin-name,
    .hljs-literal,
    .hljs-type,
    .hljs-params,
    .hljs-meta,
    .hljs-link {
    	color: #0086b3;
    }
    
    /* Tomorrow Yellow */
    .hljs-attribute {
    	color: #eab700;
    }
    
    /* Tomorrow Green */
    .hljs-string,
    .hljs-symbol,
    .hljs-bullet,
    .hljs-addition {
    	color: #183691;
    }
    
    /* Tomorrow Blue */
    .hljs-title,
    .hljs-section {
    	color: #4271ae;
    }
    
    /* Tomorrow Purple */
    .hljs-keyword,
    .hljs-selector-tag {
    	color: #a71d5d;
    }
    
    .hljs {
    	display: block;
    	overflow-x: auto;
    	color: #4d4d4c;
    	padding: 0.5em;
    }
    
    .hljs-emphasis {
    	font-style: italic;
    }
    
    .hljs-strong {
    	font-weight: bold;
    }
    

    Typora

    [Code-Block-Styles]

    /** ported from https://codemirror.net/theme/material.css **/
    /*
    
        Name:       material
        Author:     Michael Kaminsky (http://github.com/mkaminsky11)
    
        Original material color scheme by Mattia Astorino (https://github.com/equinusocio/material-theme)
    
    */
    
    .cm-s-inner {
      background-color: #263238;
      color: rgba(233, 237, 237, 1);
    }
    .cm-s-inner .CodeMirror-gutters {
      background: #263238;
      color: rgb(83,127,126);
      border: none;
    }
    .cm-s-inner .CodeMirror-guttermarker, .cm-s-inner .CodeMirror-guttermarker-subtle, .cm-s-inner .CodeMirror-linenumber { color: rgb(83,127,126); }
    .cm-s-inner .CodeMirror-cursor { border-left: 1px solid #f8f8f0; }
    .cm-s-inner div.CodeMirror-selected { background: rgba(255, 255, 255, 0.15); }
    .cm-s-inner.CodeMirror-focused div.CodeMirror-selected { background: rgba(255, 255, 255, 0.10); }
    .cm-s-inner .CodeMirror-line::selection, .cm-s-inner .CodeMirror-line > span::selection, .cm-s-inner .CodeMirror-line > span > span::selection { background: rgba(255, 255, 255, 0.10); }
    .cm-s-inner .CodeMirror-line::-moz-selection, .cm-s-inner .CodeMirror-line > span::-moz-selection, .cm-s-inner .CodeMirror-line > span > span::-moz-selection { background: rgba(255, 255, 255, 0.10); }
    
    .cm-s-inner .CodeMirror-activeline-background { background: rgba(0, 0, 0, 0); }
    .cm-s-inner .cm-keyword { color: rgba(199, 146, 234, 1); }
    .cm-s-inner .cm-operator { color: rgba(233, 237, 237, 1); }
    .cm-s-inner .cm-variable-2 { color: #80CBC4; }
    .cm-s-inner .cm-variable-3 { color: #82B1FF; }
    .cm-s-inner .cm-builtin { color: #DECB6B; }
    .cm-s-inner .cm-atom { color: #F77669; }
    .cm-s-inner .cm-number { color: #F77669; }
    .cm-s-inner .cm-def { color: rgba(233, 237, 237, 1); }
    .cm-s-inner .cm-string { color: #C3E88D; }
    .cm-s-inner .cm-string-2 { color: #80CBC4; }
    .cm-s-inner .cm-comment { color: #546E7A; }
    .cm-s-inner .cm-variable { color: #82B1FF; }
    .cm-s-inner .cm-tag { color: #80CBC4; }
    .cm-s-inner .cm-meta { color: #80CBC4; }
    .cm-s-inner .cm-attribute { color: #FFCB6B; }
    .cm-s-inner .cm-property { color: #80CBAE; }
    .cm-s-inner .cm-qualifier { color: #DECB6B; }
    .cm-s-inner .cm-variable-3 { color: #DECB6B; }
    .cm-s-inner .cm-tag { color: rgba(255, 83, 112, 1); }
    .cm-s-inner .cm-error {
      color: rgba(255, 255, 255, 1.0);
      background-color: #EC5F67;
    }
    .cm-s-inner .CodeMirror-matchingbracket {
      text-decoration: underline;
      color: white !important;
    }
    
    /**apply to code fences with plan text**/
    .md-fences {
      background-color: #263238;
      color: rgba(233, 237, 237, 1);
      border: none;
    }
    
    .md-fences .code-tooltip {
      background-color: #263238;
    }
    

    MD2ALL

    /*可任意修改样式,或恢复预设值,保存后生效
    相对“默认样式”而作的修改会用  红色 标注*/
    
    .output_wrapper/*此属性为全局*/
    {
         font-size: 16px;
         color: #3e3e3e;
         line-height: 1.6;
         word-spacing:0px; 
         letter-spacing:0px;
         font-family: "Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;   
    }
    .output_wrapper *
    {
      font-size: inherit  ;
      color: inherit;
      line-height: inherit;
      margin:0px;
      padding:0px;
    }
    
    p {/*段落*/
      margin: 1.5em 0px;
    }
    h1,h2,h3,h4,h5,h6 {
      margin: 1.5em 0px;
      font-weight:bold;
    }
    h1 {
      font-size: 1.6em  ;
     
    }
    h2 {
      font-size: 1.4em;
    }
    h3 {
      font-size: 1.3em;
    }
    h4 {
      font-size: 1.2em;
    }
    h5 {
      font-size: 1em;
    }
    h6 {
      font-size: 1em;
    }
    h3{/*增加对h3标题的修改*/
      border-bottom:2px  solid   #00ACC1;
    }
    h3 span{/*增加对h3标题字体的修改*/
      display:inline-block;
      font-weight:normal;
      background: #00ACC1;
      color:#ffffff;
      padding:3px 10px 0px;
      border-top-right-radius: 3px; 
      border-top-left-radius: 4px; 
      margin-left:5px;
      margin-right:2px;
    }
    
    ul, ol {
      padding-left: 32px;
    }
    ul{ /*无序列表*/
        list-style-type: disc;
    }
    ol { /*有序列表*/
      list-style-type: decimal;
    }
    li *  
    {
     /* color: #3e3e3e;*/
    } 
    
    li{  /*在公众号下,改变不了li符号的属性(如颜色),并会影响其子元素的属性;而在其它博客平台中,则能正常使用*/ 
        margin-bottom: 0.5em;
    /*  color:#159957; */    
    }
    .code_size_default  /*代码块默认size*/
    {
      line-height: 18px;
      font-size: 14px; 
      font-weight:normal;
      word-spacing:0px; 
      letter-spacing:0px; 
    }
    .code_size_tight /*代码块紧凑size*/
    {
       line-height: 15px; 
       font-size: 11px; 
       font-weight:normal;
       word-spacing:-3px; 
       letter-spacing:0px; 
    }
    pre code /*代码块*/
    {           
         font-family: Consolas, Inconsolata, Courier, monospace;
        border-radius: 0px;
    }
    blockquote { /*引用块*/
      display: block;
      padding: 15px 1rem;
      font-size: 0.9em;
      padding-right: 15px;
      margin: 1em 0;
      color: #819198;
      border-left: 6px solid #dce6f0;
      background: #f2f7fb;
      overflow: auto;
      overflow-scrolling: touch; 
      word-wrap: normal;
      word-break: normal;  
    }
    blockquote p {
        margin: 0px;
    }
    
    a { /*超链接*/
      text-decoration: none;
      color: #1e6bb8;
      word-wrap:break-word;
    }
    
    strong  /*强调*/
    {
      font-weight: bold;
    }
    em /*斜体*/
    {
     font-style:italic;
    }
    del /*删除线*/
    {
     font-style:italic;
    }
    strong em/*强调的斜体*/
    {
    font-weight: bold;
    }
    
    hr {  /*分隔线*/
      height: 1px;
      margin: 1.5rem 0px;
      border: none;
      border-top: 1px dashed #A5A5A5;
    }
    
    code /*行内代码*/
    {
        word-wrap: break-word;
        padding: 2px 4px;
        border-radius: 4px;
        margin:0 2px;
        color:#e96900;
        background:#f8f8f8;
    }
    img
    {
      display: block;
      margin:0 auto;  /*图片水平居中*/
      /* margin:0 0;  */ /*图片水平居左,如需要请打开*/
      max-100%;
    }
    figcaption/*图片描述文字*/
    {
      margin-top:10px;
      text-align:center;
       /* text-align:left;  */ /*当图片水平居左时,请打开*/
      color:#999;
      font-size: 0.7em;
    }
    
    /*================表格开始================*/
    table
    {
     display:table;
      100% ;
     text-align: left;
    }
    tbody {
      border: 0;
    }
    
    table tr {
      border: 0;
      border-top: 1px solid #CCC;
      background-color: white;
     
    }
    
    /*隔行改变行的背景色,如需要请打开*/
    /*
    table tr:nth-child(2n) {
      background-color: #F8F8F8;
    }
    */
    
    table tr th, table tr td {
      font-size: 1em;
      border: 1px solid #CCC;
      padding: 0.5em 1em;
      text-align: left;
    }
    /*表头的属性*/
    table tr th {
     font-weight: bold;
      background-color: #F0F0F0;
    }
    /*================表格结束================*/
    
    .katex-display {/*数学公式*/
      font-size:1.5em;
    }
    
    a[href^="#"] sup
    {/*注脚*/
      vertical-align:super;
      margin:0 2px;  
      padding:1px 3px; 
      color: #ffffff;
      background:#666666;
      font-size:0.7em;
    }
    
    /*================任务列表开始================*/
    .task-list-list {
      list-style-type: none;
    }
    .task-list-list.checked {/*已完成*/
      color: #3e3e3e;
    }
    
    .task-list-list.uncheck {/*未完成*/
      color: #bfc1bf;
    }
    .task-list-list .icon_uncheck, .task-list-list .icon_check {
      display: inline-block;
      vertical-align: middle;
      margin-right: 10px;
    }
    .task-list-list .icon_check:before
    {/*已完成*/
        content: "√";
        border: 2px solid #3e3e3e;
        color:red;
    }
    .task-list-list .icon_uncheck:before
    {/*未完成*/
       content: "x";
       border: 2px solid #bfc1bf;
        color: #bfc1bf;
    }
    .task-list-list .icon_check:before, .task-list-list .icon_uncheck:before
    {/*标志框*/
      padding:2px;
      padding-left: 5px;
      padding-right: 8px;
      border-radius:5px;
    }
    /*================任务列表结束================*/
    
    .toc
    {/*总目录*/
      margin-left:25px;
    }
    .toc_item
    {/*每条目录*/
      display:block;
    
    }
    .toc_left
    {/*每级目录的缩进*/
      margin-left:25px;
    }
    

    Default

    /*可任意修改样式,或恢复预设值,保存后生效
    相对“默认样式”而作的修改会用  红色 标注*/
    
    .output_wrapper/*此属性为全局*/
    {
         font-size: 16px;
         color: #3e3e3e;
         line-height: 1.6;
         word-spacing:0px; 
         letter-spacing:0px;
         font-family: "Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;   
    }
    .output_wrapper *
    {
      font-size: inherit  ;
      color: inherit;
      line-height: inherit;
      margin:0px;
      padding:0px;
    }
    
    p {/*段落*/
      margin: 1.5em 0px;
    }
    h1,h2,h3,h4,h5,h6 {
      margin: 1.5em 0px;
      font-weight:bold;
    }
    h1 {
      font-size: 1.6em  ;
     
    }
    h2 {
      font-size: 1.4em;
    }
    h3 {
      font-size: 1.3em;
    }
    h4 {
      font-size: 1.2em;
    }
    h5 {
      font-size: 1em;
    }
    h6 {
      font-size: 1em;
    }
    
    ul, ol {
      padding-left: 32px;
    }
    ul{ /*无序列表*/
        list-style-type: disc;
    }
    ol { /*有序列表*/
      list-style-type: decimal;
    }
    li *  
    {
     /* color: #3e3e3e;*/
    } 
    
    li{  /*在公众号下,改变不了li符号的属性(如颜色),并会影响其子元素的属性;而在其它博客平台中,则能正常使用*/ 
        margin-bottom: 0.5em;
    /*  color:#159957; */    
    }
    .code_size_default  /*代码块默认size*/
    {
      line-height: 18px;
      font-size: 14px; 
      font-weight:normal;
      word-spacing:0px; 
      letter-spacing:0px; 
    }
    .code_size_tight /*代码块紧凑size*/
    {
       line-height: 15px; 
       font-size: 11px; 
       font-weight:normal;
       word-spacing:-3px; 
       letter-spacing:0px; 
    }
    pre code /*代码块*/
    {           
         font-family: Consolas, Inconsolata, Courier, monospace;
         border-radius: 0px;
         background:#f8f8f8;
    }
    blockquote { /*引用块*/
      display: block;
      padding: 15px 1rem;
      font-size: 0.9em;
      padding-right: 15px;
      margin: 1em 0;
      color: #819198;
      border-left: 6px solid #dce6f0;
      background: #f2f7fb;
      overflow: auto;
      overflow-scrolling: touch; 
      word-wrap: normal;
      word-break: normal;  
    }
    blockquote p {
        margin: 0px;
    }
    
    a { /*超链接*/
      text-decoration: none;
      color: #1e6bb8;
      word-wrap:break-word;
    }
    
    strong  /*强调*/
    {
      font-weight: bold;
    }
    em /*斜体*/
    {
     font-style:italic;
    }
    del /*删除线*/
    {
     font-style:italic;
    }
    strong em/*强调的斜体*/
    {
    font-weight: bold;
    }
    
    hr {  /*分隔线*/
      height: 1px;
      margin: 1.5rem 0px;
      border: none;
      border-top: 1px dashed #A5A5A5;
    }
    
    code /*行内代码*/
    {
        word-wrap: break-word;
        padding: 2px 4px;
        border-radius: 4px;
        margin:0 2px;
        color:#e96900;
        background:#f8f8f8;
    }
    img
    {
      display: block;
      margin:0 auto;  /*图片水平居中*/
      /* margin:0 0;  */ /*图片水平居左,如需要请打开*/
      max-100%;
    }
    figcaption/*图片描述文字*/
    {
      margin-top:10px;
      text-align:center;
       /* text-align:left;  */ /*当图片水平居左时,请打开*/
      color:#999;
      font-size: 0.7em;
    }
    
    
    /*================表格开始================*/
    table
    {
     display:table;
      100% ;
     text-align: left;
    }
    tbody {
      border: 0;
    }
    
    table tr {
      border: 0;
      border-top: 1px solid #CCC;
      background-color: white;
     
    }
    
    /*隔行改变行的背景色,如需要请打开*/
    /*
    table tr:nth-child(2n) {
      background-color: #F8F8F8;
    }
    */
    
    table tr th, table tr td {
      font-size: 1em;
      border: 1px solid #CCC;
      padding: 0.5em 1em;
      text-align: left;
    }
    /*表头的属性*/
    table tr th {
     font-weight: bold;
      background-color: #F0F0F0;
    }
    /*================表格结束================*/
    
    
    
    .katex-display {/*数学公式*/
      font-size:1.5em;
    }
    
    a[href^="#"] sup
    {/*注脚*/
      vertical-align:super;
      margin:0 2px;  
      padding:1px 3px; 
      color: #ffffff;
      background:#666666;
      font-size:0.7em;
    }
    
    /*================任务列表开始================*/
    .task-list-list {
      list-style-type: none;
    }
    .task-list-list.checked {/*已完成*/
      color: #3e3e3e;
    }
    
    .task-list-list.uncheck {/*未完成*/
      color: #bfc1bf;
    }
    .task-list-list .icon_uncheck, .task-list-list .icon_check {
      display: inline-block;
      vertical-align: middle;
      margin-right: 10px;
    }
    .task-list-list .icon_check:before
    {/*已完成*/
        content: "√";
        border: 2px solid #3e3e3e;
        color:red;
    }
    .task-list-list .icon_uncheck:before
    {/*未完成*/
       content: "x";
       border: 2px solid #bfc1bf;
        color: #bfc1bf;
    }
    .task-list-list .icon_check:before, .task-list-list .icon_uncheck:before
    {/*标志框*/
      padding:2px;
      padding-left: 5px;
      padding-right: 8px;
      border-radius:5px;
    }
    /*================任务列表结束================*/
    
    .toc
    {/*总目录*/
      margin-left:25px;
    }
    .toc_item
    {/*每条目录*/
      display:block;
    
    }
    .toc_left
    {/*每级目录的缩进*/
      margin-left:25px;
    }
    
  • 相关阅读:
    sqlplus 登陆报协议适配器错误
    C# 类型参数的约束
    每天学一点shell——tr
    每天学一点shell-------------------------sed
    每天学一点shell--------文本处理相关
    每天学一点java DecimalFormat
    Java String 创建了几个对象
    Java UDP数据报发送与接收 学习
    shell脚本-----------每天学一点调试
    shell脚本 ----每天学一点shell
  • 原文地址:https://www.cnblogs.com/jrri/p/13666572.html
Copyright © 2011-2022 走看看