Customization

This commit is contained in:
Breizh 2022-05-24 21:32:57 +02:00
parent 68f6fe2b96
commit bef7646420
4 changed files with 187 additions and 5 deletions

View file

@ -1,5 +1,5 @@
body { body {
background: #002B36; background: #2D2D2D;
padding: 20px 50px; padding: 20px 50px;
margin: 0px; margin: 0px;
} }
@ -9,7 +9,7 @@ body {
textarea { textarea {
background: transparent; background: transparent;
border: 0px; border: 0px;
color: #fff; color: #D3D0C8;
padding: 0px; padding: 0px;
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -24,7 +24,7 @@ textarea {
/* the line numbers */ /* the line numbers */
#linenos { #linenos {
color: #7d7d7d; color: #747369;
z-index: -1000; z-index: -1000;
position: absolute; position: absolute;
top: 20px; top: 20px;

178
static/eighties.css Normal file
View file

@ -0,0 +1,178 @@
/*!
Theme: Eighties
Author: Chris Kempson (http://chriskempson.com)
License: ~ MIT (or more permissive) [via base16-schemes-source]
Maintainer: @highlightjs/core-team
Version: 2021.09.0
*/
/*
WARNING: DO NOT EDIT THIS FILE DIRECTLY.
This theme file was auto-generated from the Base16 scheme eighties
by the Highlight.js Base16 template builder.
- https://github.com/highlightjs/base16-highlightjs
*/
/*
base00 #2d2d2d Default Background
base01 #393939 Lighter Background (Used for status bars, line number and folding marks)
base02 #515151 Selection Background
base03 #747369 Comments, Invisibles, Line Highlighting
base04 #a09f93 Dark Foreground (Used for status bars)
base05 #d3d0c8 Default Foreground, Caret, Delimiters, Operators
base06 #e8e6df Light Foreground (Not often used)
base07 #f2f0ec Light Background (Not often used)
base08 #f2777a Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
base09 #f99157 Integers, Boolean, Constants, XML Attributes, Markup Link Url
base0A #ffcc66 Classes, Markup Bold, Search Text Background
base0B #99cc99 Strings, Inherited Class, Markup Code, Diff Inserted
base0C #66cccc Support, Regular Expressions, Escape Characters, Markup Quotes
base0D #6699cc Functions, Methods, Attribute IDs, Headings
base0E #cc99cc Keywords, Storage, Selector, Markup Italic, Diff Changed
base0F #d27b53 Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
*/
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em;
}
code.hljs {
padding: 3px 5px;
}
.hljs {
color: #d3d0c8;
background: #2d2d2d;
}
.hljs::selection,
.hljs ::selection {
background-color: #515151;
color: #d3d0c8;
}
/* purposely do not highlight these things */
.hljs-formula,
.hljs-params,
.hljs-property
{}
/* base03 - #747369 - Comments, Invisibles, Line Highlighting */
.hljs-comment {
color: #747369;
}
/* base04 - #a09f93 - Dark Foreground (Used for status bars) */
.hljs-tag {
color: #a09f93;
}
/* base05 - #d3d0c8 - Default Foreground, Caret, Delimiters, Operators */
.hljs-subst,
.hljs-punctuation,
.hljs-operator {
color: #d3d0c8;
}
.hljs-operator {
opacity: 0.7;
}
/* base08 - Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted */
.hljs-bullet,
.hljs-variable,
.hljs-template-variable,
.hljs-selector-tag,
.hljs-name,
.hljs-deletion {
color: #f2777a;
}
/* base09 - Integers, Boolean, Constants, XML Attributes, Markup Link Url */
.hljs-symbol,
.hljs-number,
.hljs-link,
.hljs-attr,
.hljs-variable.constant_,
.hljs-literal {
color: #f99157;
}
/* base0A - Classes, Markup Bold, Search Text Background */
.hljs-title,
.hljs-class .hljs-title,
.hljs-title.class_
{
color: #ffcc66;
}
.hljs-strong {
font-weight:bold;
color: #ffcc66;
}
/* base0B - Strings, Inherited Class, Markup Code, Diff Inserted */
.hljs-code,
.hljs-addition,
.hljs-title.class_.inherited__,
.hljs-string {
color: #99cc99;
}
/* base0C - Support, Regular Expressions, Escape Characters, Markup Quotes */
.hljs-built_in,
.hljs-doctag, /* guessing */
.hljs-quote,
.hljs-keyword.hljs-atrule,
.hljs-regexp {
color: #66cccc;
}
/* base0D - Functions, Methods, Attribute IDs, Headings */
.hljs-function .hljs-title,
.hljs-attribute,
.ruby .hljs-property,
.hljs-title.function_,
.hljs-section {
color: #6699cc;
}
/* base0E - Keywords, Storage, Selector, Markup Italic, Diff Changed */
.hljs-type,
/* .hljs-selector-id, */
/* .hljs-selector-class, */
/* .hljs-selector-attr, */
/* .hljs-selector-pseudo, */
.hljs-template-tag,
.diff .hljs-meta,
.hljs-keyword {
color: #cc99cc;
}
.hljs-emphasis {
color: #cc99cc;
font-style: italic;
}
/* base0F - Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?> */
.hljs-meta,
/*
prevent top level .keyword and .string scopes
from leaking into meta by accident
*/
.hljs-meta .hljs-keyword,
.hljs-meta .hljs-string
{
color: #d27b53;
}
.hljs-meta .hljs-keyword,
/* for v10 compatible themes */
.hljs-meta-keyword {
font-weight: bold;
}

View file

@ -4,10 +4,10 @@
<title>hastebin</title> <title>hastebin</title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="solarized_dark.css"/> <link rel="stylesheet" type="text/css" href="eighties.css"/>
<link rel="stylesheet" type="text/css" href="application.css"/> <link rel="stylesheet" type="text/css" href="application.css"/>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="highlight.min.js"></script> <script type="text/javascript" src="highlight.min.js"></script>
<script type="text/javascript" src="application.min.js"></script> <script type="text/javascript" src="application.min.js"></script>

4
static/jquery.min.js vendored Normal file

File diff suppressed because one or more lines are too long