This commit is contained in:
浪子 2024-05-09 10:56:56 +08:00
parent cbca1f3050
commit 6acf4d37a3
249 changed files with 17597 additions and 3 deletions

File diff suppressed because one or more lines are too long

@ -1 +0,0 @@
Subproject commit b36bac9c2d06a5453dc353de9beeef0f7900f1ea

264
themes/blank/_config.yml Normal file
View File

@ -0,0 +1,264 @@
# html lang
language: zh-CN
# 设置 favicon
favicon: /img/favicon.png
# 设置 rss
rss: /atom.xml
# 左上角/中间的网站名字
title_font:
font_link:
font-family:
# 全局字体
fonts:
font_link:
font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif
# 顶部菜单
# 如果不需要显示某项,可以用'#'注释掉
menu:
search: /search/ || fas fa-search-plus || rgb(3 169 244)
home: / || fab fa-fort-awesome || rgb(255 107 107)
archive: /archives/ || fas fa-archive || rgb(10 189 227)
tag: /tags/ || fas fa-hashtag || rgb(254 202 87)
categories: /categories || far fa-folder-open || rgb(29 209 161)
about: /about/ || fab fa-grav || rgb(154 106 247)
guestbook: /guestbook/ || fab fa-telegram || hsl(205deg 100% 50%)
friends: /link/ || fab fa-weixin || hsl(152deg 73% 45%)
说说: /shuoshuo/ || fas fa-coffee ||#31c7c1
# 如果 method: 1显示名称method: 2显示头像
logo:
method: 2
avatar: https://cdn.jsdelivr.net/gh/a2396837/CDN@latest/images/2020/07/27/baokemeng.webp
# 如果 method: 1只显示座右铭method: 2则同时显示座右铭和社交图标method: 3只显示社交图标
subtitle_social:
method: 3
subtitle:
motto: Do what you love,love what you do.
font-size: 1.25em
font-color: "#84ccc9"
social:
Github:
icon: iconfont icon-GitHub
url: https://github.com/a2396837
Email:
icon: iconfont icon-email
url: mailto:894049579@qq.com
Steam:
icon: iconfont icon-steam
url: https://steamcommunity.com/id/a2396837
Bilibili:
icon: iconfont icon-bilibili
url: https://space.bilibili.com/8823569
Netmusic:
icon: iconfont icon-wangyiyunyinle1
url: https://music.163.com/#/user/home?id=262078590
rss:
icon: iconfont icon-rss
url: /atom.xml
# 全局音乐播放器
audio:
enable: false
# 是否打开暗黑模式
todark:
enable: true
# 本地搜索
local_search:
enable: true
# 文章的相关信息
post_meta:
page:
date: true # 主页是否显示日期
categories: true # 主页是否显示分类
wordcount: true # 主页是否显示字数统计
min2read: true # 主页是否显示阅读时长
post:
date: true # 文章页是否显示日期
categories: true # 文章页是否显示字分类
wordcount: true # 文章页是否显示字数统计
min2read: true # 文章页是否显示阅读时长
# 文章目录
toc:
enable: true
# 文章自动摘要
auto_excerpt:
enable: true
length: 250
# Lazyload (图片懒加载)
# https://github.com/verlok/lazyload
lazyload:
enable: true
image: /img/loading.gif
script: https://cdn.jsdelivr.net/npm/vanilla-lazyload/dist/lazyload.iife.min.js
# https://instant.page/
# prefetch (预加载)
instantpage:
enable: true
script: https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js
# fancybox
fancybox:
enable: true
script: https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js
# 百度自动推送
baidu_push:
enable: false
# 谷歌分析
google_analytics:
# 百度分析
baidu_analytics:
# 代码复制功能
copy:
enable: true
# Post copyright
copyright:
enable: true
license_text: 本博客所有文章除特别声明外,均采用许可协议 <a href="http://creativecommons.org/licenses/by-nc/4.0/">CC-BY-NC-4.0</a> 转载请注明出处!
# 文章分享
sharejs:
enable: true
sites: facebook,twitter,wechat,weibo,qq
style: https://cdn.jsdelivr.net/npm/social-share.js/dist/css/share.min.css
scripts: https://cdn.jsdelivr.net/npm/social-share.js/dist/js/social-share.min.js
# 赞助/捐献
reward:
enable: true
AliPayQR: /img/alipay.jpg # 支付宝收款码
WeChatQR: /img/wechat.jpg # 微信收款码
PayPalLink: https://paypal.me # paypal收款链接
# 一个内置的简单404页面
page_404:
enable: true
subtitle: 'Oops! Page not found.'
# 备案:
ICP:
enable: true
link:
text:
# icon: /img/icp.png
# highlight
highlight:
code_color: "#fafafa" # 代码块颜色
gutter_color: "#f2f2f2" # 代码行号块颜色
# mermaid
mermaid:
enable: false
theme: default
script: https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js
# MathJax
mathjax:
enable: false
script: https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js
# 鼠标点击特效(未来会增加更多种样式)
Click:
firework: false
firework_script: https://cdn.jsdelivr.net/gh/a2396837/CDN@latest/js/firework.js
##评论系统,当您打开一个评论系统,其他评论系统必须关掉:enable: flase
# Valine 评论系统 https://valine.js.org
valine:
enable: true # 如果使用valine请设置改之为true
appid: # leancloud application app id
appkey: # leancloud application app key
placeholder: 评论记得带上邮箱,你的留言我会马上收到邮箱提醒哒
avatar: mm # gravatar style
lang: zh-CN # i18n: zh-CN/zh-TW/en/ja
meta: nick,mail,link
requiredFields: nick,mail # required fields (nick/mail)
pageSize: 10 # pagination size
recordIP: false # 是否记录评论者IP
serverURLs:
emojiCDN:
enableQQ: true
# OR
#Waline 评论系统 https://waline.js.org
waline:
enable: false
serverURL:
avatar: monsterid # gravatar style https://zh-tw.gravatar.com/site/implement/images/#default-image
placeholder: Just go go # comment box placeholder
# stylesheets loaded in the <head>
stylesheets:
- /css/partial/highlight/atom-one-light.css
- https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css
#- https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css
- https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css
- https://cdn.jsdelivr.net/gh/a2396837/CDN@latest/css/iconfont.css
# scripts loaded in the end of the body
scripts:
- /js/script.js
- https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js

View File

@ -0,0 +1,27 @@
search: Search
home: Home
tag: Tags
categories: Categories
archive: Archives
about: About
donate: Donate
guestbook: Guestbook
friends: Friends
Sticky: Sticky
created: Created
updated: Updated
words: words
min: min
prev: Prev
next: Next
Toc: Toc
Read More: Read More
Author: Author
Link: Link
License: License
reward:
PayPal: PayPal
alipay: Alipay
wechatpay: Wechatpay
Go back home: Go back home
error_title: Page not found

View File

@ -0,0 +1,30 @@
search: 搜索
home: 首页
tag: 标签
categories: 分类
archive: 归档
about: 关于
donate: 赞助
guestbook: 留言
friends: 友链
Sticky: 置顶
created: 发表于
updated: 更新于
words:
min: 分钟
prev: 上一页
next: 下一页
Toc: 目录
Read More: 阅读全文
Author: 作者
Link: 链接
License: 声明
reward:
PayPal: 贝宝
alipay: 支付宝
wechatpay: 微信
Go back home: 回到首页
error_title: 页面没有找到

View File

@ -0,0 +1,27 @@
<%
page.title = __('error_title')
%>
<div class="post-wrap">
<div class="container">
<h2><%= theme.page_404.subtitle %></h2>
<h1>404</h1>
</div>
<style>
.container{
width: 100%;
max-width: 700px;
margin: 100px auto 0;
transform: translateY(-50%);
text-align: center;
color: #343434
}
.container h1{
font-size: 160px;
margin: 0;
font-weight: 900;
letter-spacing: 20px;
}
</style>
</div>

View File

@ -0,0 +1,3 @@
<%- partial('partial/archive', {pagination: config.archive, index: false}) %>

View File

@ -0,0 +1,6 @@
<%- partial('archive', {pagination: config.tag, index: false}) %>

View File

@ -0,0 +1,3 @@
<%- partial('partial/recent-posts') %>
<%- partial('partial/paginator') %>

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="<%= config.language %>">
<%- partial('partial/head', {cache: true}) %>
<%- partial('partial/mobile-header', {cache: true})%>
<%- partial('partial/header', {cache: true}) %>
<%- body %>
<%- partial('partial/gotop', {cache:true}) %>
<%- partial('partial/footer', {cache:true}) %>
</html>

View File

@ -0,0 +1,2 @@
<%- partial('partial/page', {post: page, index: false}) %>

View File

@ -0,0 +1,4 @@
<%- partial('partial/_comment/waline') %>
<%- partial('partial/_comment/valine') %>

View File

@ -0,0 +1,21 @@
<% if (theme.valine.enable && post.comments){ %>
<div id="valine"></div>
<script src="https://cdn.jsdelivr.net/npm/valine/dist/Valine.min.js"></script>
<script>
new Valine({
el: '#valine',
appId: "<%= theme.valine.appid %>",
appKey: "<%= theme.valine.appkey %>",
avatar: "<%= theme.valine.avatar %>",
lang: "<% theme.valine.lang %>",
meta: '<%= theme.valine.meta %>'.split(','),
requiredFields: '<%= theme.valine.requiredFields %>'.split(','),
placeholder: "<%= theme.valine.placeholder %>",
pageSize:'<%= theme.valine.pageSize %>',
recordIP: '<%= theme.valine.recordIP %>',
serverURLs: "<%= theme.valine.serverURLs %>",
emojiCDN: "<%= theme.valine.emojiCDN %>",
enableQQ: "<%= theme.valine.enableQQ %>",
});
</script>
<% } %>

View File

@ -0,0 +1,13 @@
<% if (theme.waline.enable && post.comments){ %>
<script src='//unpkg.com/@waline/client/dist/Waline.min.js'></script>
<div id="waline"></div>
<script>
new Waline({
el: '#waline',
path: location.pathname,
serverURL: "<%= theme.waline.serverURL %>",
avatar: "<%= theme.waline.avatar %>",
placeholder: "<%= theme.waline.placeholder %>"
});
</script>
<% } %>

View File

@ -0,0 +1,40 @@
<script>
if (!window.MathJax) {
window.MathJax = {
loader: {
source: {
'[tex]/amsCd': '[tex]/amscd'
}
},
tex: {
inlineMath: [ ['$','$'], ["\\(","\\)"]],
tags: 'ams'
},
options: {
renderActions: {
findScript: [10, doc => {
for (const node of document.querySelectorAll('script[type^="math/tex"]')) {
const display = !!node.type.match(/; *mode=display/)
const math = new doc.options.MathItem(node.textContent, doc.inputJax[0], display)
const text = document.createTextNode('')
node.parentNode.replaceChild(text, node)
math.start = {node: text, delim: '', n: 0}
math.end = {node: text, delim: '', n: 0}
doc.math.push(math)
}
}, '']
}
}
}
var script = document.createElement('script')
script.src = "<%= theme.mathjax.script %>"
script.id = 'MathJax-script'
script.async = true
document.head.appendChild(script)
} else {
MathJax.startup.document.state(0)
MathJax.texReset()
MathJax.typeset()
}
</script>

View File

@ -0,0 +1,14 @@
<script>
if (document.getElementsByClassName('mermaid').length) {
if (window.mermaidJsLoad) mermaid.init()
else {
$.getScript("<%= theme.mermaid.script %>", function () {
window.mermaidJsLoad = true
mermaid.initialize({
theme: "<%= theme.mermaid.theme %>",
})
})
}
}
</script>

View File

@ -0,0 +1,50 @@
<% if(theme.audio.enable) { %>
<div id="QPlayer">
<div id="pContent">
<div id="player">
<span class="cover"></span>
<div class="ctrl">
<div class="musicTag marquee">
<strong>Title</strong>
<span> - </span>
<span class="artist">Artist</span>
</div>
<div class="progress">
<div class="timer left">0:00</div>
<div class="contr">
<div class="rewind icon"></div>
<div class="playback icon"></div>
<div class="fastforward icon"></div>
</div>
<div class="right">
<div class="liebiao icon"></div>
</div>
</div>
</div>
</div>
<div class="ssBtn">
<div class="adf"><i class="fas fa-music" style="color: #Fff;"></i></div>
</div>
</div>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/a2396837/CDN@latest/css/audio.css">
<ol id="playlist"></ol>
</div>
<script src="https://cdn.jsdelivr.net/npm/jquery.marquee@1.5.0/jquery.marquee.min.js"></script>
<script>
var playlist = [];
<% for (var i in site.data.audio) { %>
playlist.push({title:'<%= site.data.audio[i].title %>',artist:'<%= site.data.audio[i].artist %>',mp3:'<%= site.data.audio[i].mp3 %>',cover:'<%= site.data.audio[i].cover %>'})
<% } %>
var isRotate = true;
var autoplay = false;
</script>
<script src="https://cdn.jsdelivr.net/gh/a2396837/CDN@latest/js/player.js"></script>
<script>
function bgChange(){
var lis= $('.lib');
for(var i=0; i<lis.length; i+=2)
lis[i].style.background = 'rgba(246, 246, 246, 0.5)';
}
window.onload = bgChange;
</script>
<% } %>

View File

@ -0,0 +1,19 @@
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.4/dist/clipboard.min.js"></script>
<script>
!function (e, t, a) {
var initCopyCode = function(){
var copyHtml = '';
copyHtml += '<button class="btn-copy" data-clipboard-snippet="">';
copyHtml += ' <i class="fa fa-clipboard"></i><span>复制</span>';
copyHtml += '</button>';
$(".highlight .code pre").before(copyHtml);
new ClipboardJS('.btn-copy', {
target: function(trigger) {
return trigger.nextElementSibling;
}
});
}
initCopyCode();
}(window, document);
</script>

View File

@ -0,0 +1,17 @@
<script>
var images = $('img').not('.nav-logo img').not('.card img').not($('a>img')).not('.reward-content img')
images.each(function (i, o) {
var lazyloadSrc = $(o).attr('data-src') ? $(o).attr('data-src') : $(o).attr('src')
$(o).wrap(`<a href="${lazyloadSrc}" data-fancybox="group" data-caption="${$(o).attr('alt')}" class="fancybox"></a>`)
})
</script>
<script src="<%= theme.fancybox.script %>"></script>
<script>
$().fancybox({
selector: '[data-fancybox]',
loop: true,
transitionEffect: 'slide',
protect: true,
buttons: ['slideShow', 'fullScreen', 'thumbs', 'close']
})
</script>

View File

@ -0,0 +1,7 @@
<script>
window.lazyLoadOptions = {
elements_selector: 'img',
threshold: 0
}
</script>
<script src="<%= theme.lazyload.script %>"></script>

View File

@ -0,0 +1,20 @@
<% if (theme.reward.enable && (theme.reward.AliPayQR || theme.reward.WeChatQR || theme.reward.PayPalLink)) { %>
<div style="padding: 10px 0; margin-left: 20px; width: 90%; text-align: center;">
<div class="reward-content">
<ul id="donateBox" class="list pos-a">
<% if(theme.reward.PayPalLink){ %>
<li id="PayPal"><a href="<%= theme.reward.PayPalLink %>" target="_blank" title="<%= __('reward.PayPal') %>"><%= __('reward.PayPal') %></a></li>
<% } %>
<% if(theme.reward.AliPayQR){ %>
<li id="AliPay" title="<%= __('reward.alipay') %>"><img data-img="<%= theme.reward.AliPayQR %>" onerror=this.onerror=null,this.src="<%= url_for(theme.lazyload.image) %>"></img></li>
<% } %>
<% if(theme.reward.WeChatQR){ %>
<li id="WeChat" title="<%= __('reward.wechatpay') %>"><img date-img="<%= theme.reward.WeChatQR %>" onerror=this.onerror=null,this.src="<%= url_for(theme.lazyload.image) %>"></img></li>
<% } %>
</ul>
<div id="QRBox" class="pos-f left-100">
<div id="MainBox"></div>
</div>
</div>
</div>
<% } %>

View File

@ -0,0 +1,38 @@
<script>
jQuery(document).ready(function () {
var QRBox = $('#QRBox');
var MainBox = $('#MainBox');
var AliPayQR = '<%= theme.reward.AliPayQR %>';
var WeChanQR = '<%= theme.reward.WeChatQR %>';
function showQR(QR) {
if (QR) {
MainBox.css('background-image', 'url(' + QR + ')');
}
$('#donateBox').addClass('blur');
QRBox.fadeIn(300, function (argument) {
MainBox.addClass('showQR');
});
}
$('#donateBox>li').click(function (event) {
var thisID = $(this).attr('id');
if (thisID === 'AliPay') {
showQR(AliPayQR);
} else if (thisID === 'WeChat') {
showQR(WeChanQR);
}
});
MainBox.click(function (event) {
MainBox.removeClass('showQR').addClass('hideQR');
setTimeout(function (a) {
QRBox.fadeOut(300, function (argument) {
MainBox.removeClass('hideQR');
});
$('#DonateText,#donateBox,#github').removeClass('blur');
}, 600);
});
});
</script>

View File

@ -0,0 +1,5 @@
<% if(theme.sharejs && theme.sharejs.enable){ %>
<div class="social-share" data-sites="<%= theme.sharejs.sites %>"></div>
<link rel="stylesheet" href="<%= theme.sharejs.style %>">
<script src="<%= theme.sharejs.scripts %>"></script>
<% } %>

View File

@ -0,0 +1,9 @@
<% if(theme.local_search.enable){ %>
<div id="site_search">
<div class="form-group">
<input type="text" id="local-search-input" name="q" results="0" placeholder="<%= __('search') %>" class="st-search-input st-default-search-input form-control"/>
<button class="search-btn btn"><i class="fas fa-search-plus" style="font-size: 16px;"></i></button>
</div>
<div id="local-search-result"></div>
</div>
<% } %>

View File

@ -0,0 +1,9 @@
<script src="<%- url_for('/js/local-search.js') %>"></script>
<script type="text/javascript">
var search_path = "<%= config.search.path %>";
if (search_path.length == 0) {
search_path = "search.xml";
}
var path = "<%= config.root %>" + search_path;
searchFunc(path, 'local-search-input', 'local-search-result');
</script>

View File

@ -0,0 +1,11 @@
<% if (theme.baidu_analytics){ %>
<script type="text/javascript">
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?<%= theme.baidu_analytics %>";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<% } %>

View File

@ -0,0 +1,16 @@
<% if (theme.baidu_push.enable){ %>
<script type="text/javascript">
(function(){
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
}
else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
</script>
<% } %>

View File

@ -0,0 +1,14 @@
<% if (theme.google_analytics){ %>
<!-- Google Analytics -->
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '<%= theme.google_analytics %>', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
<% } %>

View File

@ -0,0 +1,23 @@
<div class="post-wrap archive">
<% var last_year = ''; %>
<% page.posts.each(function (post) { %>
<% var cur_year = post.date.year(); %>
<% if(last_year !== cur_year){ %>
<div class="yearzodiac">
<div class="years">
<h1><%- cur_year %> <i class="<%- getAnimalIcon(cur_year) %>"></i></h1>
</div>
</div>
<% last_year = cur_year; } %>
<li class="archive-item">
<a class="archive-item-link" href="<%- url_for(post.path) %>"><%= post.title %></a>
<span class="archive-item-date"><%- date(post.date, theme.date_format) %></span>
</li>
<% }) %>
<div class="arc_pag">
<%- partial('partial/paginator') %>
</div>
</div>

View File

@ -0,0 +1,55 @@
<article id="post">
<div class="post-title"><%= post.title || '(no title)' %></div>
<%- partial('partial/post-meta', {cache:true}) %>
<% if(theme.toc.enable && post.toc == true) {%>
<div id="toc" class="toc">
<h1><%= __('Toc') %></h1>
<%- toc(post.content, {list_number: true}) %>
</div>
<% } %>
<div class="content">
<div><%-page.content%></div>
<% if(theme.copyright.enable){ %>
<div class="post-copyright">
<div class="copyright-item">
<span> <%= __('Author') %>: <%- config.author %></span>
</div>
<div class="copyright-item">
<span> <%= __('Link') %>: <a href="<%- page.permalink %>"><%- page.permalink %></a></span>
</div>
<div class="copyright-item">
<span> <%= __('License') %>: <%- theme.copyright.license_text %></span>
</div>
</div>
<% } %>
</div>
<% if(theme.sharejs.enable || theme.reward.enable){%>
<div class="share-reward">
<div class="share">
<%-partial('partial/_modify/sharejs', {cache:true}) %>
</div>
<div class="reward">
<%-partial('partial/_modify/rewards/reward', {cache:true}) %>
</div>
</div>
<% } %>
<div class="post_tags">
<% post.tags.each(function(tag){%>
<i class="fas fa-tag"></i> <a href="<%- url_for(tag.path) %>" class="tag"><%= tag.name %></a>
<% }) %>
</div>
<div class="post-nav">
<% if (post.prev){ %>
<div class="post-nav-prev post-nav-item">
<a href="<%- url_for(post.prev.path) %>" ><%= post.prev.title %><i class="fa fa-chevron-left"></i></a>
</div>
<% } %>
<% if (post.next){ %>
<div class="post-nav-next post-nav-item">
<a href="<%- url_for(post.next.path) %>" ><%= post.next.title %><i class="fa fa-chevron-right"></i></a>
</div>
<% } %>
</div>
<%- partial('partial/_comment/index') %>
</article>

View File

@ -0,0 +1,4 @@
<div class="category">
<%- list_categories({order: -1}) %>
</div>

View File

@ -0,0 +1,19 @@
<div id="bottom-outer">
<div id="bottom-inner">
© 2020 <i class="fa fa-heart" id="heart"></i> <%= config.author %>
<br>
Powered by
<a href="http://hexo.io">hexo</a> | Theme is <a href="https://github.com/a2396837/hexo-theme-blank/"><%=config.theme%></a>
<% if (theme.ICP.enable){ %>
<div class="icp-info">
<% if(theme.ICP.icon){ %>
<img class="icp-icon" src="<%=theme.ICP.icon %>">
<% } %>
<a href="<%=theme.ICP.link%>" target="_blank"> <%=theme.ICP.text%></a>
</div>
<% } %>
</div>
</div>
<%- partial('partial/script') %>

View File

@ -0,0 +1,8 @@
<a id="gotop" href="javascript:" title="返回顶部"><i class="fa fa-arrow-up"></i></a>

View File

@ -0,0 +1,74 @@
<!DOCTYPE html>
<html lang="<%= config.language %>">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<% if (theme.favicon){ %>
<link rel="icon" href="<%- url_for(theme.favicon) %>">
<% } %>
<% if(config.author){ %>
<meta name="author" content="<%- config.author %>">
<% } %>
<% if(config.subtitle){ %>
<meta name="subtitle" content="<%- config.subtitle %>">
<% } %>
<% if(config.description){ %>
<meta name="description" content="<%= config.description %>">
<% } %>
<% if(config.keywords){ %>
<meta name="keywords" content="<%= page.keywords %>,<%- config.keywords %>">
<% } %>
<% if (theme.rss){ %>
<link rel="alternate" href="<%= url_for(theme.rss) %> " title="<%= config.title %>" type="application/atom+xml">
<% } %>
<%
var title = page.title;
if (is_archive()){
title = __('archive');
if (is_month()){
title += ': ' + page.year + '/' + page.month;
} else if (is_year()){
title += ': ' + page.year;
}
} else if (is_category()){
title = __('category') + ': ' + page.category;
} else if (is_tag()){
title = __('tag') + ': ' + page.tag;
}
%>
<title><% if (title){ %><%= title %> | <% } %><%= config.title %></title>
<%- partial('partial/_third-party/google-analytics') %>
<%- partial('partial/_third-party/baidu-analytics') %>
<% if (theme.baidu_push.enable){ %>
<%- partial('partial/_third-party/baidu-push') %>
<% } %>
<link rel="stylesheet" href="<%= url_for('css/style.css') %>" >
<link rel="stylesheet" href="<%= url_for('/css/partial/dark.css') %>" >
<% if (theme.fonts.font_link){ %>
<link rel="preconnect" href="https://fonts.googleapis.com" crossorigin="">
<link rel="stylesheet" href="<%= theme.fonts.font_link %>" media="print" onload="this.media='all'">
<% } %>
<% if(theme.title_font.font_link){ %>
<link rel="preconnect" href="https://fonts.googleapis.com" crossorigin="">
<link rel="stylesheet" href="<%= theme.title_font.font_link %>" media="print" onload="this.media='all'">
<% } %>
<% if (theme.stylesheets !== undefined && theme.stylesheets.length > 0) { %>
<% theme.stylesheets.forEach(url => { %>
<link rel="stylesheet" href="<%= url_for(url) %>">
<% }); %>
<% } %>
<% if(theme.todark.enable){ %>
<script src="<%- url_for('/js/todark.js') %>"></script>
<% } %>
</head>
</html>

View File

@ -0,0 +1,28 @@
<header class="header">
<% if(theme.logo.method == 1){ %>
<div class="title">
<a href="<%- url_for() %>"><%= config.title %></a>
</div>
<% } else if (theme.logo.method == 2 && theme.logo.avatar) { %>
<div class="logo">
<a href="<%- url_for() %>"><img src="<%= theme.logo.avatar %>" onerror=this.onerror=null,this.src="<%= url_for(theme.lazyload.image) %>"></a>
</div>
<% } %>
</div>
<% if(theme.subtitle_social.method == 1 || theme.subtitle_social.method == 2){ %>
<div class="motto">
<span><%= theme.subtitle_social.subtitle.motto %></span>
</div>
<% } %>
<% if(theme.subtitle_social.method == 2 || theme.subtitle_social.method == 3) { %>
<div class="social">
<% for (var i in theme.subtitle_social.social) { %>
<a class="social-icon" href="<%= theme.subtitle_social.social[i].url%>" target="_blank" title="<%= i %>">
<i class="<%= theme.subtitle_social.social[i].icon %>" aria-hidden="true"></i>
</a>
<% } %>
</div>
<% } %>
</header>

View File

@ -0,0 +1,21 @@
<% if (site.data.links){ %>
<div id="links">
<div class="links-content">
<div class="link-navigation">
<% for (var i in site.data.links) { %>
<div class="card">
<% if(theme.lazyload.enable) {%>
<img class="ava" data-src="<%= site.data.links[i].avatar %>" onerror=this.onerror=null,this.src="<%= url_for(theme.lazyload.image) %>">
<% } else { %>
<img class="ava" src="<%= site.data.links[i].avatar %>" onerror=this.onerror=null,this.src="<%= url_for(theme.lazyload.image) %>">
<% } %>
<div class="card-header">
<div><a href="<%= site.data.links[i].link %>" target="_blank" title="<%= site.data.links[i].name %>"><%= site.data.links[i].name %></a></div>
<div class="info" title="<%= site.data.links[i].info %>"><%= site.data.links[i].info %></div>
</div>
</div>
<% } %>
</div>
</div>
<% } %>
<%- page.content %>

View File

@ -0,0 +1,29 @@
<div class="nav index" style="height: 60px;">
<div class="title animated fadeInDown">
<div class="layui-container">
<div class="nav-title"><a href="<%- url_for() %>" title="<%= config.title %>"><%= config.title %></a></div>
<div class="nav-list">
<button> <span class=""></span><span style="display: block;"></span><span class=""></span> </button>
<ul class="layui-nav" lay-filter="">
<% for (var i in theme.menu){ %>
<% var arr = theme.menu[i].split('||') %>
<% var url = arr[0] %>
<% var icon = arr[1] %>
<% var color = arr[2] %>
<li class="layui-nav-item">
<a href="<%- url %>">
<i class="<%- icon %>" style="color:<%- color %>;"></i>
<span class="layui-nav-item-name"><%- __(i) %></span>
</a>
</li>
<% } %>
<% if (theme.todark.enable){ %>
<li class="layui-nav-item" id="btn-toggle-dark">🌙</li>
<% } %>
<span class="layui-nav-bar" style="left: 342px; top: 78px; width: 0px; opacity: 0;"></span>
</ul>
</div>
</div>
</div>
</div>

View File

@ -0,0 +1,21 @@
<article class="post-wrap page">
<h1 class="pagetitle"><%=page.title%></h1>
<section class="content">
<% if (page.archive || page.type === "archive") { %>
<%- partial('partial/archive') %>
<% } else if (page.type === "tags") { %>
<%- partial('partial/tags') %>
<% } else if (page.type === 'categories') { %>
<%- partial('partial/categories') %>
<% } else if (page.type === 'link') { %>
<%- partial('partial/link') %>
<% } else if (page.type === 'search') { %>
<%- partial('partial/_search/local-search') %>
<% } else { %>
<%- page.content %>
<% } %>
</section>
<%- partial('partial/_comment/index') %>
</article>

View File

@ -0,0 +1,8 @@
<nav class="paginator">
<% if (page.prev){ %>
<a class="prev" href="<%= config.root %><%- page.prev_link %>">< <%= __('prev') %></a>
<% } %>
<% if (page.next){ %>
<a class="next" href="<%= config.root %><%- page.next_link %>"><%= __('next') %> ></a>
<% } %>
</nav>

View File

@ -0,0 +1,35 @@
<div class="post-meta">
<% if (post.top || post.sticky > 0) { %>
<div class="post-meta-item top">
<i class="far fa-bookmark"></i>
<span class="sticky"><%= __('Sticky') %></span>
</div>
<% } %>
<% if(theme.post_meta.page.date){ %>
<div class="post-meta-item date">
<span title="<%= __('created') %> <%- date(post.date, 'YYYY.MM.DD') %>"><i class="far fa-calendar-alt"></i> <%- date(post.date, 'YYYY.MM.DD') %></span>
</div>
<div class="post-meta-item updated">
<span title="<%= __('updated') %> <%- date(post.updated, 'YYYY.MM.DD') %>"><i class="far fa-calendar-check"></i> <%- date(post.updated, 'YYYY.MM.DD') %></span>
</div>
<% } %>
<% if(theme.post_meta.page.categories && post.categories.length > 0){ %>
<div class="post-meta-item categories">
<% post.categories.each(function(cate){ %>
<i class="fas fa-inbox article-meta__icon"></i> <a href="<%= url_for(cate.path) %>"><%- cate.name %></a>
<% }) %>
</div>
<% } %>
<% if(theme.post_meta.page.wordcount || theme.post_meta.page.min2read){ %>
<div class="post-meta-item wordcount">
<% if(theme.post_meta.page.wordcount){ %>
<i class="fas fa-pencil-alt"></i> <span class="post-count"><%= wordcount(post.content) %> <%= __('words') %></span>
<% } %>
<% if(theme.post_meta.page.min2read){ %>
<i class="far fa-clock"></i> <span class="post-count"><%= min2read(post.content) %> <%= __('min') %></span>
<% } %>
</div>
<% } %>
</div>

View File

@ -0,0 +1,61 @@
<% if (page.posts.length > 0) { %>
<div id="recent-posts">
<% page.posts.each(function (post) { %>
<div class="recent-post-item">
<div class="post-title ">
<a href="<%=url_for(post.path)%>"><%=post.title%></a>
</div>
<div class="post-meta">
<% if (post.top || post.sticky > 0) { %>
<div class="post-meta-item top">
<i class="far fa-bookmark"></i>
<span class="sticky"><%= __('Sticky') %></span>
</div>
<% } %>
<% if(theme.post_meta.page.date){ %>
<div class="post-meta-item date">
<span title="<%= __('created') %> <%- date(post.date, 'YYYY.MM.DD') %>"><i class="far fa-calendar-alt"></i> <%- date(post.date, 'YYYY.MM.DD') %></span>
</div>
<div class="post-meta-item updated">
<span title="<%= __('updated') %> <%- date(post.updated, 'YYYY.MM.DD') %>"><i class="far fa-calendar-check"></i> <%- date(post.updated, 'YYYY.MM.DD') %></span>
</div>
<% } %>
<% if(theme.post_meta.page.categories && post.categories.length > 0){ %>
<div class="post-meta-item categories">
<% post.categories.each(function(cate){ %>
<i class="fas fa-inbox article-meta__icon"></i> <a href="<%= url_for(cate.path) %>"><%- cate.name %></a>
<% }) %>
</div>
<% } %>
<% if(theme.post_meta.page.wordcount || theme.post_meta.page.min2read){ %>
<div class="post-meta-item wordcount">
<% if(theme.post_meta.page.wordcount){ %>
<i class="fas fa-pencil-alt"></i> <span class="post-count"><%= wordcount(post.content) %> <%= __('words') %></span>
<% } %>
<% if(theme.post_meta.page.min2read){ %>
<i class="far fa-clock"></i> <span class="post-count"><%= min2read(post.content) %> <%= __('min') %></span>
<% } %>
</div>
<% } %>
</div>
<div class="content">
<% if (post.excerpt) { %>
<%- post.excerpt %>
<% } else if (post.description) { %>
<%- strip_html(post.description) %>
<% } else if (theme.auto_excerpt.enable && post.auto_excerpt) { %>
<%- strip_html(truncate(post.content, {length: theme.auto_excerpt.length})) %>
<% } else { %>
<%- post.content %>
<% } %>
</div>
</div>
<div class="post-footer">
<% if(post.excerpt || post.descripttion || (theme.auto_excerpt.enable && post.auto_excerpt)) { %>
<div class="readmore"><a href="<%=url_for(post.path)%>"><%= __('Read More') %> »</a></div>
<% } %>
</div>
<% }) %>
</div>
<% } %>

View File

@ -0,0 +1,62 @@
<script src="https://cdn.jsdelivr.net/npm/layui-src@2.5.5/dist/layui.min.js"></script>
<% if (theme.scripts !== undefined && theme.scripts.length > 0) { %>
<% theme.scripts.forEach(url => { %>
<script src="<%- url_for(url) %>"></script>
<% }); %>
<% } %>
<% if (config.search && theme.local_search.enable) { %>
<%- partial('partial/_search/local-searchjs', {cache: true}) %>
<% } %>
<% if(theme.lazyload.enable){ %>
<%- partial('partial/_modify/lazyload', {cache: true}) %>
<% } %>
<% if(theme.fancybox.enable) { %>
<%- partial('partial/_modify/fancybox', {cache: true}) %>
<% } %>
<% if(theme.mathjax.enable) { %>
<%- partial('partial/_maths/mathjax', {cache: true}) %>
<% } %>
<% if(theme.mermaid.enable) { %>
<%- partial('partial/_maths/mermaid', {cache: true}) %>
<% } %>
<% if(theme.reward.enable && is_post()) { %>
<%- partial('partial/_modify/rewards/rewardjs', {cache: true}) %>
<%} %>
<% if(theme.audio.enable){ %>
<%- partial('partial/_modify/audio', {cache:true}) %>
<% } %>
<% if(theme.instantpage.enable) { %>
<script src="<%= theme.instantpage.script %>" type="module" defer></script>
<% } %>
<% if(theme.Click.firework){ %>
<script src="<%= theme.Click.firework_script %>"></script>
<% } %>
<% if(theme.copy.enable){ %>
<%- partial('partial/_modify/copy', {cache:true}) %>
<% } %>
<script>
var btntop = $('#gotop');
btntop.on('click', function (e) {
e.preventDefault();
$('html, body').animate({ scrollTop: 0 }, '300');
});
var $table = $('.content table').not($('figure.highlight > table'))
$table.each(function () {
$(this).wrap('<div class="table-wrap"></div>')
})
</script>

View File

@ -0,0 +1,11 @@
<div class="tags-cloud">
<%- tagcloud({amount: 200}) %>
</div>
<script type="text/javascript">
var list = document.querySelectorAll('.tags-cloud a');
Array.prototype.forEach.call(list, (item, index) => {
item.style.fontSize = Math.floor(Math.random() * 29 + 12) + 'px';//12 ~ 40
item.style.color = 'rgb(' + Math.floor(Math.random() * 201) + ', ' + Math.floor(Math.random() * 201) + ', ' + Math.floor(Math.random() * 201) + ')';// 0,0,0 -> 200,200,200
});
</script>

View File

@ -0,0 +1 @@
<%- partial('partial/article', {post: page, index: false}) %>

View File

@ -0,0 +1 @@
<%- partial('archive', {pagination: config.tag, index: false}) %>

View File

@ -0,0 +1,10 @@
hexo.extend.generator.register('404', function (locals) {
if (!hexo.theme.config.page_404.enable) return
return {
path: '404.html',
data: {},
layout: ['404','layout']
};
});

View File

@ -0,0 +1,15 @@
/**
* transplant from hexo-theme-butterfly
* mermaid
* https://github.com/mermaid-js/mermaid
*/
'use strict'
function mermaid (args, content) {
return `<div class="mermaid">
${content}
</div>`
}
hexo.extend.tag.register('mermaid', mermaid, { ends: true })

View File

@ -0,0 +1,21 @@
/**
* lazyload.js
* transplant from hexo-theme-butterfly
*/
'use strict'
const urlFor = require('hexo-util').url_for.bind(hexo)
function lazyProcess (htmlContent) {
var bg = hexo.theme.config.lazyload.image ? urlFor(hexo.theme.config.lazyload.image) : 'data:image/gif;base64,R0lGODdhAQABAPAAAMPDwwAAACwAAAAAAQABAAACAkQBADs='
return htmlContent.replace(/(<img .*?src=)/ig, `$1 "${bg}" data-src=`)
}
var processPost = function (data) {
if (!hexo.theme.config.lazyload.enable) return
data.content = lazyProcess.call(this, data.content)
return data
}
hexo.extend.filter.register('after_post_render', processPost)

View File

@ -0,0 +1,17 @@
/* global hexo */
'use strict';
hexo.on('generateBefore', function () {
var rootConfig = hexo.config;
if (hexo.locals.get) {
var data = hexo.locals.get('data');
if (data && data.blank) {
hexo.theme.config = data.blank;
}
}
hexo.theme.config.rootConfig = rootConfig;
});

View File

@ -0,0 +1,39 @@
/**
* transplant from hexo-theme-volantis
*/
'use strict';
function postBtns(args, content) {
return `<div class="btns ${args.join(' ')}">
${content}
</div>`;
}
function postCell(args, content) {
args = args.join(' ').split(',')
let text = args[0] || ''
let url = args[1] || ''
text = text.trim()
url = url.trim()
if (url.length > 0) {
url = "href='" + url + "'"
}
let icon = ''
let img = 'https://cdn.jsdelivr.net/gh/xaoxuu/cdn-assets/placeholder/d570170f4f12e1ee829ca0e85a7dffeb77343a.svg'
if (args.length > 2) {
if (args[2].indexOf(' fa-') > -1) {
icon = args[2].trim()
} else {
img = args[2].trim()
}
}
if (icon.length > 0) {
return `<a ${url} title='${text}'><i class='${icon}'></i>${text}</a>`
} else {
return `<a ${url} title='${text}'><img src='${img}'>${text}</a>`
}
}
hexo.extend.tag.register('btns', postBtns, {ends: true});
hexo.extend.tag.register('cell', postCell);

View File

@ -0,0 +1,57 @@
/**
* transplant from hexo-theme-volantis
*/
'use strict';
function postCheckbox(args) {
args = args.join(' ').split(',')
var cls = ''
var text = ''
var checked = false
if (args.length > 1) {
cls = (args[0] || '').trim()
if (cls.length > 0) {
cls = ' ' + cls
}
if (cls.indexOf('checked') > -1) {
checked = true
}
text = (args[1] || '').trim()
} else if (args.length > 0) {
text = (args[0] || '').trim()
}
if (text.length > 0) {
return `<div class='checkbox${cls}'><input type="checkbox" ${ checked ? 'checked="checked"' : '' }/>
${hexo.render.renderSync({text: text, engine: 'markdown'}).split('\n').join('')}
</div>`
}
}
function postRadio(args) {
args = args.join(' ').split(',')
var cls = ''
var text = ''
var checked = false
if (args.length > 1) {
cls = (args[0] || '').trim()
if (cls.length > 0) {
cls = ' ' + cls
}
if (cls.indexOf('checked') > -1) {
checked = true
}
text = (args[1] || '').trim()
} else if (args.length > 0) {
text = (args[0] || '').trim()
}
if (text.length > 0) {
return `<div class='checkbox${cls}'><input type="radio" ${ checked ? 'checked="checked"' : '' }/>
${hexo.render.renderSync({text: text, engine: 'markdown'}).split('\n').join('')}
</div>`
}
}
// {% checkbox text %}
// {% checkbox checked, text %}
// {% checkbox color checked, text %}
hexo.extend.tag.register('checkbox', postCheckbox);
hexo.extend.tag.register('radio', postRadio);

View File

@ -0,0 +1,34 @@
/**
* transplant from hexo-theme-volantis
*/
'use strict';
function postFolding(args, content) {
args = args.join(' ').split(',');
let style = ''
let title = ''
if (args.length > 1) {
style = args[0].trim()
title = args[1].trim()
} else if (args.length > 0) {
title = args[0].trim()
}
if (style != undefined) {
return `<details ${style}><summary> ${hexo.render.renderSync({text: title, engine: 'markdown'}).split('\n').join('')} </summary>
<div class='content'>
${hexo.render.renderSync({text: content, engine: 'markdown'}).split('\n').join('')}
</div>
</details>`;
} else {
return `<details><summary> ${hexo.render.renderSync({text: title, engine: 'markdown'}).split('\n').join('')} </summary>
<div class='content'>
${hexo.render.renderSync({text: content, engine: 'markdown'}).split('\n').join('')}
</div>
</details>`;
}
}
hexo.extend.tag.register('folding', postFolding, {ends: true});

View File

@ -0,0 +1,22 @@
/**
* note.js
* transplant from hexo-theme-fluid
*/
'use strict';
const note = (args, content) => {
if (!args || !args[0]) {
args = ['primary'];
}
return `<div class="note note-${args.join(' ')}">
${hexo.render.renderSync({ text: content, engine: 'markdown' }).split('\n').join('')}
</div>`;
};
/*
{% note class %}
text
{% endnote %}
*/
hexo.extend.tag.register('note', note, { ends: true });

View File

@ -0,0 +1,57 @@
/**
* transplant from hexo-theme-volantis
*/
'use strict';
function postTabs(args, content) {
var tabBlock = /<!--\s*tab (.*?)\s*-->\n([\w\W\s\S]*?)<!--\s*endtab\s*-->/g;
args = args.join(' ').split(',');
var tabName = args[0];
var tabActive = Number(args[1]) || 0;
var matches = [];
var match;
var tabId = 0;
var tabNav = '';
var tabContent = '';
!tabName && hexo.log.warn('Tabs block must have unique name!');
while ((match = tabBlock.exec(content)) !== null) {
matches.push(match[1]);
matches.push(match[2]);
}
for (var i = 0; i < matches.length; i += 2) {
var tabParameters = matches[i].split('@');
var postContent = matches[i + 1];
var tabCaption = tabParameters[0] || '';
var tabIcon = tabParameters[1] || '';
var tabHref = '';
postContent = hexo.render.renderSync({text: postContent, engine: 'markdown'}).trim();
tabId += 1;
tabHref = (tabName + ' ' + tabId).toLowerCase().split(' ').join('-');
((tabCaption.length === 0) && (tabIcon.length === 0)) && (tabCaption = tabName + ' ' + tabId);
var isOnlyicon = tabIcon.length > 0 && tabCaption.length === 0 ? ' style="text-align: center;"' : '';
tabIcon.length > 0 && (tabIcon = `<i class="fa fa-${tabIcon.trim()}"${isOnlyicon}></i>`);
var isActive = (tabActive > 0 && tabActive === tabId) || (tabActive === 0 && tabId === 1) ? ' active' : '';
tabNav += `<li class="tab${isActive}"><a href="#${tabHref}">${tabIcon + tabCaption.trim()}</a></li>`;
tabContent += `<div class="tab-pane${isActive}" id="${tabHref}">${postContent}</div>`;
}
tabNav = `<ul class="nav-tabs">${tabNav}</ul>`;
tabContent = `<div class="tab-content">${tabContent}</div>`;
return `<div class="tabs" id="${tabName.toLowerCase().split(' ').join('-')}">${tabNav + tabContent}</div>`;
}
hexo.extend.tag.register('tabs', postTabs, {ends: true});
hexo.extend.tag.register('subtabs', postTabs, {ends: true});
hexo.extend.tag.register('subsubtabs', postTabs, {ends: true});

View File

@ -0,0 +1,36 @@
var util = require('hexo-util');
var stripHTML = util.stripHTML;
var counter = function (content) {
content = stripHTML(content);
const cn = (content.match(/[\u4E00-\u9FA5]/g) || []).length;
const en = (content.replace(/[\u4E00-\u9FA5]/g, '').match(/[a-zA-Z0-9_\u0392-\u03c9\u0400-\u04FF]+|[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af\u0400-\u04FF]+|[\u00E4\u00C4\u00E5\u00C5\u00F6\u00D6]+|\w+/g) || []).length;
return [cn, en];
};
hexo.extend.helper.register('min2read', function (content, { cn = 300, en = 160 } = {}) {
var len = counter(content);
var readingTime = len[0] / cn + len[1] / en;
return readingTime < 1 ? '1' : parseInt(readingTime, 10);
});
hexo.extend.helper.register('wordcount', function (content) {
var len = counter(content);
var count = len[0] + len[1];
if (count < 1000) {
return count;
}
return Math.round(count / 100) / 10 + 'k';
});
hexo.extend.helper.register('totalcount', function (site) {
var count = 0;
site.posts.forEach(function (post) {
var len = counter(post.content);
count += len[0] + len[1];
});
if (count < 1000) {
return count;
}
return Math.round(count / 100) / 10 + 'k';
});

View File

@ -0,0 +1,18 @@
hexo.extend.helper.register('getAnimalIcon', function (year) {
var index = parseInt(year) % 12;
var icon = {
0: 'symbolic-animals icon-monkey',
1: 'symbolic-animals icon-rooster',
2: 'symbolic-animals icon-dog',
3: 'symbolic-animals icon-pig',
4: 'symbolic-animals icon-rat',
5: 'symbolic-animals icon-ox',
6: 'symbolic-animals icon-tiger',
7: 'symbolic-animals icon-rabbit',
8: 'symbolic-animals icon-dragon',
9: 'symbolic-animals icon-snake',
10: 'symbolic-animals icon-horse',
11: 'symbolic-animals icon-goat',
}
return icon[index]
});

View File

@ -0,0 +1,27 @@
@media (prefers-color-scheme: dark) {
:root {
--color-mode: 'dark';
}
}
[data-user-color-scheme="dark"] {
--color-mode:'dark'
--text: rgba(255,255,255,0.86);
--link: #def2ff;
--bg: #181c27;
--code: #c3c7cb;
--codebg: #3e4b5e;
--navbg: #252d38;
--item: rgba(255,255,255,0.86);
--meta: #bbbbbb7a;
--cpyr: #252d38;
img {
filter: brightness(50%);
}
.note {
filter: brightness(50%)
}
.highlight, .gutter {
background-color: #3c495b !important;
}
}

View File

@ -0,0 +1,38 @@
@font-face {
font-family: 'chinese-zodiac';
font-display: swap;
src: url('../fonts/chinese-zodiac.eot');
src: url('../fonts/chinese-zodiac.eot') format('embedded-opentype'),
url('../fonts/chinese-zodiac.woff2') format('woff2'),
url('../fonts/chinese-zodiac.woff') format('woff');
font-weight: normal;
font-style: normal;
}
.symbolic-animals {
display: inline-block;
font: normal normal normal 14px/1 chinese-zodiac;
font-size: larger;
float: right;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-dragon:before { content: '\e806'; }
.icon-tiger:before { content: '\e809'; }
.icon-pig:before { content: '\e810'; }
.icon-horse:before { content: '\e813'; }
.icon-rat:before { content: '\e816'; }
.icon-goat:before { content: '\e818'; }
.icon-snake:before { content: '\e820'; }
.icon-ox:before { content: '\e822'; }
.icon-dog:before { content: '\e825'; }
.icon-rabbit:before { content: '\e826'; }
.icon-monkey:before { content: '\e829'; }
.icon-rooster:before { content: '\e82f'; }

View File

@ -0,0 +1,228 @@
.header {
max-width:650px;
padding: 120px 0 60px 0;
margin: 0 auto;
-webkit-background-size: cover;
background-size: cover;
.title, .logo {
text-align: center;
font-family: $title_font;
text-decoration: none;
font-size: 5rem;
font-weight: bold;
letter-spacing: 5px;
line-height: 1.5;
}
.logo img{
width: 120px;
height: 120px;
border-radius: 70px;
transition: all .5s;
}
.logo img:hover{
transform: rotate(360deg);
}
}
.motto {
text-align: center;
margin: 0.5em;
font-size: $motto_font-size
color: $motto_color
}
.social {
text-align: center;
margin-bottom: 2em;
}
.social-icon {
margin: 0 .5rem;
font-size: 1.25rem;
}
.animated {
-webkit-animation-fill-mode: both;
-moz-animation-fill-mode: both;
-ms-animation-fill-mode: both;
-o-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation-duration: 1s;
-moz-animation-duration: 1s;
-ms-animation-duration: 1s;
-o-animation-duration: 1s;
animation-duration: 1s;
}
.animated.hinge {
-webkit-animation-duration: 1s;
-moz-animation-duration: 1s;
-ms-animation-duration: 1s;
-o-animation-duration: 1s;
animation-duration: 1s;
}
@-webkit-keyframes fadeInDown {
0% {
opacity: 0;
-webkit-transform: translateY(-20px);
}
100% {
opacity: 1;
-webkit-transform: translateY(0);
}
}
@-moz-keyframes fadeInDown {
0% {
opacity: 0;
-moz-transform: translateY(-20px);
}
100% {
opacity: 1;
-moz-transform: translateY(0);
}
}
@-o-keyframes fadeInDown {
0% {
opacity: 0;
-o-transform: translateY(-20px);
}
100% {
opacity: 1;
-o-transform: translateY(0);
}
}
@keyframes fadeInDown {
0% {
opacity: 0;
transform: translateY(-20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.fadeInDown {
-webkit-animation-name: fadeInDown;
-moz-animation-name: fadeInDown;
-o-animation-name: fadeInDown;
animation-name: fadeInDown;
}
.nav {
width: 100%;
height: 80px;
box-shadow: 0 3px 3px 0 #CCC;
background: #FFF;
position: fixed;
left: 0;
top: 0;
z-index: 999;
overflow: hidden;
transition: 0.3s;
}
.nav.index {
background: var(--navbg);;
box-shadow: 0 0 0 0 rgba(0,0,0,0.05);
}
.nav.scroll {
background: var(--navbg);;
box-shadow: 0 3px 3px 0 rgba(0,0,0,0.05);
transition: 0.3s
}
.nav .layui-container {
position: relative;
transition: all 400ms ease-out;
}
.nav .layui-container .nav-title{
font-family: $title_font
padding: 0.5em;
font-weight: 700;
font-size: 1.5em;
a {
color: var(--item);
}
}
.nav .nav-list {
display: inline-block;
height: 80px;
}
.nav .nav-list button {
width: 25px;
height: 30px;
position: absolute;
top: 15px;
right: 15px;
background-color: transparent;
border: none;
outline: none;
cursor: pointer;
}
.nav .nav-list button span {
display: block;
width: 25px;
height: 2px;
background: var(--text);
margin-bottom: 6px;
transition: 0.5s;
}
.nav .nav-list button span.spa1 {
transform: rotate(45deg);
}
.nav .nav-list button span.spa3 {
transform: rotate(-45deg) translate(5px, -5px);
}
.nav .layui-nav {
width: 100%;
position: absolute;
right: 0;
color: #000;
background: transparent;
}
.nav .layui-nav .layui-nav-item {
display: inline-block;
margin: 0;
padding: 1em .75em;
}
.nav .layui-nav * {
font-size: 18px;
}
.nav .layui-nav .layui-nav-item a {
padding: 0 0;
color: var(--item);
}
.nav .layui-nav-bar, .nav .layui-nav .layui-this:after {
height: 2px;
background-color: #517ACD;
}
.nav .layui-nav .layui-this a, .nav .layui-nav .layui-nav-item a:hover {
color: #517ACD;
}
@media screen and (min-width: 900px) {
.nav {
max-height: 60px;
}
.nav.index {
background: var(--navbg);
}
.nav .nav-list button {
display: none;
}
.nav .layui-nav {
width: auto;
position: absolute;
top: 0;
padding: 0 5px;
border-radius: 0;
margin: 0;
}
.nav .layui-nav .layui-nav-item {
display: inline-block;
margin: 0 0rem;
}
}

View File

@ -0,0 +1,115 @@
code {
word-wrap: break-word;
word-break: break-word;
overflow-wrap: break-word;
}
code {
color: var(--code);
background-color: var(--codebg);
padding: 0.25rem 0.5rem;
margin: 0;
font-size: 0.9em;
border-radius: 3px;
font-family: Consolas,"Panic Sans","DejaVu Sans Mono","Bitstream Vera Sans Mono",Menlo,"Microsoft Yahei"!important;
}
.highlight {
position: relative;
width: 100%;
margin: .5rem 0;
display: block;
background-color: $codecolor;
font-size: .9rem;
border-radius: 4px;
line-height: 1.5;
-webkit-font-smoothing: auto;
-moz-osx-font-smoothing: auto;
overflow: hidden;
transition: all .28s ease;
-moz-transition: all .28s ease;
-webkit-transition: all .28s ease;
-o-transition: all .28s ease;
}
.highlight>table {
overflow: auto;
display: block;
margin: 0;
background-color: transparent;
border: none;
}
table {
border-collapse: collapse;
overflow: auto;
display: inline-block;
max-width: 100%;
margin-right: .5rem;
vertical-align: text-top;
}
.highlight>table pre {
background: 0 0;
margin: 0;
padding: 0;
border: none;
}
.content pre {
display: block;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin-top: .5rem;
margin-bottom: .5rem;
overflow: auto;
font-size: .9rem;
font-family: Consolas,"Panic Sans","DejaVu Sans Mono","Bitstream Vera Sans Mono",Menlo,"Microsoft Yahei"!important;
border: 1px solid $guttercolor;
padding: 16px;
border-radius: 4px;
}
.highlight>table .gutter {
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
user-select: none;
border-top-left-radius: calc(4px - 1px);
border-bottom-left-radius: calc(4px - 1px);
padding: 0 12px;
text-align: right;
border-width: 0;
margin-left: 0;
position: sticky;
left: 0;
z-index: 1;
background-color: $guttercolor;
}
.btn-copy {
z-index: 1;
display: inline-block;
cursor: pointer;
border: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
user-select: none;
-webkit-appearance: none;
font-size: 11.5px;
font-weight: 700;
padding: 4px 8px;
color: rgba(68,68,68,.65);
background: #fff;
border-radius: 3px;
box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
position: absolute;
top: 0;
right: 0;
opacity: 0;
transition: all .28s ease;
-moz-transition: all .28s ease;
-webkit-transition: all .28s ease;
-o-transition: all .28s ease;
}
.btn-copy span {
margin-left: 5px;
}
.highlight:hover .btn-copy{
opacity: 1;
}

View File

@ -0,0 +1,99 @@
/* a11y-dark theme */
/* Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css */
/* @author: ericwbailey */
/* Comment */
.highlight .comment,
.highlight .quote {
color: #d4d0ab;
}
/* Red */
.highlight .variable,
.highlight .template-variable,
.highlight .tag,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class,
.highlight .regexp,
.highlight .deletion {
color: #ffa07a;
}
/* Orange */
.highlight .number,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params,
.highlight .meta,
.highlight .link {
color: #f5ab35;
}
/* Yellow */
.highlight .attribute {
color: #ffd700;
}
/* Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet,
.highlight .addition {
color: #abe338;
}
/* Blue */
.highlight .title,
.highlight .section {
color: #00e0e0;
}
/* Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #dcc6e0;
}
.highlight {
display: block;
overflow-x: auto;
background: #2b2b2b;
color: #f8f8f2;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}
@media screen and (-ms-high-contrast: active) {
.highlight .addition,
.highlight .attribute,
.highlight .built_in,
.highlight .builtin-name,
.highlight .bullet,
.highlight .comment,
.highlight .link,
.highlight .literal,
.highlight .meta,
.highlight .number,
.highlight .params,
.highlight .string,
.highlight .symbol,
.highlight .type,
.highlight .quote {
color: highlight;
}
.highlight .keyword,
.highlight .selector-tag {
font-weight: bold;
}
}

View File

@ -0,0 +1,99 @@
/* a11y-light theme */
/* Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css */
/* @author: ericwbailey */
/* Comment */
.highlight .comment,
.highlight .quote {
color: #696969;
}
/* Red */
.highlight .variable,
.highlight .template-variable,
.highlight .tag,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class,
.highlight .regexp,
.highlight .deletion {
color: #d91e18;
}
/* Orange */
.highlight .number,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params,
.highlight .meta,
.highlight .link {
color: #aa5d00;
}
/* Yellow */
.highlight .attribute {
color: #aa5d00;
}
/* Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet,
.highlight .addition {
color: #008000;
}
/* Blue */
.highlight .title,
.highlight .section {
color: #007faa;
}
/* Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #7928a1;
}
.highlight {
display: block;
overflow-x: auto;
background: #fefefe;
color: #545454;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}
@media screen and (-ms-high-contrast: active) {
.highlight .addition,
.highlight .attribute,
.highlight .built_in,
.highlight .builtin-name,
.highlight .bullet,
.highlight .comment,
.highlight .link,
.highlight .literal,
.highlight .meta,
.highlight .number,
.highlight .params,
.highlight .string,
.highlight .symbol,
.highlight .type,
.highlight .quote {
color: highlight;
}
.highlight .keyword,
.highlight .selector-tag {
font-weight: bold;
}
}

View File

@ -0,0 +1,108 @@
/*!
* Agate by Taufik Nurrohman <https://github.com/taufik-nurrohman>
* ---------------------------------------------------------------
*
* #ade5fc
* #a2fca2
* #c6b4f0
* #d36363
* #fcc28c
* #fc9b9b
* #ffa
* #fff
* #333
* #62c8f3
* #888
*
*/
.highlight {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #333;
color: white;
}
.highlight .name,
.highlight .strong {
font-weight: bold;
}
.highlight .code,
.highlight .emphasis {
font-style: italic;
}
.highlight .tag {
color: #62c8f3;
}
.highlight .variable,
.highlight .template-variable,
.highlight .selector-id,
.highlight .selector-class {
color: #ade5fc;
}
.highlight .string,
.highlight .bullet {
color: #a2fca2;
}
.highlight .type,
.highlight .title,
.highlight .section,
.highlight .attribute,
.highlight .quote,
.highlight .built_in,
.highlight .builtin-name {
color: #ffa;
}
.highlight .number,
.highlight .symbol,
.highlight .bullet {
color: #d36363;
}
.highlight .keyword,
.highlight .selector-tag,
.highlight .literal {
color: #fcc28c;
}
.highlight .comment,
.highlight .deletion,
.highlight .code {
color: #888;
}
.highlight .regexp,
.highlight .link {
color: #c6b4f0;
}
.highlight .meta {
color: #fc9b9b;
}
.highlight .deletion {
background-color: #fc9b9b;
color: #333;
}
.highlight .addition {
background-color: #a2fca2;
color: #333;
}
.highlight a {
color: inherit;
}
.highlight a:focus,
.highlight a:hover {
color: inherit;
text-decoration: underline;
}

View File

@ -0,0 +1,89 @@
/*
An Old Hope Star Wars Syntax (c) Gustavo Costa <gusbemacbe@gmail.com>
Original theme - Ocean Dark Theme by https://github.com/gavsiu
Based on Jesse Leite's Atom syntax theme 'An Old Hope' https://github.com/JesseLeite/an-old-hope-syntax-atom
*/
/* Death Star Comment */
.highlight .comment,
.highlight .quote
{
color: #B6B18B;
}
/* Darth Vader */
.highlight .variable,
.highlight .template-variable,
.highlight .tag,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class,
.highlight .regexp,
.highlight .deletion
{
color: #EB3C54;
}
/* Threepio */
.highlight .number,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params,
.highlight .meta,
.highlight .link
{
color: #E7CE56;
}
/* Luke Skywalker */
.highlight .attribute
{
color: #EE7C2B;
}
/* Obi Wan Kenobi */
.highlight .string,
.highlight .symbol,
.highlight .bullet,
.highlight .addition
{
color: #4FB4D7;
}
/* Yoda */
.highlight .title,
.highlight .section
{
color: #78BB65;
}
/* Mace Windu */
.highlight .keyword,
.highlight .selector-tag
{
color: #B45EA4;
}
/* Millenium Falcon */
.highlight
{
display: block;
overflow-x: auto;
background: #1C1D21;
color: #c0c5ce;
padding: 0.5em;
}
.highlight .emphasis
{
font-style: italic;
}
.highlight .strong
{
font-weight: bold;
}

View File

@ -0,0 +1,66 @@
/*
Date: 24 Fev 2015
Author: Pedro Oliveira <kanytu@gmail . com>
*/
.highlight {
color: #a9b7c6;
background: #282b2e;
display: block;
overflow-x: auto;
padding: 0.5em;
}
.highlight .number,
.highlight .literal,
.highlight .symbol,
.highlight .bullet {
color: #6897BB;
}
.highlight .keyword,
.highlight .selector-tag,
.highlight .deletion {
color: #cc7832;
}
.highlight .variable,
.highlight .template-variable,
.highlight .link {
color: #629755;
}
.highlight .comment,
.highlight .quote {
color: #808080;
}
.highlight .meta {
color: #bbb529;
}
.highlight .string,
.highlight .attribute,
.highlight .addition {
color: #6A8759;
}
.highlight .section,
.highlight .title,
.highlight .type {
color: #ffc66d;
}
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #e8bf6a;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,87 @@
/*
Arduino® Light Theme - Stefania Mellai <s.mellai@arduino.cc>
*/
.highlight {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #FFFFFF;
}
.highlight,
.highlight .subst {
color: #434f54;
}
.highlight .keyword,
.highlight .attribute,
.highlight .selector-tag,
.highlight .doctag,
.highlight .name {
color: #00979D;
}
.highlight .built_in,
.highlight .literal,
.highlight .bullet,
.highlight .code,
.highlight .addition {
color: #D35400;
}
.highlight .regexp,
.highlight .symbol,
.highlight .variable,
.highlight .template-variable,
.highlight .link,
.highlight .selector-attr,
.highlight .selector-pseudo {
color: #00979D;
}
.highlight .type,
.highlight .string,
.highlight .selector-id,
.highlight .selector-class,
.highlight .quote,
.highlight .template-tag,
.highlight .deletion {
color: #005C5F;
}
.highlight .title,
.highlight .section {
color: #880000;
font-weight: bold;
}
.highlight .comment {
color: rgba(149,165,166,.8);
}
.highlight .meta-keyword {
color: #728E00;
}
.highlight .meta {
color: #434f54;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}
.highlight .function {
color: #728E00;
}
.highlight .number {
color: #8A7B52;
}

View File

@ -0,0 +1,73 @@
/*
Date: 17.V.2011
Author: pumbur <pumbur@pumbur.net>
*/
.highlight {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #222;
}
.highlight,
.highlight .subst {
color: #aaa;
}
.highlight .section {
color: #fff;
}
.highlight .comment,
.highlight .quote,
.highlight .meta {
color: #444;
}
.highlight .string,
.highlight .symbol,
.highlight .bullet,
.highlight .regexp {
color: #ffcc33;
}
.highlight .number,
.highlight .addition {
color: #00cc66;
}
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .template-variable,
.highlight .attribute,
.highlight .link {
color: #32aaee;
}
.highlight .keyword,
.highlight .selector-tag,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #6644aa;
}
.highlight .title,
.highlight .variable,
.highlight .deletion,
.highlight .template-tag {
color: #bb1166;
}
.highlight .section,
.highlight .doctag,
.highlight .strong {
font-weight: bold;
}
.highlight .emphasis {
font-style: italic;
}

View File

@ -0,0 +1,45 @@
/*
Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
*/
.highlight {
display: block;
overflow-x: auto;
padding: 0.5em;
background: white;
color: black;
}
.highlight .string,
.highlight .variable,
.highlight .template-variable,
.highlight .symbol,
.highlight .bullet,
.highlight .section,
.highlight .addition,
.highlight .attribute,
.highlight .link {
color: #888;
}
.highlight .comment,
.highlight .quote,
.highlight .meta,
.highlight .deletion {
color: #ccc;
}
.highlight .keyword,
.highlight .selector-tag,
.highlight .section,
.highlight .name,
.highlight .type,
.highlight .strong {
font-weight: bold;
}
.highlight .emphasis {
font-style: italic;
}

View File

@ -0,0 +1,83 @@
/* Base16 Atelier Cave Dark - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Cave Comment */
.highlight .comment,
.highlight .quote {
color: #7e7887;
}
/* Atelier-Cave Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .regexp,
.highlight .link,
.highlight .tag,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #be4678;
}
/* Atelier-Cave Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #aa573c;
}
/* Atelier-Cave Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #2a9292;
}
/* Atelier-Cave Blue */
.highlight .title,
.highlight .section {
color: #576ddb;
}
/* Atelier-Cave Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #955ae7;
}
.highlight .deletion,
.highlight .addition {
color: #19171c;
display: inline-block;
width: 100%;
}
.highlight .deletion {
background-color: #be4678;
}
.highlight .addition {
background-color: #2a9292;
}
.highlight {
display: block;
overflow-x: auto;
background: #19171c;
color: #8b8792;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,85 @@
/* Base16 Atelier Cave Light - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Cave Comment */
.highlight .comment,
.highlight .quote {
color: #655f6d;
}
/* Atelier-Cave Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #be4678;
}
/* Atelier-Cave Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #aa573c;
}
/* Atelier-Cave Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #2a9292;
}
/* Atelier-Cave Blue */
.highlight .title,
.highlight .section {
color: #576ddb;
}
/* Atelier-Cave Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #955ae7;
}
.highlight .deletion,
.highlight .addition {
color: #19171c;
display: inline-block;
width: 100%;
}
.highlight .deletion {
background-color: #be4678;
}
.highlight .addition {
background-color: #2a9292;
}
.highlight {
display: block;
overflow-x: auto;
background: #efecf4;
color: #585260;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,69 @@
/* Base16 Atelier Dune Dark - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Dune Comment */
.highlight .comment,
.highlight .quote {
color: #999580;
}
/* Atelier-Dune Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #d73737;
}
/* Atelier-Dune Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #b65611;
}
/* Atelier-Dune Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #60ac39;
}
/* Atelier-Dune Blue */
.highlight .title,
.highlight .section {
color: #6684e1;
}
/* Atelier-Dune Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #b854d4;
}
.highlight {
display: block;
overflow-x: auto;
background: #20201d;
color: #a6a28c;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,69 @@
/* Base16 Atelier Dune Light - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Dune Comment */
.highlight .comment,
.highlight .quote {
color: #7d7a68;
}
/* Atelier-Dune Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #d73737;
}
/* Atelier-Dune Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #b65611;
}
/* Atelier-Dune Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #60ac39;
}
/* Atelier-Dune Blue */
.highlight .title,
.highlight .section {
color: #6684e1;
}
/* Atelier-Dune Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #b854d4;
}
.highlight {
display: block;
overflow-x: auto;
background: #fefbec;
color: #6e6b5e;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,84 @@
/* Base16 Atelier Estuary Dark - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Estuary Comment */
.highlight .comment,
.highlight .quote {
color: #878573;
}
/* Atelier-Estuary Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #ba6236;
}
/* Atelier-Estuary Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #ae7313;
}
/* Atelier-Estuary Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #7d9726;
}
/* Atelier-Estuary Blue */
.highlight .title,
.highlight .section {
color: #36a166;
}
/* Atelier-Estuary Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #5f9182;
}
.highlight .deletion,
.highlight .addition {
color: #22221b;
display: inline-block;
width: 100%;
}
.highlight .deletion {
background-color: #ba6236;
}
.highlight .addition {
background-color: #7d9726;
}
.highlight {
display: block;
overflow-x: auto;
background: #22221b;
color: #929181;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,84 @@
/* Base16 Atelier Estuary Light - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Estuary Comment */
.highlight .comment,
.highlight .quote {
color: #6c6b5a;
}
/* Atelier-Estuary Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #ba6236;
}
/* Atelier-Estuary Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #ae7313;
}
/* Atelier-Estuary Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #7d9726;
}
/* Atelier-Estuary Blue */
.highlight .title,
.highlight .section {
color: #36a166;
}
/* Atelier-Estuary Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #5f9182;
}
.highlight .deletion,
.highlight .addition {
color: #22221b;
display: inline-block;
width: 100%;
}
.highlight .deletion {
background-color: #ba6236;
}
.highlight .addition {
background-color: #7d9726;
}
.highlight {
display: block;
overflow-x: auto;
background: #f4f3ec;
color: #5f5e4e;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,69 @@
/* Base16 Atelier Forest Dark - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Forest Comment */
.highlight .comment,
.highlight .quote {
color: #9c9491;
}
/* Atelier-Forest Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #f22c40;
}
/* Atelier-Forest Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #df5320;
}
/* Atelier-Forest Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #7b9726;
}
/* Atelier-Forest Blue */
.highlight .title,
.highlight .section {
color: #407ee7;
}
/* Atelier-Forest Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #6666ea;
}
.highlight {
display: block;
overflow-x: auto;
background: #1b1918;
color: #a8a19f;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,69 @@
/* Base16 Atelier Forest Light - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Forest Comment */
.highlight .comment,
.highlight .quote {
color: #766e6b;
}
/* Atelier-Forest Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #f22c40;
}
/* Atelier-Forest Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #df5320;
}
/* Atelier-Forest Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #7b9726;
}
/* Atelier-Forest Blue */
.highlight .title,
.highlight .section {
color: #407ee7;
}
/* Atelier-Forest Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #6666ea;
}
.highlight {
display: block;
overflow-x: auto;
background: #f1efee;
color: #68615e;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,69 @@
/* Base16 Atelier Heath Dark - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Heath Comment */
.highlight .comment,
.highlight .quote {
color: #9e8f9e;
}
/* Atelier-Heath Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #ca402b;
}
/* Atelier-Heath Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #a65926;
}
/* Atelier-Heath Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #918b3b;
}
/* Atelier-Heath Blue */
.highlight .title,
.highlight .section {
color: #516aec;
}
/* Atelier-Heath Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #7b59c0;
}
.highlight {
display: block;
overflow-x: auto;
background: #1b181b;
color: #ab9bab;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,69 @@
/* Base16 Atelier Heath Light - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Heath Comment */
.highlight .comment,
.highlight .quote {
color: #776977;
}
/* Atelier-Heath Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #ca402b;
}
/* Atelier-Heath Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #a65926;
}
/* Atelier-Heath Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #918b3b;
}
/* Atelier-Heath Blue */
.highlight .title,
.highlight .section {
color: #516aec;
}
/* Atelier-Heath Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #7b59c0;
}
.highlight {
display: block;
overflow-x: auto;
background: #f7f3f7;
color: #695d69;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,69 @@
/* Base16 Atelier Lakeside Dark - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Lakeside Comment */
.highlight .comment,
.highlight .quote {
color: #7195a8;
}
/* Atelier-Lakeside Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #d22d72;
}
/* Atelier-Lakeside Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #935c25;
}
/* Atelier-Lakeside Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #568c3b;
}
/* Atelier-Lakeside Blue */
.highlight .title,
.highlight .section {
color: #257fad;
}
/* Atelier-Lakeside Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #6b6bb8;
}
.highlight {
display: block;
overflow-x: auto;
background: #161b1d;
color: #7ea2b4;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,69 @@
/* Base16 Atelier Lakeside Light - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Lakeside Comment */
.highlight .comment,
.highlight .quote {
color: #5a7b8c;
}
/* Atelier-Lakeside Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #d22d72;
}
/* Atelier-Lakeside Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #935c25;
}
/* Atelier-Lakeside Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #568c3b;
}
/* Atelier-Lakeside Blue */
.highlight .title,
.highlight .section {
color: #257fad;
}
/* Atelier-Lakeside Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #6b6bb8;
}
.highlight {
display: block;
overflow-x: auto;
background: #ebf8ff;
color: #516d7b;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,84 @@
/* Base16 Atelier Plateau Dark - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Plateau Comment */
.highlight .comment,
.highlight .quote {
color: #7e7777;
}
/* Atelier-Plateau Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #ca4949;
}
/* Atelier-Plateau Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #b45a3c;
}
/* Atelier-Plateau Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #4b8b8b;
}
/* Atelier-Plateau Blue */
.highlight .title,
.highlight .section {
color: #7272ca;
}
/* Atelier-Plateau Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #8464c4;
}
.highlight .deletion,
.highlight .addition {
color: #1b1818;
display: inline-block;
width: 100%;
}
.highlight .deletion {
background-color: #ca4949;
}
.highlight .addition {
background-color: #4b8b8b;
}
.highlight {
display: block;
overflow-x: auto;
background: #1b1818;
color: #8a8585;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,84 @@
/* Base16 Atelier Plateau Light - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Plateau Comment */
.highlight .comment,
.highlight .quote {
color: #655d5d;
}
/* Atelier-Plateau Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #ca4949;
}
/* Atelier-Plateau Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #b45a3c;
}
/* Atelier-Plateau Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #4b8b8b;
}
/* Atelier-Plateau Blue */
.highlight .title,
.highlight .section {
color: #7272ca;
}
/* Atelier-Plateau Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #8464c4;
}
.highlight .deletion,
.highlight .addition {
color: #1b1818;
display: inline-block;
width: 100%;
}
.highlight .deletion {
background-color: #ca4949;
}
.highlight .addition {
background-color: #4b8b8b;
}
.highlight {
display: block;
overflow-x: auto;
background: #f4ecec;
color: #585050;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,84 @@
/* Base16 Atelier Savanna Dark - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Savanna Comment */
.highlight .comment,
.highlight .quote {
color: #78877d;
}
/* Atelier-Savanna Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #b16139;
}
/* Atelier-Savanna Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #9f713c;
}
/* Atelier-Savanna Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #489963;
}
/* Atelier-Savanna Blue */
.highlight .title,
.highlight .section {
color: #478c90;
}
/* Atelier-Savanna Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #55859b;
}
.highlight .deletion,
.highlight .addition {
color: #171c19;
display: inline-block;
width: 100%;
}
.highlight .deletion {
background-color: #b16139;
}
.highlight .addition {
background-color: #489963;
}
.highlight {
display: block;
overflow-x: auto;
background: #171c19;
color: #87928a;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,84 @@
/* Base16 Atelier Savanna Light - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Savanna Comment */
.highlight .comment,
.highlight .quote {
color: #5f6d64;
}
/* Atelier-Savanna Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #b16139;
}
/* Atelier-Savanna Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #9f713c;
}
/* Atelier-Savanna Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #489963;
}
/* Atelier-Savanna Blue */
.highlight .title,
.highlight .section {
color: #478c90;
}
/* Atelier-Savanna Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #55859b;
}
.highlight .deletion,
.highlight .addition {
color: #171c19;
display: inline-block;
width: 100%;
}
.highlight .deletion {
background-color: #b16139;
}
.highlight .addition {
background-color: #489963;
}
.highlight {
display: block;
overflow-x: auto;
background: #ecf4ee;
color: #526057;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,69 @@
/* Base16 Atelier Seaside Dark - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Seaside Comment */
.highlight .comment,
.highlight .quote {
color: #809980;
}
/* Atelier-Seaside Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #e6193c;
}
/* Atelier-Seaside Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #87711d;
}
/* Atelier-Seaside Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #29a329;
}
/* Atelier-Seaside Blue */
.highlight .title,
.highlight .section {
color: #3d62f5;
}
/* Atelier-Seaside Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #ad2bee;
}
.highlight {
display: block;
overflow-x: auto;
background: #131513;
color: #8ca68c;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,69 @@
/* Base16 Atelier Seaside Light - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Seaside Comment */
.highlight .comment,
.highlight .quote {
color: #687d68;
}
/* Atelier-Seaside Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #e6193c;
}
/* Atelier-Seaside Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #87711d;
}
/* Atelier-Seaside Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #29a329;
}
/* Atelier-Seaside Blue */
.highlight .title,
.highlight .section {
color: #3d62f5;
}
/* Atelier-Seaside Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #ad2bee;
}
.highlight {
display: block;
overflow-x: auto;
background: #f4fbf4;
color: #5e6e5e;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,69 @@
/* Base16 Atelier Sulphurpool Dark - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Sulphurpool Comment */
.highlight .comment,
.highlight .quote {
color: #898ea4;
}
/* Atelier-Sulphurpool Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #c94922;
}
/* Atelier-Sulphurpool Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #c76b29;
}
/* Atelier-Sulphurpool Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #ac9739;
}
/* Atelier-Sulphurpool Blue */
.highlight .title,
.highlight .section {
color: #3d8fd1;
}
/* Atelier-Sulphurpool Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #6679cc;
}
.highlight {
display: block;
overflow-x: auto;
background: #202746;
color: #979db4;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,69 @@
/* Base16 Atelier Sulphurpool Light - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Sulphurpool Comment */
.highlight .comment,
.highlight .quote {
color: #6b7394;
}
/* Atelier-Sulphurpool Red */
.highlight .variable,
.highlight .template-variable,
.highlight .attribute,
.highlight .tag,
.highlight .name,
.highlight .regexp,
.highlight .link,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class {
color: #c94922;
}
/* Atelier-Sulphurpool Orange */
.highlight .number,
.highlight .meta,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .type,
.highlight .params {
color: #c76b29;
}
/* Atelier-Sulphurpool Green */
.highlight .string,
.highlight .symbol,
.highlight .bullet {
color: #ac9739;
}
/* Atelier-Sulphurpool Blue */
.highlight .title,
.highlight .section {
color: #3d8fd1;
}
/* Atelier-Sulphurpool Purple */
.highlight .keyword,
.highlight .selector-tag {
color: #6679cc;
}
.highlight {
display: block;
overflow-x: auto;
background: #f5f7ff;
color: #5e6687;
padding: 0.5em;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,75 @@
/*
Atom One Dark With support for ReasonML by Gidi Morris, based off work by Daniel Gamage
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
*/
.highlight {
display: block;
overflow-x: auto;
padding: 0.5em;
color: #abb2bf;
background: #282c34;
}
.highlight .keyword, .highlight .operator {
color: #F92672;
}
.highlight .pattern-match {
color: #F92672;
}
.highlight .pattern-match .highlight .constructor {
color: #61aeee;
}
.highlight .function {
color: #61aeee;
}
.highlight .function .highlight .params {
color: #A6E22E;
}
.highlight .function .highlight .params .highlight .typing {
color: #FD971F;
}
.highlight .module-access .highlight .module {
color: #7e57c2;
}
.highlight .constructor {
color: #e2b93d;
}
.highlight .constructor .highlight .string {
color: #9CCC65;
}
.highlight .comment, .highlight .quote {
color: #b18eb1;
font-style: italic;
}
.highlight .doctag, .highlight .formula {
color: #c678dd;
}
.highlight .section, .highlight .name, .highlight .selector-tag, .highlight .deletion, .highlight .subst {
color: #e06c75;
}
.highlight .literal {
color: #56b6c2;
}
.highlight .string, .highlight .regexp, .highlight .addition, .highlight .attribute, .highlight .meta-string {
color: #98c379;
}
.highlight .built_in, .highlight .class .highlight .title {
color: #e6c07b;
}
.highlight .attr, .highlight .variable, .highlight .template-variable, .highlight .type, .highlight .selector-class, .highlight .selector-attr, .highlight .selector-pseudo, .highlight .number {
color: #d19a66;
}
.highlight .symbol, .highlight .bullet, .highlight .link, .highlight .meta, .highlight .selector-id, .highlight .title {
color: #61aeee;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}
.highlight .link {
text-decoration: underline;
}

View File

@ -0,0 +1,96 @@
/*
Atom One Dark by Daniel Gamage
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
base: #282c34
mono-1: #abb2bf
mono-2: #818896
mono-3: #5c6370
hue-1: #56b6c2
hue-2: #61aeee
hue-3: #c678dd
hue-4: #98c379
hue-5: #e06c75
hue-5-2: #be5046
hue-6: #d19a66
hue-6-2: #e6c07b
*/
.highlight {
display: block;
overflow-x: auto;
padding: 0.5em;
color: #abb2bf;
background: #282c34;
}
.highlight .comment,
.highlight .quote {
color: #5c6370;
font-style: italic;
}
.highlight .doctag,
.highlight .keyword,
.highlight .formula {
color: #c678dd;
}
.highlight .section,
.highlight .name,
.highlight .selector-tag,
.highlight .deletion,
.highlight .subst {
color: #e06c75;
}
.highlight .literal {
color: #56b6c2;
}
.highlight .string,
.highlight .regexp,
.highlight .addition,
.highlight .attribute,
.highlight .meta-string {
color: #98c379;
}
.highlight .built_in,
.highlight .class .highlight .title {
color: #e6c07b;
}
.highlight .attr,
.highlight .variable,
.highlight .template-variable,
.highlight .type,
.highlight .selector-class,
.highlight .selector-attr,
.highlight .selector-pseudo,
.highlight .number {
color: #d19a66;
}
.highlight .symbol,
.highlight .bullet,
.highlight .link,
.highlight .meta,
.highlight .selector-id,
.highlight .title {
color: #61aeee;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}
.highlight .link {
text-decoration: underline;
}

View File

@ -0,0 +1,96 @@
/*
Atom One Light by Daniel Gamage
Original One Light Syntax theme from https://github.com/atom/one-light-syntax
base: #fafafa
mono-1: #383a42
mono-2: #686b77
mono-3: #a0a1a7
hue-1: #0184bb
hue-2: #4078f2
hue-3: #a626a4
hue-4: #50a14f
hue-5: #e45649
hue-5-2: #c91243
hue-6: #986801
hue-6-2: #c18401
*/
.highlight {
display: block;
overflow-x: auto;
padding: 0.5em;
color: #383a42;
background: #fafafa;
}
.highlight .comment,
.highlight .quote {
color: #a0a1a7;
font-style: italic;
}
.highlight .doctag,
.highlight .keyword,
.highlight .formula {
color: #a626a4;
}
.highlight .section,
.highlight .name,
.highlight .selector-tag,
.highlight .deletion,
.highlight .subst {
color: #e45649;
}
.highlight .literal {
color: #0184bb;
}
.highlight .string,
.highlight .regexp,
.highlight .addition,
.highlight .attribute,
.highlight .meta-string {
color: #50a14f;
}
.highlight .built_in,
.highlight .class .highlight .title {
color: #c18401;
}
.highlight .attr,
.highlight .variable,
.highlight .template-variable,
.highlight .type,
.highlight .selector-class,
.highlight .selector-attr,
.highlight .selector-pseudo,
.highlight .number {
color: #986801;
}
.highlight .symbol,
.highlight .bullet,
.highlight .link,
.highlight .meta,
.highlight .selector-id,
.highlight .title {
color: #4078f2;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}
.highlight .link {
text-decoration: underline;
}

View File

@ -0,0 +1,64 @@
/*
Brown Paper style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net>
*/
.highlight {
display: block;
overflow-x: auto;
padding: 0.5em;
background:#b7a68e url(./brown-papersq.png);
}
.highlight .keyword,
.highlight .selector-tag,
.highlight .literal {
color:#005599;
font-weight:bold;
}
.highlight,
.highlight .subst {
color: #363c69;
}
.highlight .string,
.highlight .title,
.highlight .section,
.highlight .type,
.highlight .attribute,
.highlight .symbol,
.highlight .bullet,
.highlight .built_in,
.highlight .addition,
.highlight .variable,
.highlight .template-tag,
.highlight .template-variable,
.highlight .link,
.highlight .name {
color: #2c009f;
}
.highlight .comment,
.highlight .quote,
.highlight .meta,
.highlight .deletion {
color: #802022;
}
.highlight .keyword,
.highlight .selector-tag,
.highlight .literal,
.highlight .doctag,
.highlight .title,
.highlight .section,
.highlight .type,
.highlight .name,
.highlight .strong {
font-weight: bold;
}
.highlight .emphasis {
font-style: italic;
}

View File

@ -0,0 +1,60 @@
/*
codepen.io Embed Theme
Author: Justin Perry <http://github.com/ourmaninamsterdam>
Original theme - https://github.com/chriskempson/tomorrow-theme
*/
.highlight {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #222;
color: #fff;
}
.highlight .comment,
.highlight .quote {
color: #777;
}
.highlight .variable,
.highlight .template-variable,
.highlight .tag,
.highlight .regexp,
.highlight .meta,
.highlight .number,
.highlight .built_in,
.highlight .builtin-name,
.highlight .literal,
.highlight .params,
.highlight .symbol,
.highlight .bullet,
.highlight .link,
.highlight .deletion {
color: #ab875d;
}
.highlight .section,
.highlight .title,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class,
.highlight .type,
.highlight .attribute {
color: #9b869b;
}
.highlight .string,
.highlight .keyword,
.highlight .selector-tag,
.highlight .addition {
color: #8f9c6c;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,71 @@
/*
Colorbrewer theme
Original: https://github.com/mbostock/colorbrewer-theme (c) Mike Bostock <mike@ocks.org>
Ported by Fabrício Tavares de Oliveira
*/
.highlight {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #fff;
}
.highlight,
.highlight .subst {
color: #000;
}
.highlight .string,
.highlight .meta,
.highlight .symbol,
.highlight .template-tag,
.highlight .template-variable,
.highlight .addition {
color: #756bb1;
}
.highlight .comment,
.highlight .quote {
color: #636363;
}
.highlight .number,
.highlight .regexp,
.highlight .literal,
.highlight .bullet,
.highlight .link {
color: #31a354;
}
.highlight .deletion,
.highlight .variable {
color: #88f;
}
.highlight .keyword,
.highlight .selector-tag,
.highlight .title,
.highlight .section,
.highlight .built_in,
.highlight .doctag,
.highlight .type,
.highlight .tag,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class,
.highlight .strong {
color: #3182bd;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .attribute {
color: #e6550d;
}

View File

@ -0,0 +1,74 @@
/*
Darcula color scheme from the JetBrains family of IDEs
*/
.highlight {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #2b2b2b;
color: #bababa;
}
.highlight .strong,
.highlight .emphasis {
color: #a8a8a2;
}
.highlight .bullet,
.highlight .quote,
.highlight .link,
.highlight .number,
.highlight .regexp,
.highlight .literal {
color: #6896ba;
}
.highlight .code,
.highlight .selector-class {
color: #a6e22e;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .keyword,
.highlight .selector-tag,
.highlight .section,
.highlight .attribute,
.highlight .name,
.highlight .variable {
color: #cb7832;
}
.highlight .params {
color: #b9b9b9;
}
.highlight .string {
color: #6a8759;
}
.highlight .subst,
.highlight .type,
.highlight .built_in,
.highlight .builtin-name,
.highlight .symbol,
.highlight .selector-id,
.highlight .selector-attr,
.highlight .selector-pseudo,
.highlight .template-tag,
.highlight .template-variable,
.highlight .addition {
color: #e0c46c;
}
.highlight .comment,
.highlight .deletion,
.highlight .meta {
color: #7f7f7f;
}

View File

@ -0,0 +1,63 @@
/*
Dark style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
*/
.highlight {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #444;
}
.highlight .keyword,
.highlight .selector-tag,
.highlight .literal,
.highlight .section,
.highlight .link {
color: white;
}
.highlight,
.highlight .subst {
color: #ddd;
}
.highlight .string,
.highlight .title,
.highlight .name,
.highlight .type,
.highlight .attribute,
.highlight .symbol,
.highlight .bullet,
.highlight .built_in,
.highlight .addition,
.highlight .variable,
.highlight .template-tag,
.highlight .template-variable {
color: #d88;
}
.highlight .comment,
.highlight .quote,
.highlight .deletion,
.highlight .meta {
color: #777;
}
.highlight .keyword,
.highlight .selector-tag,
.highlight .literal,
.highlight .title,
.highlight .section,
.highlight .doctag,
.highlight .type,
.highlight .name,
.highlight .strong {
font-weight: bold;
}
.highlight .emphasis {
font-style: italic;
}

View File

@ -0,0 +1,99 @@
/*
Original highlight.js style (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
*/
.highlight {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #F0F0F0;
}
/* Base color: saturation 0; */
.highlight,
.highlight .subst {
color: #444;
}
.highlight .comment {
color: #888888;
}
.highlight .keyword,
.highlight .attribute,
.highlight .selector-tag,
.highlight .meta-keyword,
.highlight .doctag,
.highlight .name {
font-weight: bold;
}
/* User color: hue: 0 */
.highlight .type,
.highlight .string,
.highlight .number,
.highlight .selector-id,
.highlight .selector-class,
.highlight .quote,
.highlight .template-tag,
.highlight .deletion {
color: #880000;
}
.highlight .title,
.highlight .section {
color: #880000;
font-weight: bold;
}
.highlight .regexp,
.highlight .symbol,
.highlight .variable,
.highlight .template-variable,
.highlight .link,
.highlight .selector-attr,
.highlight .selector-pseudo {
color: #BC6060;
}
/* Language color: hue: 90; */
.highlight .literal {
color: #78A960;
}
.highlight .built_in,
.highlight .bullet,
.highlight .code,
.highlight .addition {
color: #397300;
}
/* Meta color: hue: 200 */
.highlight .meta {
color: #1f7199;
}
.highlight .meta-string {
color: #4d99bf;
}
/* Misc effects */
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,97 @@
/*
Docco style used in http://jashkenas.github.com/docco/ converted by Simon Madine (@thingsinjars)
*/
.highlight {
display: block;
overflow-x: auto;
padding: 0.5em;
color: #000;
background: #f8f8ff;
}
.highlight .comment,
.highlight .quote {
color: #408080;
font-style: italic;
}
.highlight .keyword,
.highlight .selector-tag,
.highlight .literal,
.highlight .subst {
color: #954121;
}
.highlight .number {
color: #40a070;
}
.highlight .string,
.highlight .doctag {
color: #219161;
}
.highlight .selector-id,
.highlight .selector-class,
.highlight .section,
.highlight .type {
color: #19469d;
}
.highlight .params {
color: #00f;
}
.highlight .title {
color: #458;
font-weight: bold;
}
.highlight .tag,
.highlight .name,
.highlight .attribute {
color: #000080;
font-weight: normal;
}
.highlight .variable,
.highlight .template-variable {
color: #008080;
}
.highlight .regexp,
.highlight .link {
color: #b68;
}
.highlight .symbol,
.highlight .bullet {
color: #990073;
}
.highlight .built_in,
.highlight .builtin-name {
color: #0086b3;
}
.highlight .meta {
color: #999;
font-weight: bold;
}
.highlight .deletion {
background: #fdd;
}
.highlight .addition {
background: #dfd;
}
.highlight .emphasis {
font-style: italic;
}
.highlight .strong {
font-weight: bold;
}

View File

@ -0,0 +1,76 @@
/*
Dracula Theme v1.2.0
https://github.com/zenorocha/dracula-theme
Copyright 2015, All rights reserved
Code licensed under the MIT license
http://zenorocha.mit-license.org
@author Éverton Ribeiro <nuxlli@gmail.com>
@author Zeno Rocha <hi@zenorocha.com>
*/
.highlight {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #282a36;
}
.highlight .keyword,
.highlight .selector-tag,
.highlight .literal,
.highlight .section,
.highlight .link {
color: #8be9fd;
}
.highlight .function .highlight .keyword {
color: #ff79c6;
}
.highlight,
.highlight .subst {
color: #f8f8f2;
}
.highlight .string,
.highlight .title,
.highlight .name,
.highlight .type,
.highlight .attribute,
.highlight .symbol,
.highlight .bullet,
.highlight .addition,
.highlight .variable,
.highlight .template-tag,
.highlight .template-variable {
color: #f1fa8c;
}
.highlight .comment,
.highlight .quote,
.highlight .deletion,
.highlight .meta {
color: #6272a4;
}
.highlight .keyword,
.highlight .selector-tag,
.highlight .literal,
.highlight .title,
.highlight .section,
.highlight .doctag,
.highlight .type,
.highlight .name,
.highlight .strong {
font-weight: bold;
}
.highlight .emphasis {
font-style: italic;
}

View File

@ -0,0 +1,71 @@
/*
FAR Style (c) MajestiC <majestic2k@gmail.com>
*/
.highlight {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #000080;
}
.highlight,
.highlight .subst {
color: #0ff;
}
.highlight .string,
.highlight .attribute,
.highlight .symbol,
.highlight .bullet,
.highlight .built_in,
.highlight .builtin-name,
.highlight .template-tag,
.highlight .template-variable,
.highlight .addition {
color: #ff0;
}
.highlight .keyword,
.highlight .selector-tag,
.highlight .section,
.highlight .type,
.highlight .name,
.highlight .selector-id,
.highlight .selector-class,
.highlight .variable {
color: #fff;
}
.highlight .comment,
.highlight .quote,
.highlight .doctag,
.highlight .deletion {
color: #888;
}
.highlight .number,
.highlight .regexp,
.highlight .literal,
.highlight .link {
color: #0f0;
}
.highlight .meta {
color: #008080;
}
.highlight .keyword,
.highlight .selector-tag,
.highlight .title,
.highlight .section,
.highlight .name,
.highlight .strong {
font-weight: bold;
}
.highlight .emphasis {
font-style: italic;
}

Some files were not shown because too many files have changed in this diff Show More