• 代码高亮1


    /*代码高亮*/
    .syntaxhighlighter .bold {
    font-weight:unset !important;
    }
    .syntaxhighlighter .line {
    background-color: rgb(40, 43, 46)!important;
    }
    .syntaxhighlighter .line.alt2 {
    background-color: rgb(40, 43, 46)!important;
    }
    .syntaxhighlighter .line.alt1 {
    background-color: rgb(40, 43, 46)!important;
    }
    .syntaxhighlighter .comments, .syntaxhighlighter .comments a {
    color: rgb(129, 142, 150)!important;
    }
    .syntaxhighlighter .keyword {
    color: rgb(147, 199, 99)!important;
    font-weight: unset !important;
    }
    .syntaxhighlighter .preprocessor {
    color: rgb(85, 113, 130) !important;
    }
    .syntaxhighlighter .plain, .syntaxhighlighter .plain a {
    color: rgb(224, 226, 228)!important;
    }
    .syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
    color: rgb(147, 199, 99)!important;
    }
    .syntaxhighlighter .string, .syntaxhighlighter .string a {
    color: rgb(236, 118, 0)!important;
    }
    .syntaxhighlighter .functions {
    color: rgb(140, 187, 173)!important;
    }
    .syntaxhighlighter .gutter .line {
    border-right: 2px solid rgb(147, 199, 99)!important;
    }
    .syntaxhighlighter.collapsed .toolbar {
    background: rgb(40, 43, 46)!important;
    border: none !important;
    border-radius: 5px !important;
    }
    .syntaxhighlighter.collapsed .toolbar a {
    color: rgb(147, 199, 99)!important;
    }
    .syntaxhighlighter.collapsed .toolbar a:hover {
    color: rgb(78, 109, 48)!important;
    }
    .syntaxhighlighter {
    border-radius: 5px;
    }
    /*第一种高亮结束,第二种高亮开始*/
    .cnblogs_code div {
    background: #282b2e;
    }
    .cnblogs_code {
    background: #282b2e;
    border-radius: 5px;
    border: none;
    font-family: consolas !important;
    color: #fff;
    }
    .cnblogs_code_toolbar {
    background: #282b2e !important;
    }
    .cnblogs_code_toolbar a:hover, .cnblogs_code_toolbar a:link, .cnblogs_code_toolbar a:visited, .cnblogs_code_toolbar a:active, .cnblogs_code_toolbar a:link img, .cnblogs_code_toolbar a:visited img {
    background-color: #282b2e !important;
    border: none!important;
    }
    .cnblogs_code pre {
    font-family: consolas !important;
    padding-left: 3px;
    color: rgb(224, 226, 228);
    }
    .cnblogs_code span[style="color: #000000;"] , .cnblogs_code span[style="color: #ff0000;"]{
    color: rgb(224, 226, 228) !important;
    }
    .cnblogs_code span[style="color: #0000ff;"]{
    color: rgb(147, 199, 99)!important;
    }
    .cnblogs_code span[style="color: #800080;"]{
    color: #ffd740 !important;
    }
    .cnblogs_code span[style="color: #800000;"]{
    color: rgb(236, 118, 0)!important;
    }
    .cnblogs_code span[style="color: #008000;"]{
    color: rgb(129, 142, 150)!important;
    }
    .cnblogs_code span[style="color: #008080;"]{
    color: #afafaf!important;
    margin-right: 5px;
    }
    .cnblogs_code_collapse {
    border: none;
    background: #282b2e;
    color: rgb(147, 199, 99);
    }
    .cnblogs_code > pre {
    border: none !important;
    }
    .cnblogs_code > textarea {
    color: #fff;
    background: transparent;
    border: none;
    outline: none;
    }
    /*代码高亮结束*/

  • 相关阅读:
    写代码实现两个 goroutine,其中一个产生随机数并写入到 go channel 中,另外一 个从 channel 中读取数字并打印到标准输出。最终输出五个随机数。
    05| RWMutex:读写锁的实现原理及避坑指南
    go 面试题
    go 局部变量在哪
    12 _ atomic:要保证原子操作,一定要使用这几种方法
    11 _ Context:信息穿透上下文
    什么是线程
    go面试题
    redis连接池 go
    docker 指定版本rpm包安装
  • 原文地址:https://www.cnblogs.com/kwaitfort/p/10464311.html
Copyright © 2020-2023  润新知