feat: add code theme 'github-v2'

This commit is contained in:
yanglbme 2020-07-27 23:22:47 +08:00
parent 801e0e9992
commit 246818c878
3 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,6 @@
<link rel="apple-touch-icon-precomposed" <link rel="apple-touch-icon-precomposed"
href="https://imgkr.cn-bj.ufileos.com/f3accc83-b854-4e99-afb5-8a6465e1d84f.png"> href="https://imgkr.cn-bj.ufileos.com/f3accc83-b854-4e99-afb5-8a6465e1d84f.png">
<script src="https://cdn.bootcdn.net/ajax/libs/prettify/r224/prettify.min.js"></script> <script src="https://cdn.bootcdn.net/ajax/libs/prettify/r224/prettify.min.js"></script>
<link href="https://cdn.bootcdn.net/ajax/libs/prettify/r224/prettify.min.css" rel="stylesheet">
</head> </head>
<body> <body>

2
src/assets/less/github-v2.min.css vendored Normal file
View File

@ -0,0 +1,2 @@
/*! Color themes for Google Code Prettify | MIT License | github.com/jmblog/color-themes-for-google-code-prettify */
.prettyprint{font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#333}ol.linenums{margin-top:0;margin-bottom:0;color:#ccc}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#fff;list-style-type:decimal}@media screen{.str{color:#183691}.kwd{color:#a71d5d}.com{color:#969896}.typ{color:#0086b3}.lit{color:#0086b3}.pun{color:#333}.opn{color:#333}.clo{color:#333}.tag{color:navy}.atn{color:#795da3}.atv{color:#183691}.dec{color:#333}.var{color:teal}.fun{color:#900}}

View File

@ -405,5 +405,6 @@ export default {
<style lang="less"> <style lang="less">
@import url('../assets/less/app.less'); @import url('../assets/less/app.less');
@import url('../assets/less/style-mirror.css'); @import url('../assets/less/style-mirror.css');
@import url('../assets/less/github-v2.min.css');
</style> </style>