Browse Source

Move from botched VS-like CSS to VS2015 CSS from HLJS repo

pull/988/head
Hsu Still 7 years ago
parent
commit
6432c443c4
No known key found for this signature in database GPG Key ID: 8601A145FDA95209
3 changed files with 116 additions and 84 deletions
  1. +1
    -1
      docs/_template/light-dark-theme/styles/dark.css
  2. +0
    -83
      docs/_template/light-dark-theme/styles/dracula.css
  3. +115
    -0
      docs/_template/light-dark-theme/styles/vs2015.css

+ 1
- 1
docs/_template/light-dark-theme/styles/dark.css View File

@@ -1,6 +1,6 @@
/* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. */
@import url('https://fonts.googleapis.com/css?family=Titillium+Web');
@import url('dracula.css');
@import url('vs2015.css');
html,
body {
font-family: 'Titillium Web', 'Segoe UI', Tahoma, Helvetica, sans-serif;


+ 0
- 83
docs/_template/light-dark-theme/styles/dracula.css View File

@@ -1,83 +0,0 @@
/* Dracula Theme v1.2.5
*
* https://github.com/dracula/highlightjs
*
* Copyright 2016-present, All rights reserved
*
* Code licensed under the MIT license
*
* @author Denis Ciccale <dciccale@gmail.com>
* @author Zeno Rocha <hi@zenorocha.com>
*/

.hljs {
display: block;
overflow-x: auto;
background: #282a36;
}

.hljs-built_in,
.hljs-selector-tag,
.hljs-section,
.hljs-link,
.hljs-keyword {
color: rgb(86, 156, 214) !important;
}

/*
.hljs-keyword {
color: rgb(86, 156, 214);
}

*/

.hljs,
.hljs-subst,
.hljs-tag {
color: #f8f8f2 !important;
}

.hljs-string,
.hljs-meta,
.hljs-name,
.hljs-attr,
.hljs-symbol,
.hljs-bullet,
.hljs-addition,
.hljs-variable,
.hljs-template-tag,
.hljs-template-variable {
color: rgb(214, 157, 133) !important;
}

.hljs-title,
.hljs-type {
color: rgb(78, 201, 176) !important;
}

.hljs-comment,
.hljs-quote,
.hljs-deletion {
color: rgb(87, 166, 74) !important;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-title,
.hljs-section,
.hljs-doctag,
.hljs-type,
.hljs-name,
.hljs-strong {
font-weight: bold;
}

.hljs-literal,
.hljs-number {
color: rgb(181, 206, 168) !important;
}

.hljs-emphasis {
font-style: italic;
}

+ 115
- 0
docs/_template/light-dark-theme/styles/vs2015.css View File

@@ -0,0 +1,115 @@
/*
* Visual Studio 2015 dark style
* Author: Nicolas LLOBERA <nllobera@gmail.com>
*/

.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #282a36;
color: #DCDCDC;
}

.hljs-keyword,
.hljs-literal,
.hljs-symbol,
.hljs-name {
color: #569CD6;
}
.hljs-link {
color: #569CD6;
text-decoration: underline;
}

.hljs-built_in,
.hljs-type {
color: #4EC9B0;
}

.hljs-number,
.hljs-class {
color: #B8D7A3;
}

.hljs-string,
.hljs-meta-string {
color: #D69D85;
}

.hljs-regexp,
.hljs-template-tag {
color: #9A5334;
}

.hljs-subst,
.hljs-function,
.hljs-title,
.hljs-params,
.hljs-formula {
color: #DCDCDC;
}

.hljs-comment,
.hljs-quote {
color: #57A64A;
font-style: italic;
}

.hljs-doctag {
color: #608B4E;
}

.hljs-meta,
.hljs-meta-keyword,
.hljs-tag {
color: #9B9B9B;
}

.hljs-variable,
.hljs-template-variable {
color: #BD63C5;
}

.hljs-attr,
.hljs-attribute,
.hljs-builtin-name {
color: #9CDCFE;
}

.hljs-section {
color: gold;
}

.hljs-emphasis {
font-style: italic;
}

.hljs-strong {
font-weight: bold;
}

/*.hljs-code {
font-family:'Monospace';
}*/

.hljs-bullet,
.hljs-selector-tag,
.hljs-selector-id,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo {
color: #D7BA7D;
}

.hljs-addition {
background-color: #144212;
display: inline-block;
width: 100%;
}

.hljs-deletion {
background-color: #600;
display: inline-block;
width: 100%;
}

Loading…
Cancel
Save