mirror of https://github.com/halo-dev/halo
✨ Material主题支持代码高亮以及MathJax
parent
2c78945f11
commit
24846b0089
|
@ -13,7 +13,7 @@
|
||||||
<div class="section-spacer"></div>
|
<div class="section-spacer"></div>
|
||||||
|
|
||||||
<!-- Favorite -->
|
<!-- Favorite -->
|
||||||
<!--
|
<#--
|
||||||
<button id="article-functions-like-button" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon btn-like">
|
<button id="article-functions-like-button" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon btn-like">
|
||||||
<i class="material-icons" role="presentation">favorite</i>
|
<i class="material-icons" role="presentation">favorite</i>
|
||||||
<span class="visuallyhidden">favorites</span>
|
<span class="visuallyhidden">favorites</span>
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Qrcode -->
|
<!-- Qrcode -->
|
||||||
<!--
|
<#--
|
||||||
<% if(theme.qrcode.enable === true) { %>
|
<% if(theme.qrcode.enable === true) { %>
|
||||||
<%- partial('_widget/qrcode') %>
|
<%- partial('_widget/qrcode') %>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
var randomNum;
|
var randomNum;
|
||||||
|
|
||||||
var locatePost = $('.locate-thumbnail-symbol').next();
|
var locatePost = $('.locate-thumbnail-symbol').next();
|
||||||
for(var i = 0; i < ${options.index_posts!}; i++) {
|
for(var i = 0; i < ${options.index_posts!10}; i++) {
|
||||||
randomNum = Math.floor(Math.random() * 19 + 1);
|
randomNum = Math.floor(Math.random() * 19 + 1);
|
||||||
|
|
||||||
locatePost.children('.post_thumbnail-random').attr('id', 'random_thumbnail-'+randomNum);
|
locatePost.children('.post_thumbnail-random').attr('id', 'random_thumbnail-'+randomNum);
|
||||||
|
|
|
@ -56,24 +56,11 @@
|
||||||
<!-- Import CSS -->
|
<!-- Import CSS -->
|
||||||
<style id="material_css"></style><script>if(typeof window.lsLoadCSSMaxNums === "undefined")window.lsLoadCSSMaxNums = 0;window.lsLoadCSSMaxNums++;lsloader.load("material_css","/material/source/css/material.min.css?Z7a72R1E4SxzBKR/WGctOA==",function(){if(typeof window.lsLoadCSSNums === "undefined")window.lsLoadCSSNums = 0;window.lsLoadCSSNums++;if(window.lsLoadCSSNums == window.lsLoadCSSMaxNums)document.documentElement.style.display="";}, false)</script>
|
<style id="material_css"></style><script>if(typeof window.lsLoadCSSMaxNums === "undefined")window.lsLoadCSSMaxNums = 0;window.lsLoadCSSMaxNums++;lsloader.load("material_css","/material/source/css/material.min.css?Z7a72R1E4SxzBKR/WGctOA==",function(){if(typeof window.lsLoadCSSNums === "undefined")window.lsLoadCSSNums = 0;window.lsLoadCSSNums++;if(window.lsLoadCSSNums == window.lsLoadCSSMaxNums)document.documentElement.style.display="";}, false)</script>
|
||||||
<style id="style_css"></style><script>if(typeof window.lsLoadCSSMaxNums === "undefined")window.lsLoadCSSMaxNums = 0;window.lsLoadCSSMaxNums++;lsloader.load("style_css","/material/source/css/style.min.css?MKetZV3cUTfDxvMffaOezg==",function(){if(typeof window.lsLoadCSSNums === "undefined")window.lsLoadCSSNums = 0;window.lsLoadCSSNums++;if(window.lsLoadCSSNums == window.lsLoadCSSMaxNums)document.documentElement.style.display="";}, false)</script>
|
<style id="style_css"></style><script>if(typeof window.lsLoadCSSMaxNums === "undefined")window.lsLoadCSSMaxNums = 0;window.lsLoadCSSMaxNums++;lsloader.load("style_css","/material/source/css/style.min.css?MKetZV3cUTfDxvMffaOezg==",function(){if(typeof window.lsLoadCSSNums === "undefined")window.lsLoadCSSNums = 0;window.lsLoadCSSNums++;if(window.lsLoadCSSNums == window.lsLoadCSSMaxNums)document.documentElement.style.display="";}, false)</script>
|
||||||
<style id="prettify_css"></style>
|
|
||||||
<script>
|
<#if post??>
|
||||||
void 0 === window.lsLoadCSSMaxNums && (window.lsLoadCSSMaxNums = 0), window.lsLoadCSSMaxNums++, lsloader.load(
|
<link rel="stylesheet" type="text/css" href="/material/source/prism/css/prism-${options.material_code_pretty!'Default'}.css" />
|
||||||
"prettify_css", "/material/source/css/prettify.min.css?zp8STOU9v89XWFEnN+6YmQ==",
|
</#if>
|
||||||
function () {
|
|
||||||
void 0 === window.lsLoadCSSNums && (window.lsLoadCSSNums = 0), ++window.lsLoadCSSNums == window.lsLoadCSSMaxNums &&
|
|
||||||
(document.documentElement.style.display = "")
|
|
||||||
}, !1)
|
|
||||||
</script>
|
|
||||||
<style id="prettify_theme"></style>
|
|
||||||
<script>
|
|
||||||
void 0 === window.lsLoadCSSMaxNums && (window.lsLoadCSSMaxNums = 0), window.lsLoadCSSMaxNums++, lsloader.load(
|
|
||||||
"prettify_theme", "/material/source/css/prettify/github-v2.min.css?AfzKxt++K+/lhZBlSjnxwg==",
|
|
||||||
function () {
|
|
||||||
void 0 === window.lsLoadCSSNums && (window.lsLoadCSSNums = 0), ++window.lsLoadCSSNums == window.lsLoadCSSMaxNums &&
|
|
||||||
(document.documentElement.style.display = "")
|
|
||||||
}, !1)
|
|
||||||
</script>
|
|
||||||
<#if (options.theme_material_scheme!'Paradox') == "Isolation">
|
<#if (options.theme_material_scheme!'Paradox') == "Isolation">
|
||||||
<link rel="stylesheet" href="/material/source/css/fontawesome.min.css">
|
<link rel="stylesheet" href="/material/source/css/fontawesome.min.css">
|
||||||
</#if>
|
</#if>
|
||||||
|
@ -111,34 +98,26 @@
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
|
|
||||||
<!-- Add canonical link for SEO -->
|
<!-- Add canonical link for SEO -->
|
||||||
<!--
|
<#--
|
||||||
<% if( (page.current === 1) && (is_home()) ) { %>
|
<% if( (page.current === 1) && (is_home()) ) { %>
|
||||||
<link rel="canonical" href="<%- config.url %>" />
|
<link rel="canonical" href="<%- config.url %>" />
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<link rel="canonical" href="<%- config.url + url_for(path) %>" />
|
<link rel="canonical" href="<%- config.url + url_for(path) %>" />
|
||||||
<% } %>
|
<% } %>
|
||||||
|
-->
|
||||||
|
|
||||||
<!-- Structured-data for SEO -->
|
<!-- Structured-data for SEO -->
|
||||||
<!--
|
<#--
|
||||||
<% if(theme.head.structured_data === true) { %>
|
<% if(theme.head.structured_data === true) { %>
|
||||||
<%- partial('_partial/structured-data') %>
|
<%- partial('_partial/structured-data') %>
|
||||||
<% } %>
|
<% } %>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Analytics -->
|
<!-- Analytics -->
|
||||||
<!--
|
<@common.statistics />
|
||||||
<% if(theme.analytics.google_site_id) { %>
|
|
||||||
<%- partial('_widget/analytics/google-analytics') %>
|
|
||||||
<% } %>
|
|
||||||
<% if(theme.analytics.baidu_site_id) { %>
|
|
||||||
<%- partial('_widget/analytics/baidu-analytics') %>
|
|
||||||
<% } %>
|
|
||||||
<% if(theme.analytics.cnzz_site_id) { %>
|
|
||||||
<%- partial('_widget/analytics/cnzz-analytics') %>
|
|
||||||
<% } %>
|
|
||||||
-->
|
|
||||||
<!-- Custom Head -->
|
<!-- Custom Head -->
|
||||||
<!--
|
<#--
|
||||||
<% if (site.data.head) { %>
|
<% if (site.data.head) { %>
|
||||||
<% for (var i in site.data.head) { %>
|
<% for (var i in site.data.head) { %>
|
||||||
<%- site.data.head[i] %>
|
<%- site.data.head[i] %>
|
||||||
|
|
|
@ -16,12 +16,11 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Import prettify js -->
|
<#if post??>
|
||||||
|
<script type="text/javascript" src="/material/source/prism/js/prism.js"></script>
|
||||||
|
</#if>
|
||||||
|
|
||||||
<script>
|
<#--
|
||||||
lsloader.load("prettify_js", "/material/source/js/prettify.min.js?WN07fivHQSMKWy7BmHBB6w==", !0)
|
|
||||||
</script>
|
|
||||||
<!--
|
|
||||||
<% if (theme.hanabi.enable) { %>
|
<% if (theme.hanabi.enable) { %>
|
||||||
<% if(theme.vendors.materialcdn) { %>
|
<% if(theme.vendors.materialcdn) { %>
|
||||||
<%- jsLsload({path:(theme.vendors.materialcdn + '/js/hanabi-browser-bundle.js'),key:'hanabi'}) %>
|
<%- jsLsload({path:(theme.vendors.materialcdn + '/js/hanabi-browser-bundle.js'),key:'hanabi'}) %>
|
||||||
|
@ -31,20 +30,11 @@
|
||||||
<% } %>
|
<% } %>
|
||||||
-->
|
-->
|
||||||
<!-- Window Load -->
|
<!-- Window Load -->
|
||||||
<!-- add class for prettify -->
|
|
||||||
<script type="text/ls-javascript" id="window-load">
|
|
||||||
$(window).on('load', function() {
|
|
||||||
// Post_Toc parent position fixed
|
|
||||||
$('.post-toc-wrap').parent('.mdl-menu__container').css('position', 'fixed');
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- MathJax Load-->
|
<!-- MathJax Load-->
|
||||||
<!--
|
<#if (options.theme_material_other_mathjax!'true') == 'true'>
|
||||||
<% if (page.mathjax) { %>
|
<#include "../_widget/mathjax.ftl">
|
||||||
<%- partial('_widget/mathjax') %>
|
</#if>
|
||||||
<% } %>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Bing Background -->
|
<!-- Bing Background -->
|
||||||
<#if (options.theme_material_background_bing!'false')=="true">
|
<#if (options.theme_material_background_bing!'false')=="true">
|
||||||
|
@ -72,7 +62,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Custom Footer -->
|
<!-- Custom Footer -->
|
||||||
<!--
|
<#--
|
||||||
<% if (site.data.footer) { %>
|
<% if (site.data.footer) { %>
|
||||||
<% for (var i in site.data.footer) { %>
|
<% for (var i in site.data.footer) { %>
|
||||||
<%- site.data.footer[i] %>
|
<%- site.data.footer[i] %>
|
||||||
|
@ -87,6 +77,6 @@
|
||||||
var item = scriptList[i];
|
var item = scriptList[i];
|
||||||
lsloader.runInlineScript(item.id,item.id);
|
lsloader.runInlineScript(item.id,item.id);
|
||||||
}
|
}
|
||||||
})()
|
})();
|
||||||
console.log('\n %c © Material Theme | Version: 1.5.2 | https://github.com/viosey/hexo-theme-material %c \n', 'color:#455a64;background:#e0e0e0;padding:5px 0;border-top-left-radius:5px;border-bottom-left-radius:5px;', 'color:#455a64;background:#e0e0e0;padding:5px 0;border-top-right-radius:5px;border-bottom-right-radius:5px;');
|
console.log('\n %c © Material Theme | Version: 1.5.2 | https://github.com/viosey/hexo-theme-material %c \n', 'color:#455a64;background:#e0e0e0;padding:5px 0;border-top-left-radius:5px;border-bottom-left-radius:5px;', 'color:#455a64;background:#e0e0e0;padding:5px 0;border-top-right-radius:5px;border-bottom-right-radius:5px;');
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
<script type="text/x-mathjax-config">
|
||||||
|
MathJax.Hub.Config({"HTML-CSS": { preferredFont: "TeX", availableFonts: ["STIX","TeX"], linebreaks: { automatic:true }, EqnChunk: (MathJax.Hub.Browser.isMobile ? 10 : 50) },
|
||||||
|
tex2jax: { inlineMath: [ ["$", "$"], ["\\(","\\)"] ], processEscapes: true, ignoreClass: "tex2jax_ignore|dno",skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']},
|
||||||
|
TeX: { noUndefined: { attributes: { mathcolor: "red", mathbackground: "#FFEEEE", mathsize: "90%" } }, Macros: { href: "{}" } },
|
||||||
|
messageStyle: "none"
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
<script type="text/x-mathjax-config">
|
||||||
|
MathJax.Hub.Queue(function() {
|
||||||
|
var all = MathJax.Hub.getAllJax(), i;
|
||||||
|
for(i=0; i < all.length; i += 1) {
|
||||||
|
all[i].SourceElement().parentNode.className += ' has-jax';
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
<script src="//cdnjs.loli.net/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML"></script>
|
|
@ -204,6 +204,20 @@
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="materialCodePretty" class="col-sm-4 control-label">代码高亮:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<select class="form-control" id="materialCodePretty" name="material_code_pretty">
|
||||||
|
<option value="Default" ${((options.material_code_pretty!'Default')=='Default')?string('selected','')}>Default</option>
|
||||||
|
<option value="Coy" ${((options.material_code_pretty!)=='Coy')?string('selected','')}>Coy</option>
|
||||||
|
<option value="Dark" ${((options.material_code_pretty!)=='Dark')?string('selected','')}>Dark</option>
|
||||||
|
<option value="Okaidia" ${((options.material_code_pretty!)=='Okaidia')?string('selected','')}>Okaidia</option>
|
||||||
|
<option value="Solarized Light" ${((options.material_code_pretty!)=='Solarized Light')?string('selected','')}>Solarized Light</option>
|
||||||
|
<option value="Tomorrow Night" ${((options.material_code_pretty!)=='Tomorrow Night')?string('selected','')}>Tomorrow Night</option>
|
||||||
|
<option value="Twilight" ${((options.material_code_pretty!)=='Twilight')?string('selected','')}>Twilight</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-footer">
|
<div class="box-footer">
|
||||||
<button type="button" class="btn btn-primary btn-sm pull-right" onclick="saveThemeOptions('materialStyleOptions')">保存设置</button>
|
<button type="button" class="btn btn-primary btn-sm pull-right" onclick="saveThemeOptions('materialStyleOptions')">保存设置</button>
|
||||||
|
@ -452,6 +466,17 @@
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="materialOtherMathJax" class="col-sm-4 control-label">MathJax:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<label class="radio-inline">
|
||||||
|
<input type="radio" name="theme_material_other_mathjax" id="materialOtherMathJax" value="true" ${((options.theme_material_other_mathjax!'true')=='true')?string('checked','')}> 显示
|
||||||
|
</label>
|
||||||
|
<label class="radio-inline">
|
||||||
|
<input type="radio" name="theme_material_other_mathjax" id="materialOtherMathJax" value="false" ${((options.theme_material_other_mathjax!)=='false')?string('checked','')}> 隐藏
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="materialOtherPostLicense" class="col-sm-4 control-label">文章License:</label>
|
<label for="materialOtherPostLicense" class="col-sm-4 control-label">文章License:</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
|
|
|
@ -1,927 +0,0 @@
|
||||||
.comment-toggle {
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-toggle .comment-toggle-input {
|
|
||||||
display: none
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-toggle .comment-toggle-input:checked+.comment-toggle-icon {
|
|
||||||
background-color: #2aa0ff
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-toggle .comment-toggle-input:checked+.comment-toggle-icon:before {
|
|
||||||
margin-left: 11px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-toggle .comment-toggle-icon {
|
|
||||||
display: block;
|
|
||||||
width: 32px;
|
|
||||||
height: 20px;
|
|
||||||
background-color: #434343;
|
|
||||||
border-radius: 10px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
cursor: pointer;
|
|
||||||
padding: 2.5px 3px;
|
|
||||||
-webkit-transition: all .3s;
|
|
||||||
transition: all .3s
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-toggle .comment-toggle-icon:before {
|
|
||||||
-webkit-transition: all .3s;
|
|
||||||
transition: all .3s;
|
|
||||||
content: "";
|
|
||||||
display: block;
|
|
||||||
width: 15px;
|
|
||||||
height: 15px;
|
|
||||||
border-radius: 50%;
|
|
||||||
background-color: #fff
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-toggle .comment-toggle-button {
|
|
||||||
display: block;
|
|
||||||
color: #fff!important;
|
|
||||||
background-color: #434343;
|
|
||||||
border-radius: 2px;
|
|
||||||
line-height: 20px;
|
|
||||||
height: 20px;
|
|
||||||
padding: 0 3px;
|
|
||||||
font-size: 12px;
|
|
||||||
cursor: pointer;
|
|
||||||
margin: 0 5px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment {
|
|
||||||
font: 13px/1.6 Helvetica Neue,Helvetica,Arial,\\5FAE\8F6F\96C5\9ED1,Microsoft YaHei,sans-serif;
|
|
||||||
min-height: 40px;
|
|
||||||
margin: 5px auto;
|
|
||||||
word-wrap: break-word
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment .icon {
|
|
||||||
max-width: 20px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment * {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
box-sizing: border-box
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment b,.comment strong {
|
|
||||||
font-weight: 700;
|
|
||||||
color: #000
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment :focus {
|
|
||||||
outline: none
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment abbr[title] {
|
|
||||||
text-decoration: none
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment.loading {
|
|
||||||
position: relative;
|
|
||||||
background: url(https://a.disquscdn.com/next/embed/assets/img/loader-bg.173909e4737a7481df14d5492b5eeb48.png) no-repeat!important;
|
|
||||||
display: block;
|
|
||||||
height: 52px;
|
|
||||||
width: 54px;
|
|
||||||
margin: 20px auto;
|
|
||||||
overflow: hidden;
|
|
||||||
box-sizing: border-box
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment.loading>* {
|
|
||||||
display: none
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment.loading:after {
|
|
||||||
content: "";
|
|
||||||
display: block;
|
|
||||||
box-sizing: border-box;
|
|
||||||
width: 26px;
|
|
||||||
height: 26px;
|
|
||||||
position: absolute;
|
|
||||||
top: 13px;
|
|
||||||
left: 15px;
|
|
||||||
border-width: 3px;
|
|
||||||
border-style: solid;
|
|
||||||
border-color: rgba(51,54,58,.4) transparent;
|
|
||||||
border-radius: 13px;
|
|
||||||
-webkit-transform-origin: 50% 50% 0;
|
|
||||||
transform-origin: 50% 50% 0;
|
|
||||||
-webkit-animation: disqus-loader-spinner-animation .7s infinite linear!important;
|
|
||||||
animation: disqus-loader-spinner-animation .7s infinite linear!important
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment.guestbook .comment-header {
|
|
||||||
display: none
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-box {
|
|
||||||
margin: 20px 0
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-box,.comment-header {
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-header {
|
|
||||||
height: 36px;
|
|
||||||
line-height: 36px;
|
|
||||||
font-weight: 700;
|
|
||||||
font-size: 15px;
|
|
||||||
-webkit-box-pack: justify;
|
|
||||||
-ms-flex-pack: justify;
|
|
||||||
justify-content: space-between;
|
|
||||||
border-bottom: 2px solid #e7e9ee;
|
|
||||||
color: #656c7a
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-header .comment-header-item {
|
|
||||||
display: inline-block;
|
|
||||||
border-bottom: 2px solid #656c7a;
|
|
||||||
margin-bottom: -2px;
|
|
||||||
padding: 0 7px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-header .comment-show {
|
|
||||||
position: relative;
|
|
||||||
color: #2a2e2e;
|
|
||||||
cursor: pointer;
|
|
||||||
display: none
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-header .comment-header-count,.comment-header .comment-show {
|
|
||||||
width: 120px;
|
|
||||||
text-align: center;
|
|
||||||
-webkit-transition: all .2s ease-in-out;
|
|
||||||
transition: all .2s ease-in-out;
|
|
||||||
text-transform: capitalize
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-header .comment-header-count {
|
|
||||||
display: inline-block
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-header .comment-header-count:after {
|
|
||||||
content: " ";
|
|
||||||
display: block;
|
|
||||||
height: 2px;
|
|
||||||
position: absolute;
|
|
||||||
bottom: -2px;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
background: #2e9fff
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form {
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex;
|
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
-webkit-box-direction: normal;
|
|
||||||
-ms-flex-direction: column;
|
|
||||||
flex-direction: column;
|
|
||||||
-webkit-box-flex: 1;
|
|
||||||
-ms-flex: auto;
|
|
||||||
flex: auto
|
|
||||||
}
|
|
||||||
|
|
||||||
.placeholder {
|
|
||||||
color: #7f919e;
|
|
||||||
line-height: 30px;
|
|
||||||
font-size: 12px;
|
|
||||||
position: absolute;
|
|
||||||
top: 7px;
|
|
||||||
left: 10px;
|
|
||||||
right: 9px;
|
|
||||||
white-space: nowrap;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
cursor: text;
|
|
||||||
overflow: hidden
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper {
|
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
-webkit-box-direction: normal;
|
|
||||||
-ms-flex-direction: column;
|
|
||||||
flex-direction: column;
|
|
||||||
border: 2px solid #dbdfe4;
|
|
||||||
border-radius: 4px;
|
|
||||||
width: 100%
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-actions,.comment-form-wrapper {
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-actions {
|
|
||||||
background: #f6f8f9;
|
|
||||||
border-radius: 0 0 2px 2px;
|
|
||||||
-webkit-box-pack: justify;
|
|
||||||
-ms-flex-pack: justify;
|
|
||||||
justify-content: space-between;
|
|
||||||
height: 0;
|
|
||||||
-webkit-transition: opacity .2s linear;
|
|
||||||
transition: opacity .2s linear;
|
|
||||||
opacity: 0;
|
|
||||||
filter: alpha(opacity=0);
|
|
||||||
visibility: hidden
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-actions .comment-actions-group {
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex;
|
|
||||||
position: relative
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-actions .comment-actions-input {
|
|
||||||
display: none
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-actions .comment-actions-input[type=checkbox]:checked+.comment-actions-label .icon {
|
|
||||||
fill: #1d2f3a
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-actions .comment-actions-label {
|
|
||||||
display: inline-block;
|
|
||||||
width: 34px;
|
|
||||||
height: 34px;
|
|
||||||
cursor: pointer
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-actions .comment-actions-label .icon {
|
|
||||||
height: 18px;
|
|
||||||
margin: 8px;
|
|
||||||
display: inline-block;
|
|
||||||
color: #737474;
|
|
||||||
cursor: pointer;
|
|
||||||
fill: #c2c6cc;
|
|
||||||
-webkit-transition: all .2s;
|
|
||||||
transition: all .2s
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-actions .comment-actions-label:hover .icon {
|
|
||||||
fill: #1d2f3a!important
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-actions .exit {
|
|
||||||
display: none
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-actions .emojione-list {
|
|
||||||
cursor: default;
|
|
||||||
position: absolute;
|
|
||||||
opacity: 0;
|
|
||||||
filter: alpha(opacity=0);
|
|
||||||
visibility: hidden;
|
|
||||||
list-style: none;
|
|
||||||
width: 125px;
|
|
||||||
height: 125px;
|
|
||||||
background-color: hsla(0,0%,100%,.96);
|
|
||||||
padding: 5px 0 0 5px;
|
|
||||||
border-radius: 2px;
|
|
||||||
border: 2px solid #c2c6cc;
|
|
||||||
top: -125px;
|
|
||||||
left: -2px;
|
|
||||||
margin-left: 0;
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex;
|
|
||||||
-ms-flex-wrap: wrap;
|
|
||||||
flex-wrap: wrap
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-actions .emojione-item {
|
|
||||||
position: relative;
|
|
||||||
height: 24px;
|
|
||||||
width: 24px;
|
|
||||||
margin: 0 5px 5px 0
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-actions .emojione-item:before {
|
|
||||||
content: "";
|
|
||||||
display: inline-block;
|
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
top: 0;
|
|
||||||
bottom: 0;
|
|
||||||
right: 0;
|
|
||||||
z-index: 4
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-actions .emojione-item-image {
|
|
||||||
height: 22px;
|
|
||||||
width: 22px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-actions .comment-actions-input[type=checkbox]:checked+.emojione .emojione-list {
|
|
||||||
opacity: 1;
|
|
||||||
filter: alpha(opacity=100);
|
|
||||||
visibility: visible!important
|
|
||||||
}
|
|
||||||
|
|
||||||
.expanded .comment-image {
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex
|
|
||||||
}
|
|
||||||
|
|
||||||
.expanded .comment-image .comment-image-progress {
|
|
||||||
position: relative;
|
|
||||||
height: 80px;
|
|
||||||
width: 0;
|
|
||||||
background: url("https://a.disquscdn.com/next/embed/assets/img/loader.5cc23909da9c4a9874500d7a85c4125f.gif") 50% no-repeat;
|
|
||||||
margin: 0 5px;
|
|
||||||
overflow: hidden
|
|
||||||
}
|
|
||||||
|
|
||||||
.expanded .comment-image .comment-image-progress:before {
|
|
||||||
position: absolute;
|
|
||||||
content: "";
|
|
||||||
display: block;
|
|
||||||
top: 55px;
|
|
||||||
bottom: 20px;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
height: 5px;
|
|
||||||
width: 100%;
|
|
||||||
background-color: #dbdfe4
|
|
||||||
}
|
|
||||||
|
|
||||||
.expanded .comment-image .comment-image-progress .comment-image-loaded {
|
|
||||||
position: absolute;
|
|
||||||
background-color: #7f919e;
|
|
||||||
top: 55px;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 20px;
|
|
||||||
height: 5px;
|
|
||||||
width: 0
|
|
||||||
}
|
|
||||||
|
|
||||||
.expanded .comment-image .comment-image-list {
|
|
||||||
list-style: none;
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex
|
|
||||||
}
|
|
||||||
|
|
||||||
.expanded .comment-image .comment-image-item {
|
|
||||||
height: 80px;
|
|
||||||
margin-left: 5px;
|
|
||||||
position: relative;
|
|
||||||
border-radius: 3px;
|
|
||||||
overflow: hidden
|
|
||||||
}
|
|
||||||
|
|
||||||
.expanded .comment-image .comment-image-item:before {
|
|
||||||
overflow: hidden;
|
|
||||||
line-height: 0;
|
|
||||||
height: 0;
|
|
||||||
-webkit-transition: all .3s;
|
|
||||||
transition: all .3s;
|
|
||||||
content: "\70B9\51FB\79FB\9664";
|
|
||||||
display: block;
|
|
||||||
text-align: center;
|
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
width: 100%;
|
|
||||||
font-size: 12px;
|
|
||||||
background-color: rgba(0,0,0,.5);
|
|
||||||
line-height: 25px;
|
|
||||||
color: #fff
|
|
||||||
}
|
|
||||||
|
|
||||||
.expanded .comment-image .comment-image-item:hover:before {
|
|
||||||
height: 25px
|
|
||||||
}
|
|
||||||
|
|
||||||
.expanded .comment-image .comment-image-item .comment-image-object {
|
|
||||||
height: 100%;
|
|
||||||
border-radius: 3px;
|
|
||||||
overflow: hidden
|
|
||||||
}
|
|
||||||
|
|
||||||
.expanded .comment-image .comment-image-item.loading .comment-image-object {
|
|
||||||
width: 20px;
|
|
||||||
margin: 0 30px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper .tips,.expanded .comment-image .comment-image-item.loading:before {
|
|
||||||
display: none
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.editing+.comment-login {
|
|
||||||
opacity: 1;
|
|
||||||
height: auto;
|
|
||||||
margin-top: 10px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.editing .comment-form-textarea {
|
|
||||||
font: 13px/15px Helvetica Neue,Helvetica,Arial,\\5FAE\8F6F\96C5\9ED1,Microsoft YaHei;
|
|
||||||
height: 74px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.editing .comment-image {
|
|
||||||
-webkit-transition: padding-bottom .15s ease-in-out;
|
|
||||||
transition: padding-bottom .15s ease-in-out;
|
|
||||||
background-color: rgba(16,48,68,.03)
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.editing .comment-actions {
|
|
||||||
-webkit-transition: all .2s ease-in-out;
|
|
||||||
transition: all .2s ease-in-out;
|
|
||||||
border-top: 2px solid #dbdfe4;
|
|
||||||
opacity: 1;
|
|
||||||
height: 36px;
|
|
||||||
filter: alpha(opacity=100);
|
|
||||||
visibility: visible!important
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.editing .comment-actions-form {
|
|
||||||
-webkit-transition: all .3s .5s;
|
|
||||||
transition: all .3s .5s;
|
|
||||||
margin: 87px -2px -2px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.editing .comment-form-submit {
|
|
||||||
opacity: 1
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.editing {
|
|
||||||
position: relative;
|
|
||||||
display: block
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.editing .comment-tips {
|
|
||||||
position: absolute;
|
|
||||||
width: 125px;
|
|
||||||
height: 70px;
|
|
||||||
font-size: 12px;
|
|
||||||
border-radius: 4px;
|
|
||||||
top: 50%;
|
|
||||||
margin-top: -35px;
|
|
||||||
left: -125px;
|
|
||||||
background-color: #fff;
|
|
||||||
border: 2px solid #c2c6cc;
|
|
||||||
padding: 5px;
|
|
||||||
line-height: 15px;
|
|
||||||
display: none;
|
|
||||||
cursor: text
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.editing .comment-tips:before {
|
|
||||||
content: "";
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
position: absolute;
|
|
||||||
right: -8px;
|
|
||||||
top: 50%;
|
|
||||||
margin-top: -8px;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 8px 0 8px 8px;
|
|
||||||
border-color: transparent #c2c6cc
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.editing .comment-tips:after {
|
|
||||||
content: "";
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
position: absolute;
|
|
||||||
right: -5px;
|
|
||||||
top: 50%;
|
|
||||||
margin-top: -5px;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 5px 0 5px 5px;
|
|
||||||
border-color: transparent #fff
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.editing #tips-input:checked+.tips .comment-tips {
|
|
||||||
display: block
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.focus {
|
|
||||||
border: 2px solid #c2c6cc
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.focus .comment-actions {
|
|
||||||
border-top: 2px solid #c2c6cc
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.focus .comment-actions .comment-actions-label .icon {
|
|
||||||
fill: #656c7a
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.focus.expanded .comment-image {
|
|
||||||
border-top: 2px solid #c2c6cc
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.expanded .comment-image {
|
|
||||||
border-top: 2px solid #dbdfe4;
|
|
||||||
padding: 10px 0 8px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.logged-in .comment-form-submit {
|
|
||||||
border-radius: 0 0 4px;
|
|
||||||
-webkit-transition: none;
|
|
||||||
transition: none;
|
|
||||||
opacity: 1
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.logged-in .comment-actions-form {
|
|
||||||
margin: 0;
|
|
||||||
-webkit-transition: all .5s;
|
|
||||||
transition: all .5s
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.logged-in+.comment-login {
|
|
||||||
height: 0;
|
|
||||||
opacity: 0;
|
|
||||||
margin-top: -40px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.logged-in .tips {
|
|
||||||
display: none
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper.logged-in .exit {
|
|
||||||
display: block
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-wrapper .comment-form-textarea {
|
|
||||||
width: 100%;
|
|
||||||
display: block;
|
|
||||||
border: none;
|
|
||||||
overflow: auto;
|
|
||||||
color: #2a2e2e;
|
|
||||||
cursor: text;
|
|
||||||
resize: none;
|
|
||||||
height: 44px;
|
|
||||||
font: 18px/30px Helvetica Neue,Helvetica,Arial,\\5FAE\8F6F\96C5\9ED1,Microsoft YaHei;
|
|
||||||
padding: 7px;
|
|
||||||
-webkit-transition: all .2s ease-in-out;
|
|
||||||
transition: all .2s ease-in-out
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-actions-form {
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-actions-form .comment-form-submit {
|
|
||||||
z-index: 1;
|
|
||||||
border: none;
|
|
||||||
opacity: 0;
|
|
||||||
margin: -2px;
|
|
||||||
white-space: nowrap;
|
|
||||||
border-radius: 4px;
|
|
||||||
height: 38px;
|
|
||||||
width: 80px;
|
|
||||||
display: inline-block;
|
|
||||||
background-color: rgba(29,47,58,.6);
|
|
||||||
cursor: pointer;
|
|
||||||
line-height: 38px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-actions-form .comment-form-submit .icon {
|
|
||||||
margin: 9px;
|
|
||||||
fill: #fff;
|
|
||||||
cursor: pointer;
|
|
||||||
width: 20px;
|
|
||||||
height: 20px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-actions-form .comment-form-submit:hover {
|
|
||||||
background-color: rgba(29,47,58,.75)
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-login {
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex;
|
|
||||||
opacity: 0;
|
|
||||||
-webkit-transition: all .5s .2s;
|
|
||||||
transition: all .5s .2s;
|
|
||||||
height: 0;
|
|
||||||
margin: -40px -5px 40px;
|
|
||||||
overflow: hidden;
|
|
||||||
-ms-flex-wrap: wrap;
|
|
||||||
flex-wrap: wrap
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-thread-form {
|
|
||||||
text-align: center;
|
|
||||||
color: #656c7a;
|
|
||||||
line-height: 32px;
|
|
||||||
font-size: 14px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-thread-form .comment-form-submit {
|
|
||||||
background-color: rgba(29,47,58,.6);
|
|
||||||
border: none;
|
|
||||||
white-space: nowrap;
|
|
||||||
border-radius: 4px;
|
|
||||||
height: 38px;
|
|
||||||
width: 120px;
|
|
||||||
display: inline-block;
|
|
||||||
cursor: pointer;
|
|
||||||
line-height: 38px;
|
|
||||||
margin: 10px 0;
|
|
||||||
color: #fff;
|
|
||||||
font-size: 15px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-thread-form .comment-form-submit:hover {
|
|
||||||
background-color: rgba(29,47,58,.75)
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-item {
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex;
|
|
||||||
margin: 10px 0
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-item .comment-form-label {
|
|
||||||
display: block;
|
|
||||||
height: 32px;
|
|
||||||
line-height: 32px;
|
|
||||||
font-size: 14px;
|
|
||||||
color: #656c7a;
|
|
||||||
width: 80px;
|
|
||||||
text-align: right;
|
|
||||||
font-weight: 700
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-item .comment-form-textarea {
|
|
||||||
background-color: #fff;
|
|
||||||
border: 2px solid #dbdfe4;
|
|
||||||
-webkit-transition: all .2s linear;
|
|
||||||
transition: all .2s linear;
|
|
||||||
padding: 2px 10px;
|
|
||||||
border-radius: 4px;
|
|
||||||
font-size: 13px;
|
|
||||||
height: 64px;
|
|
||||||
margin: 0 5px;
|
|
||||||
width: 30px;
|
|
||||||
line-height: 20px;
|
|
||||||
-webkit-box-flex: 1;
|
|
||||||
-ms-flex: auto;
|
|
||||||
flex: auto
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-item .comment-form-textarea:focus {
|
|
||||||
border: 2px solid #c2c6cc
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-input {
|
|
||||||
background-color: #fff;
|
|
||||||
border: 2px solid #dbdfe4;
|
|
||||||
-webkit-transition: all .2s linear;
|
|
||||||
transition: all .2s linear;
|
|
||||||
padding: 0 10px;
|
|
||||||
border-radius: 4px;
|
|
||||||
font-size: 13px;
|
|
||||||
height: 32px;
|
|
||||||
margin: 0 5px;
|
|
||||||
width: 30px;
|
|
||||||
line-height: 32px;
|
|
||||||
-webkit-box-flex: 1;
|
|
||||||
-ms-flex: auto;
|
|
||||||
flex: auto
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form-input:focus {
|
|
||||||
border: 2px solid #c2c6cc
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-item-children,.comment-list {
|
|
||||||
text-align: left;
|
|
||||||
list-style: none;
|
|
||||||
padding-left: 0;
|
|
||||||
margin-left: 0;
|
|
||||||
line-height: 20px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-avatar,.comment-item-avatar {
|
|
||||||
display: block;
|
|
||||||
width: 48px;
|
|
||||||
height: 48px;
|
|
||||||
margin-right: 12px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-avatar img,.comment-item-avatar img {
|
|
||||||
border-radius: 3px;
|
|
||||||
width: 48px;
|
|
||||||
height: 48px
|
|
||||||
}
|
|
||||||
|
|
||||||
@-webkit-keyframes disqus-loader-spinner-animation {
|
|
||||||
0% {
|
|
||||||
-webkit-transform: rotate(0);
|
|
||||||
transform: rotate(0)
|
|
||||||
}
|
|
||||||
|
|
||||||
to {
|
|
||||||
-webkit-transform: rotate(1turn);
|
|
||||||
transform: rotate(1turn)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes disqus-loader-spinner-animation {
|
|
||||||
0% {
|
|
||||||
-webkit-transform: rotate(0);
|
|
||||||
transform: rotate(0)
|
|
||||||
}
|
|
||||||
|
|
||||||
to {
|
|
||||||
-webkit-transform: rotate(1turn);
|
|
||||||
transform: rotate(1turn)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list {
|
|
||||||
font-size: 13px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list p {
|
|
||||||
margin: 0
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list a {
|
|
||||||
text-decoration: none;
|
|
||||||
color: #0095dd
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list a[href="javascript:void(0);"] {
|
|
||||||
color: #000;
|
|
||||||
cursor: default
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list #comment-preview {
|
|
||||||
opacity: .6
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-item {
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex;
|
|
||||||
margin-bottom: 10px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-item .comment-item {
|
|
||||||
margin-bottom: 0
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-item-header {
|
|
||||||
line-height: 1.2;
|
|
||||||
color: #c2c6cc
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-item-header .comment-item-time {
|
|
||||||
color: #7f919e;
|
|
||||||
word-spacing: -2px;
|
|
||||||
font-weight: 500
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-item-header .comment-item-cancel,.comment-list .comment-item-header .comment-item-name {
|
|
||||||
color: #0095dd;
|
|
||||||
font-weight: 700;
|
|
||||||
border-bottom: none
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-item-header .comment-item-name[href^=javascript] {
|
|
||||||
cursor: text;
|
|
||||||
color: #000
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-item-header .comment-item-reply {
|
|
||||||
color: #656c7a;
|
|
||||||
font-weight: 500;
|
|
||||||
border-bottom: none
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-item-images {
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex;
|
|
||||||
margin: 0 -5px;
|
|
||||||
-ms-flex-wrap: wrap;
|
|
||||||
flex-wrap: wrap
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-item-images .comment-item-imagelink {
|
|
||||||
height: 100px;
|
|
||||||
margin: 0 5px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-item-images .comment-item-imagelink:hover {
|
|
||||||
border-bottom: none
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-item-images .comment-item-image {
|
|
||||||
height: 100%
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-item.transparent {
|
|
||||||
opacity: .4
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-item-content {
|
|
||||||
min-height: 40px;
|
|
||||||
padding: 5px 0;
|
|
||||||
font-size: 13px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-item-content .at {
|
|
||||||
padding-right: 4px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-item-content .comment-item-content {
|
|
||||||
min-height: 20px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-item-content img.emojione {
|
|
||||||
width: 22px;
|
|
||||||
height: 22px;
|
|
||||||
margin: 0 3px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-box {
|
|
||||||
margin: 6px 0
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-avatar,.comment-list .comment-avatar-image,.comment-list .comment-item-children .comment-item-avatar,.comment-list .comment-item-children .comment-item-avatar img {
|
|
||||||
width: 36px;
|
|
||||||
height: 36px;
|
|
||||||
margin-right: 6px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-form-textarea {
|
|
||||||
height: 32px;
|
|
||||||
padding: 5px;
|
|
||||||
line-height: 22px;
|
|
||||||
font-size: 15px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-item-main {
|
|
||||||
-webkit-box-flex: 1;
|
|
||||||
-ms-flex: 1;
|
|
||||||
flex: 1
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-list .comment-item-children .comment-item-children .comment-item-children .comment-box,.comment-list .comment-item-children .comment-item-children .comment-item-children .comment-item-children {
|
|
||||||
margin-left: -42px
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-loadmore {
|
|
||||||
font-weight: 500;
|
|
||||||
display: block;
|
|
||||||
text-align: center;
|
|
||||||
padding: 11px 14px;
|
|
||||||
background-color: rgba(29,47,58,.6);
|
|
||||||
color: #fff!important;
|
|
||||||
line-height: 1.1;
|
|
||||||
border-radius: 3px;
|
|
||||||
-webkit-transition: background .2s;
|
|
||||||
transition: background .2s;
|
|
||||||
text-shadow: none
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-loadmore:hover {
|
|
||||||
background-color: rgba(29,47,58,.7);
|
|
||||||
border-bottom: none!important
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-loadmore.loading {
|
|
||||||
background-color: #edeff2;
|
|
||||||
color: #444!important;
|
|
||||||
cursor: wait
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width:450px) {
|
|
||||||
.comment-item .comment-item-children .comment-box,.comment-item .comment-item-children .comment-item-children {
|
|
||||||
margin-left: 0!important
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-item .at,.comment-item .comment-avatar,.comment-item .comment-item-children .comment-item-avatar {
|
|
||||||
display: none
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.emojione .tips {
|
|
||||||
display: none!important
|
|
||||||
}
|
|
File diff suppressed because one or more lines are too long
|
@ -1,479 +0,0 @@
|
||||||
#comments {
|
|
||||||
background-color: #eee;
|
|
||||||
padding: 2pc
|
|
||||||
}
|
|
||||||
#comments h4 {
|
|
||||||
font-size: 13px;
|
|
||||||
line-height: 18px;
|
|
||||||
color: #8a8a8a;
|
|
||||||
margin: 0
|
|
||||||
}
|
|
||||||
#ds-thread {
|
|
||||||
background-color: #eee;
|
|
||||||
display: flex;
|
|
||||||
box-sizing: border-box;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: flex-start;
|
|
||||||
align-items: stretch;
|
|
||||||
position: relative
|
|
||||||
}
|
|
||||||
@media screen and (max-width:480px) {
|
|
||||||
#ds-thread {
|
|
||||||
padding: 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-comment-body p {
|
|
||||||
padding-bottom: 5px
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-replybox {
|
|
||||||
margin: 20px 0 20px 0;
|
|
||||||
padding: 0 0 0 40px
|
|
||||||
}
|
|
||||||
#ds-reset .ds-avatar,
|
|
||||||
#ds-reset .ds-avatar img {
|
|
||||||
background: 0;
|
|
||||||
width: 30px;
|
|
||||||
height: 30px;
|
|
||||||
-webkit-border-radius: 50%;
|
|
||||||
border-radius: 50%;
|
|
||||||
box-shadow: 0;
|
|
||||||
border: none
|
|
||||||
}
|
|
||||||
@media screen and (max-width:480px) {
|
|
||||||
width: auto;
|
|
||||||
height: auto
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset ul.ds-children .ds-avatar,
|
|
||||||
#ds-thread #ds-reset ul.ds-children .ds-avatar img {
|
|
||||||
width: 30px;
|
|
||||||
height: 30px;
|
|
||||||
border: none!important
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-replybox .ds-avatar {
|
|
||||||
top: 5px width: 30px;
|
|
||||||
height: 30px;
|
|
||||||
border: none
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-replybox .ds-avatar img {
|
|
||||||
width: 30px!important;
|
|
||||||
height: 30px!important;
|
|
||||||
border: none
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-user-name {
|
|
||||||
font-size: 13px
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-comment-body,
|
|
||||||
#ds-thread #ds-reset ul.ds-children .ds-comment-body {
|
|
||||||
padding-left: 60px
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset ul.ds-children {
|
|
||||||
margin-left: 3pc
|
|
||||||
}
|
|
||||||
#ds-reset .ds-highlight {
|
|
||||||
color: #000
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset li.ds-post,
|
|
||||||
#ds-thread #ds-reset .ds-post-self {
|
|
||||||
border-top: 0
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-post-toolbar span,
|
|
||||||
#ds-thread #ds-reset .ds-post-toolbar input,
|
|
||||||
#ds-thread #ds-reset .ds-post-toolbar label,
|
|
||||||
#ds-thread #ds-reset .ds-post-toolbar a {
|
|
||||||
display: none
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-account-control ul {
|
|
||||||
border: 0;
|
|
||||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12)
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset a.ds-like-thread-button {
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
margin: 0;
|
|
||||||
min-width: 50px;
|
|
||||||
padding: 0 14px;
|
|
||||||
display: inline-block;
|
|
||||||
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 400;
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 0;
|
|
||||||
overflow: hidden;
|
|
||||||
will-change: box-shadow;
|
|
||||||
transition: box-shadow .2s cubic-bezier(.4, 0, 1, 1), background-color .2s cubic-bezier(.4, 0, .2, 1), color .2s cubic-bezier(.4, 0, .2, 1);
|
|
||||||
outline: 0;
|
|
||||||
cursor: pointer;
|
|
||||||
text-decoration: none;
|
|
||||||
text-align: center;
|
|
||||||
vertical-align: middle;
|
|
||||||
border: 0;
|
|
||||||
background: rgba(158, 158, 158, .2);
|
|
||||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
|
|
||||||
color: #fff;
|
|
||||||
background-color: #F06292;
|
|
||||||
text-shadow: 0
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-thread-liked{
|
|
||||||
background-color: #FF80AB !important;
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset li.ds-tab,
|
|
||||||
#ds-wrapper #ds-reset button {
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
margin: 0;
|
|
||||||
min-width: 50px;
|
|
||||||
padding: 0 14px;
|
|
||||||
display: inline-block;
|
|
||||||
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 400;
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 0;
|
|
||||||
overflow: hidden;
|
|
||||||
will-change: box-shadow;
|
|
||||||
transition: box-shadow .2s cubic-bezier(.4, 0, 1, 1), background-color .2s cubic-bezier(.4, 0, .2, 1), color .2s cubic-bezier(.4, 0, .2, 1);
|
|
||||||
outline: 0;
|
|
||||||
cursor: pointer;
|
|
||||||
text-decoration: none;
|
|
||||||
text-align: center;
|
|
||||||
vertical-align: middle;
|
|
||||||
border: 0;
|
|
||||||
background: 0;
|
|
||||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
|
|
||||||
text-shadow: 0
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset li.ds-tab:hover,
|
|
||||||
#ds-wrapper #ds-reset button:hover {
|
|
||||||
background-color: rgba(102, 102, 102, 0.1)
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset li.ds-tab:active,
|
|
||||||
#ds-wrapper #ds-reset button:active {
|
|
||||||
background-color: rgba(102, 102, 102, 0.1);
|
|
||||||
-webkit-box-shadow: none;
|
|
||||||
box-shadow: none
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset li.ds-tab a.ds-current {
|
|
||||||
border: 0;
|
|
||||||
background-color: rgba(255, 255, 255, 0)
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset a.ds-like-thread-button span {
|
|
||||||
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
|
||||||
font-size: 14px;
|
|
||||||
color: #fff;
|
|
||||||
font-weight: 400
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset li.ds-tab a {
|
|
||||||
-webkit-border-radius: 0;
|
|
||||||
border-radius: 0;
|
|
||||||
text-shadow: 0
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-textarea-wrapper {
|
|
||||||
background: 0;
|
|
||||||
border: 0;
|
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, .12);
|
|
||||||
width: 95%;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
float: left
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-post-toolbar {
|
|
||||||
width: 5%;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
box-shadow: 0;
|
|
||||||
float: left
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-post-options {
|
|
||||||
border: 0;
|
|
||||||
-webkit-border-bottom-left-radius: 0;
|
|
||||||
background: 0
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-post-button {
|
|
||||||
height: 35px;
|
|
||||||
width: 35px;
|
|
||||||
line-height: 36px;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
border-radius: 50%;
|
|
||||||
display: inline-block;
|
|
||||||
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
|
||||||
font-size: 0;
|
|
||||||
font-weight: 500;
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 0;
|
|
||||||
overflow: hidden;
|
|
||||||
will-change: box-shadow;
|
|
||||||
transition: box-shadow .2s cubic-bezier(.4, 0, 1, 1), background-color .2s cubic-bezier(.4, 0, .2, 1), color .2s cubic-bezier(.4, 0, .2, 1);
|
|
||||||
outline: 0;
|
|
||||||
cursor: pointer;
|
|
||||||
text-decoration: none;
|
|
||||||
text-align: center;
|
|
||||||
vertical-align: middle;
|
|
||||||
border: 0;
|
|
||||||
background: rgba(158, 158, 158, .2);
|
|
||||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-post-button:hover {
|
|
||||||
box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 3px 7px 0 rgba(0, 0, 0, .12);
|
|
||||||
color: #fff
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-meta {
|
|
||||||
border-bottom: 0
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset #ds-bubble {
|
|
||||||
border: 0;
|
|
||||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
|
|
||||||
background-color: rgba(255, 255, 255, .9);
|
|
||||||
border-radius: 3px
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-textarea-wrapper textarea {
|
|
||||||
height: 16px!important;
|
|
||||||
font-size: 16px!important;
|
|
||||||
line-height: 16px!important
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-like-tooltip {
|
|
||||||
box-shadow: 0 2px 24px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 55px 0 rgba(0, 0, 0, .12);
|
|
||||||
border-radius: 2px;
|
|
||||||
background: #FFF;
|
|
||||||
border: 0
|
|
||||||
}
|
|
||||||
#ds-wrapper #ds-reset .ds-dialog-inner {
|
|
||||||
box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 1px 3px 7px 0 rgba(0, 0, 0, .12), 0px 0 20px 5px rgba(0, 0, 0, .12);
|
|
||||||
border: 0;
|
|
||||||
background: #fff
|
|
||||||
}
|
|
||||||
#ds-wrapper #ds-reset .ds-dialog-body {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-powered-by {
|
|
||||||
display: none
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-comments,
|
|
||||||
#ds-thread #ds-reset .ds-paginator {
|
|
||||||
border-bottom: 0
|
|
||||||
}
|
|
||||||
#ds-wrapper #ds-reset .ds-icons-32 {
|
|
||||||
height: 100px
|
|
||||||
}
|
|
||||||
#ds-wrapper #ds-reset .ds-icons-32::before {
|
|
||||||
content: 'Welcome';
|
|
||||||
font-family: 'Roboto';
|
|
||||||
font-size: 24px;
|
|
||||||
color: #fff;
|
|
||||||
text-shadow: none;
|
|
||||||
position: relative;
|
|
||||||
float: left;
|
|
||||||
top: 60px;
|
|
||||||
left: 40px
|
|
||||||
}
|
|
||||||
#ds-wrapper #ds-reset .ds-service-list {
|
|
||||||
margin: 10px 0 10px 0;
|
|
||||||
text-align: center
|
|
||||||
}
|
|
||||||
#ds-wrapper #ds-reset .ds-actions {
|
|
||||||
padding-bottom: 30px;
|
|
||||||
padding-top: 12px;
|
|
||||||
margin: 10px 10px 20px 10px;
|
|
||||||
color: rgba(0, 0, 0, .5);
|
|
||||||
font-size: 13px
|
|
||||||
}
|
|
||||||
#ds-wrapper #ds-reset .ds-actions label {
|
|
||||||
margin-right: 12px
|
|
||||||
}
|
|
||||||
#ds-wrapper #ds-reset .ds-quote {
|
|
||||||
margin: 0;
|
|
||||||
padding: 20px 20px
|
|
||||||
}
|
|
||||||
#ds-reset .ds-service-icon,
|
|
||||||
#ds-reset .ds-service-icon-grey {
|
|
||||||
background: 0;
|
|
||||||
width: 5px!important
|
|
||||||
}
|
|
||||||
#ds-reset input[type='checkbox'] {
|
|
||||||
width: 12px
|
|
||||||
}
|
|
||||||
#ds-wrapper #ds-reset .ds-textarea-wrapper {
|
|
||||||
border: 0;
|
|
||||||
margin: 0
|
|
||||||
}
|
|
||||||
#ds-wrapper #ds-reset .ds-dialog-footer {
|
|
||||||
border-top: 1px solid rgba(0, 0, 0, .1);
|
|
||||||
display: none
|
|
||||||
}
|
|
||||||
#ds-wrapper #ds-reset .ds-control-group {
|
|
||||||
margin-left: 40px
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-post-liked a.ds-post-likes {
|
|
||||||
font-size: 12px
|
|
||||||
}
|
|
||||||
#ds-wrapper #ds-reset .ds-control-group input {
|
|
||||||
border: 0;
|
|
||||||
box-shadow: none;
|
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, .12);
|
|
||||||
display: block;
|
|
||||||
font-size: 16px;
|
|
||||||
font-family: "Helvetica", "Arial", sans-serif;
|
|
||||||
margin: 0;
|
|
||||||
padding: 4px 0;
|
|
||||||
width: 100%;
|
|
||||||
background: 0;
|
|
||||||
text-align: left;
|
|
||||||
color: inherit
|
|
||||||
}
|
|
||||||
#ds-wrapper #ds-reset .ds-dialog-body button {
|
|
||||||
margin: 10px 0 20px 40px
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-login-buttons .ds-service-list li {
|
|
||||||
margin: 0;
|
|
||||||
margin-left: 5px;
|
|
||||||
text-align: center
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-login-buttons .ds-service-list li a {
|
|
||||||
color: rgba(0, 0, 0, .6)!important
|
|
||||||
}
|
|
||||||
#ds-reset .ds-service-link {
|
|
||||||
background: 0;
|
|
||||||
padding-left: 0
|
|
||||||
}
|
|
||||||
#ds-reset .ds-icon {
|
|
||||||
background: 0;
|
|
||||||
display: none
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-comment-actions a {
|
|
||||||
font-size: 0;
|
|
||||||
color: rgba(0, 0, 0, .24)!important
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-comment-actions a:hover {
|
|
||||||
color: rgba(0, 0, 0, .4)!important
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-comment-footer {
|
|
||||||
line-height: normal
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-time {
|
|
||||||
font-size: 13px;
|
|
||||||
position: relative;
|
|
||||||
top: -8px
|
|
||||||
}
|
|
||||||
.ds-post-reply {
|
|
||||||
left: -20px
|
|
||||||
}
|
|
||||||
.ds-post-likes::before {
|
|
||||||
content: "\E8DC";
|
|
||||||
font-family: 'Material Icons';
|
|
||||||
font-size: 24px
|
|
||||||
}
|
|
||||||
.ds-post-reply::before {
|
|
||||||
content: "\E0BF";
|
|
||||||
font-family: 'Material Icons';
|
|
||||||
font-size: 24px
|
|
||||||
}
|
|
||||||
.ds-post-repost::before {
|
|
||||||
content: "\E80D";
|
|
||||||
font-family: 'Material Icons';
|
|
||||||
font-size: 24px
|
|
||||||
}
|
|
||||||
.ds-post-report {
|
|
||||||
color: rgba(0, 0, 0, .14)!important
|
|
||||||
}
|
|
||||||
.ds-post-report::before {
|
|
||||||
content: "\E8B2";
|
|
||||||
font-family: 'Material Icons';
|
|
||||||
font-size: 24px;
|
|
||||||
display: none
|
|
||||||
}
|
|
||||||
.ds-weixin::before {
|
|
||||||
content: "\f1d7";
|
|
||||||
font-family: 'FontAwesome';
|
|
||||||
margin-right: 3px
|
|
||||||
}
|
|
||||||
.ds-weibo::before {
|
|
||||||
content: "\f18a";
|
|
||||||
font-family: 'FontAwesome';
|
|
||||||
margin-right: 3px
|
|
||||||
}
|
|
||||||
.ds-qq::before {
|
|
||||||
content: "\f1d6";
|
|
||||||
font-family: 'FontAwesome';
|
|
||||||
margin-right: 3px
|
|
||||||
}
|
|
||||||
.ds-renren::before {
|
|
||||||
content: "\f18b";
|
|
||||||
font-family: 'FontAwesome';
|
|
||||||
margin-right: 3px
|
|
||||||
}
|
|
||||||
.ds-douban::before {
|
|
||||||
content: "\f10e";
|
|
||||||
font-family: 'FontAwesome';
|
|
||||||
margin-right: 3px
|
|
||||||
}
|
|
||||||
.ds-kaixin::before {
|
|
||||||
content: "\f004";
|
|
||||||
font-family: 'FontAwesome';
|
|
||||||
margin-right: 3px
|
|
||||||
}
|
|
||||||
.ds-baidu::before {
|
|
||||||
content: "\f1b0";
|
|
||||||
font-family: 'FontAwesome';
|
|
||||||
margin-right: 3px
|
|
||||||
}
|
|
||||||
.ds-google::before {
|
|
||||||
content: "\f1a0";
|
|
||||||
font-family: 'FontAwesome';
|
|
||||||
margin-right: 3px
|
|
||||||
}
|
|
||||||
.ds-qzone::before {
|
|
||||||
content: "\f005";
|
|
||||||
font-family: 'FontAwesome';
|
|
||||||
margin-right: 3px
|
|
||||||
}
|
|
||||||
.ds-meta .ds-like-panel {
|
|
||||||
margin-left: 10px!important
|
|
||||||
}
|
|
||||||
#ds-thread #ds-reset .ds-post-button::before {
|
|
||||||
content: '\E5CA';
|
|
||||||
font-family: 'Material Icons';
|
|
||||||
font-weight: 100;
|
|
||||||
font-size: 20px
|
|
||||||
}
|
|
||||||
.ds-icons-32 a {
|
|
||||||
background: none!important
|
|
||||||
}
|
|
||||||
.ds-dialog-body h2 {
|
|
||||||
display: none!important
|
|
||||||
}
|
|
||||||
#ds-thread.ds-narrow #ds-reset .ds-post-button {
|
|
||||||
width: 35px
|
|
||||||
}
|
|
||||||
.ds-comments-info{
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.ds-comments-info .ds-sort {
|
|
||||||
display: none!important
|
|
||||||
}
|
|
||||||
@media screen and (max-width:480px) {
|
|
||||||
.ds-comments-tabs,
|
|
||||||
.ds-comments-info {
|
|
||||||
display: none!important
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#ds-reset #ds-ctx {
|
|
||||||
max-width: none
|
|
||||||
}
|
|
||||||
#ds-reset #ds-ctx .ds-ctx-entry .ds-ctx-content {
|
|
||||||
margin: 5px 0;
|
|
||||||
line-height: 20px
|
|
||||||
}
|
|
||||||
#ds-reset #ds-ctx .ds-comment-actions {
|
|
||||||
margin-top: 10px;
|
|
||||||
position: relative
|
|
||||||
}
|
|
||||||
#ds-reset #ds-ctx .ds-ctx-entry:hover .ds-comment-actions {
|
|
||||||
display: none
|
|
||||||
}
|
|
||||||
#ds-reset #ds-ctx .ds-ctx-entry .ds-ctx-head a {
|
|
||||||
top: 0
|
|
||||||
}
|
|
||||||
#ds-thread.ds-narrow #ds-reset .ds-avatar img {
|
|
||||||
border: none
|
|
||||||
}
|
|
File diff suppressed because one or more lines are too long
|
@ -1,27 +0,0 @@
|
||||||
@charset "UTF-8";
|
|
||||||
|
|
||||||
/* for color-themes-for-google-code-prettify */
|
|
||||||
pre{
|
|
||||||
white-space: pre-wrap;
|
|
||||||
word-break: break-all;
|
|
||||||
word-wrap: break-word;
|
|
||||||
}
|
|
||||||
|
|
||||||
#post-content .prettyprint{
|
|
||||||
padding: 1.2em;
|
|
||||||
border-radius: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#post-content ol,#post-content ul{
|
|
||||||
padding-left: 51px;
|
|
||||||
font-size: 1rem;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#post-content .prettyprint li.L0, #post-content .prettyprint li.L1,
|
|
||||||
#post-content .prettyprint li.L2, #post-content .prettyprint li.L3,
|
|
||||||
#post-content .prettyprint li.L4, #post-content .prettyprint li.L5,
|
|
||||||
#post-content .prettyprint li.L6, #post-content .prettyprint li.L7,
|
|
||||||
#post-content .prettyprint li.L8, #post-content .prettyprint li.L9 {
|
|
||||||
padding-left: 0.8em;
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
pre{white-space:pre-wrap;word-break:break-all;word-wrap:break-word}#post-content .prettyprint{padding:1.2em;border-radius:0}#post-content ol,#post-content ul{padding-left:51px;font-size:1rem;margin:0}#post-content .prettyprint li.L0,#post-content .prettyprint li.L1,#post-content .prettyprint li.L2,#post-content .prettyprint li.L3,#post-content .prettyprint li.L4,#post-content .prettyprint li.L5,#post-content .prettyprint li.L6,#post-content .prettyprint li.L7,#post-content .prettyprint li.L8,#post-content .prettyprint li.L9{padding-left:.8em}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#19171c!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#efecf4}ol.linenums{margin-top:0;margin-bottom:0;color:#655f6d}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#19171c;list-style-type:decimal}@media screen{.str{color:#2a9292}.kwd{color:#955ae7}.com{color:#655f6d}.typ{color:#576ddb}.lit{color:#aa573c}.pun{color:#efecf4}.opn{color:#efecf4}.clo{color:#efecf4}.tag{color:#be4678}.atn{color:#aa573c}.atv{color:#398bc6}.dec{color:#aa573c}.var{color:#be4678}.fun{color:#576ddb}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#efecf4!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#19171c}ol.linenums{margin-top:0;margin-bottom:0;color:#7e7887}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#efecf4;list-style-type:decimal}@media screen{.str{color:#2a9292}.kwd{color:#955ae7}.com{color:#7e7887}.typ{color:#576ddb}.lit{color:#aa573c}.pun{color:#19171c}.opn{color:#19171c}.clo{color:#19171c}.tag{color:#be4678}.atn{color:#aa573c}.atv{color:#398bc6}.dec{color:#aa573c}.var{color:#be4678}.fun{color:#576ddb}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#20201d!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#fefbec}ol.linenums{margin-top:0;margin-bottom:0;color:#7d7a68}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#20201d;list-style-type:decimal}@media screen{.str{color:#60ac39}.kwd{color:#b854d4}.com{color:#7d7a68}.typ{color:#6684e1}.lit{color:#b65611}.pun{color:#fefbec}.opn{color:#fefbec}.clo{color:#fefbec}.tag{color:#d73737}.atn{color:#b65611}.atv{color:#1fad83}.dec{color:#b65611}.var{color:#d73737}.fun{color:#6684e1}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#fefbec!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#20201d}ol.linenums{margin-top:0;margin-bottom:0;color:#999580}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#fefbec;list-style-type:decimal}@media screen{.str{color:#60ac39}.kwd{color:#b854d4}.com{color:#999580}.typ{color:#6684e1}.lit{color:#b65611}.pun{color:#20201d}.opn{color:#20201d}.clo{color:#20201d}.tag{color:#d73737}.atn{color:#b65611}.atv{color:#1fad83}.dec{color:#b65611}.var{color:#d73737}.fun{color:#6684e1}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#22221b!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#f4f3ec}ol.linenums{margin-top:0;margin-bottom:0;color:#6c6b5a}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#22221b;list-style-type:decimal}@media screen{.str{color:#7d9726}.kwd{color:#5f9182}.com{color:#6c6b5a}.typ{color:#36a166}.lit{color:#ae7313}.pun{color:#f4f3ec}.opn{color:#f4f3ec}.clo{color:#f4f3ec}.tag{color:#ba6236}.atn{color:#ae7313}.atv{color:#5b9d48}.dec{color:#ae7313}.var{color:#ba6236}.fun{color:#36a166}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#f4f3ec!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#22221b}ol.linenums{margin-top:0;margin-bottom:0;color:#878573}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#f4f3ec;list-style-type:decimal}@media screen{.str{color:#7d9726}.kwd{color:#5f9182}.com{color:#878573}.typ{color:#36a166}.lit{color:#ae7313}.pun{color:#22221b}.opn{color:#22221b}.clo{color:#22221b}.tag{color:#ba6236}.atn{color:#ae7313}.atv{color:#5b9d48}.dec{color:#ae7313}.var{color:#ba6236}.fun{color:#36a166}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#1b1918!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#f1efee}ol.linenums{margin-top:0;margin-bottom:0;color:#766e6b}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#1b1918;list-style-type:decimal}@media screen{.str{color:#7b9726}.kwd{color:#6666ea}.com{color:#766e6b}.typ{color:#407ee7}.lit{color:#df5320}.pun{color:#f1efee}.opn{color:#f1efee}.clo{color:#f1efee}.tag{color:#f22c40}.atn{color:#df5320}.atv{color:#3d97b8}.dec{color:#df5320}.var{color:#f22c40}.fun{color:#407ee7}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#f1efee!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#1b1918}ol.linenums{margin-top:0;margin-bottom:0;color:#9c9491}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#f1efee;list-style-type:decimal}@media screen{.str{color:#7b9726}.kwd{color:#6666ea}.com{color:#9c9491}.typ{color:#407ee7}.lit{color:#df5320}.pun{color:#1b1918}.opn{color:#1b1918}.clo{color:#1b1918}.tag{color:#f22c40}.atn{color:#df5320}.atv{color:#3d97b8}.dec{color:#df5320}.var{color:#f22c40}.fun{color:#407ee7}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#1b181b!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#f7f3f7}ol.linenums{margin-top:0;margin-bottom:0;color:#776977}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#1b181b;list-style-type:decimal}@media screen{.str{color:#918b3b}.kwd{color:#7b59c0}.com{color:#776977}.typ{color:#516aec}.lit{color:#a65926}.pun{color:#f7f3f7}.opn{color:#f7f3f7}.clo{color:#f7f3f7}.tag{color:#ca402b}.atn{color:#a65926}.atv{color:#159393}.dec{color:#a65926}.var{color:#ca402b}.fun{color:#516aec}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#f7f3f7!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#1b181b}ol.linenums{margin-top:0;margin-bottom:0;color:#5a7b8c}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#f7f3f7;list-style-type:decimal}@media screen{.str{color:#918b3b}.kwd{color:#7b59c0}.com{color:#5a7b8c}.typ{color:#516aec}.lit{color:#a65926}.pun{color:#1b181b}.opn{color:#1b181b}.clo{color:#1b181b}.tag{color:#ca402b}.atn{color:#a65926}.atv{color:#159393}.dec{color:#a65926}.var{color:#ca402b}.fun{color:#516aec}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#161b1d!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#ebf8ff}ol.linenums{margin-top:0;margin-bottom:0;color:#5a7b8c}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#161b1d;list-style-type:decimal}@media screen{.str{color:#568c3b}.kwd{color:#6b6bb8}.com{color:#5a7b8c}.typ{color:#257fad}.lit{color:#935c25}.pun{color:#ebf8ff}.opn{color:#ebf8ff}.clo{color:#ebf8ff}.tag{color:#d22d72}.atn{color:#935c25}.atv{color:#2d8f6f}.dec{color:#935c25}.var{color:#d22d72}.fun{color:#257fad}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#ebf8ff!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#161b1d}ol.linenums{margin-top:0;margin-bottom:0;color:#7195a8}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#ebf8ff;list-style-type:decimal}@media screen{.str{color:#568c3b}.kwd{color:#6b6bb8}.com{color:#7195a8}.typ{color:#257fad}.lit{color:#935c25}.pun{color:#161b1d}.opn{color:#161b1d}.clo{color:#161b1d}.tag{color:#d22d72}.atn{color:#935c25}.atv{color:#2d8f6f}.dec{color:#935c25}.var{color:#d22d72}.fun{color:#257fad}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#1b1818!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#f4ecec}ol.linenums{margin-top:0;margin-bottom:0;color:#655d5d}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#1b1818;list-style-type:decimal}@media screen{.str{color:#4b8b8b}.kwd{color:#8464c4}.com{color:#655d5d}.typ{color:#7272ca}.lit{color:#b45a3c}.pun{color:#f4ecec}.opn{color:#f4ecec}.clo{color:#f4ecec}.tag{color:#ca4949}.atn{color:#b45a3c}.atv{color:#5485b6}.dec{color:#b45a3c}.var{color:#ca4949}.fun{color:#7272ca}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#f4ecec!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#1b1818}ol.linenums{margin-top:0;margin-bottom:0;color:#7e7777}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#f4ecec;list-style-type:decimal}@media screen{.str{color:#4b8b8b}.kwd{color:#8464c4}.com{color:#7e7777}.typ{color:#7272ca}.lit{color:#b45a3c}.pun{color:#1b1818}.opn{color:#1b1818}.clo{color:#1b1818}.tag{color:#ca4949}.atn{color:#b45a3c}.atv{color:#5485b6}.dec{color:#b45a3c}.var{color:#ca4949}.fun{color:#7272ca}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#171c19!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#ecf4ee}ol.linenums{margin-top:0;margin-bottom:0;color:#5f6d64}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#171c19;list-style-type:decimal}@media screen{.str{color:#489963}.kwd{color:#55859b}.com{color:#5f6d64}.typ{color:#478c90}.lit{color:#9f713c}.pun{color:#ecf4ee}.opn{color:#ecf4ee}.clo{color:#ecf4ee}.tag{color:#b16139}.atn{color:#9f713c}.atv{color:#1c9aa0}.dec{color:#9f713c}.var{color:#b16139}.fun{color:#478c90}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#ecf4ee!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#171c19}ol.linenums{margin-top:0;margin-bottom:0;color:#78877d}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#ecf4ee;list-style-type:decimal}@media screen{.str{color:#489963}.kwd{color:#55859b}.com{color:#78877d}.typ{color:#478c90}.lit{color:#9f713c}.pun{color:#171c19}.opn{color:#171c19}.clo{color:#171c19}.tag{color:#b16139}.atn{color:#9f713c}.atv{color:#1c9aa0}.dec{color:#9f713c}.var{color:#b16139}.fun{color:#478c90}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#131513!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#f4fbf4}ol.linenums{margin-top:0;margin-bottom:0;color:#687d68}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#131513;list-style-type:decimal}@media screen{.str{color:#29a329}.kwd{color:#ad2bee}.com{color:#687d68}.typ{color:#3d62f5}.lit{color:#87711d}.pun{color:#f4fbf4}.opn{color:#f4fbf4}.clo{color:#f4fbf4}.tag{color:#e6193c}.atn{color:#87711d}.atv{color:#1999b3}.dec{color:#87711d}.var{color:#e6193c}.fun{color:#3d62f5}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#f4fbf4!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#131513}ol.linenums{margin-top:0;margin-bottom:0;color:#809980}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#f4fbf4;list-style-type:decimal}@media screen{.str{color:#29a329}.kwd{color:#ad2bee}.com{color:#809980}.typ{color:#3d62f5}.lit{color:#87711d}.pun{color:#131513}.opn{color:#131513}.clo{color:#131513}.tag{color:#e6193c}.atn{color:#87711d}.atv{color:#1999b3}.dec{color:#87711d}.var{color:#e6193c}.fun{color:#3d62f5}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#202746!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#f5f7ff}ol.linenums{margin-top:0;margin-bottom:0;color:#6b7394}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#202746;list-style-type:decimal}@media screen{.str{color:#ac9739}.kwd{color:#6679cc}.com{color:#6b7394}.typ{color:#3d8fd1}.lit{color:#c76b29}.pun{color:#f5f7ff}.opn{color:#f5f7ff}.clo{color:#f5f7ff}.tag{color:#c94922}.atn{color:#c76b29}.atv{color:#22a2c9}.dec{color:#c76b29}.var{color:#c94922}.fun{color:#3d8fd1}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#f5f7ff!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#202746}ol.linenums{margin-top:0;margin-bottom:0;color:#202746}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#f5f7ff;list-style-type:decimal}@media screen{.str{color:#ac9739}.kwd{color:#6679cc}.com{color:#202746}.typ{color:#3d8fd1}.lit{color:#c76b29}.pun{color:#202746}.opn{color:#202746}.clo{color:#202746}.tag{color:#c94922}.atn{color:#c76b29}.atv{color:#22a2c9}.dec{color:#c76b29}.var{color:#c94922}.fun{color:#3d8fd1}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#fff!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#333}ol.linenums{margin-top:0;margin-bottom:0;color:#ccc}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#fff;list-style-type:decimal}@media screen{.str{color:#183691}.kwd{color:#a71d5d}.com{color:#969896}.typ{color:#0086b3}.lit{color:#0086b3}.pun{color:#333}.opn{color:#333}.clo{color:#333}.tag{color:navy}.atn{color:#795da3}.atv{color:#183691}.dec{color:#333}.var{color:teal}.fun{color:#900}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#fff!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#333}ol.linenums{margin-top:0;margin-bottom:0;color:#ccc}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#fff;list-style-type:decimal}@media screen{.str{color:#d14}.kwd{color:#333}.com{color:#998}.typ{color:#458}.lit{color:#458}.pun{color:#333}.opn{color:#333}.clo{color:#333}.tag{color:navy}.atn{color:teal}.atv{color:#d14}.dec{color:#333}.var{color:teal}.fun{color:#900}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#000!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#eee}ol.linenums{margin-top:0;margin-bottom:0;color:#777}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#000;list-style-type:decimal}@media screen{.str{color:#b1d631}.kwd{color:#b1d631}.com{color:#777}.typ{color:#bfa}.lit{color:#9fd3e6}.pun{color:#eee}.opn{color:#eee}.clo{color:#eee}.tag{color:#eee}.atn{color:#b1d631}.atv{color:#bfa}.dec{color:#eee}.var{color:#eee}.fun{color:#9fd3e6}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#fff!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#111}ol.linenums{margin-top:0;margin-bottom:0;color:#999}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#fff;list-style-type:decimal}@media screen{.str{color:#739200}.kwd{color:#739200}.com{color:#999}.typ{color:#f05}.lit{color:#538192}.pun{color:#111}.opn{color:#111}.clo{color:#111}.tag{color:#111}.atn{color:#739200}.atv{color:#f05}.dec{color:#111}.var{color:#111}.fun{color:#538192}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#002451!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#fff}ol.linenums{margin-top:0;margin-bottom:0;color:#7285b7}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#002451;list-style-type:decimal}@media screen{.str{color:#d1f1a9}.kwd{color:#ebbbff}.com{color:#7285b7}.typ{color:#bbdaff}.lit{color:#ffc58f}.pun{color:#fff}.opn{color:#fff}.clo{color:#fff}.tag{color:#ff9da4}.atn{color:#ffc58f}.atv{color:#9ff}.dec{color:#ffc58f}.var{color:#ff9da4}.fun{color:#bbdaff}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#000!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#eaeaea}ol.linenums{margin-top:0;margin-bottom:0;color:#969896}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#000;list-style-type:decimal}@media screen{.str{color:#b9ca4a}.kwd{color:#c397d8}.com{color:#969896}.typ{color:#7aa6da}.lit{color:#e78c45}.pun{color:#eaeaea}.opn{color:#eaeaea}.clo{color:#eaeaea}.tag{color:#d54e53}.atn{color:#e78c45}.atv{color:#70c0b1}.dec{color:#e78c45}.var{color:#d54e53}.fun{color:#7aa6da}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#2d2d2d!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#ccc}ol.linenums{margin-top:0;margin-bottom:0;color:#999}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#2d2d2d;list-style-type:decimal}@media screen{.str{color:#9c9}.kwd{color:#c9c}.com{color:#999}.typ{color:#69c}.lit{color:#f99157}.pun{color:#ccc}.opn{color:#ccc}.clo{color:#ccc}.tag{color:#f2777a}.atn{color:#f99157}.atv{color:#6cc}.dec{color:#f99157}.var{color:#f2777a}.fun{color:#69c}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#1d1f21!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#c5c8c6}ol.linenums{margin-top:0;margin-bottom:0;color:#969896}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#1d1f21;list-style-type:decimal}@media screen{.str{color:#b5bd68}.kwd{color:#b294bb}.com{color:#969896}.typ{color:#81a2be}.lit{color:#de935f}.pun{color:#c5c8c6}.opn{color:#c5c8c6}.clo{color:#c5c8c6}.tag{color:#c66}.atn{color:#de935f}.atv{color:#8abeb7}.dec{color:#de935f}.var{color:#c66}.fun{color:#81a2be}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#fff!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#4d4d4c}ol.linenums{margin-top:0;margin-bottom:0;color:#8e908c}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#fff;list-style-type:decimal}@media screen{.str{color:#718c00}.kwd{color:#8959a8}.com{color:#8e908c}.typ{color:#4271ae}.lit{color:#f5871f}.pun{color:#4d4d4c}.opn{color:#4d4d4c}.clo{color:#4d4d4c}.tag{color:#c82829}.atn{color:#f5871f}.atv{color:#3e999f}.dec{color:#f5871f}.var{color:#c82829}.fun{color:#4271ae}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#2f3640!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#e6e9ed}ol.linenums{margin-top:0;margin-bottom:0;color:#656d78}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#2f3640;list-style-type:decimal}@media screen{.str{color:#ffce54}.kwd{color:#4fc1e9}.com{color:#656d78}.typ{color:#4fc1e9}.lit{color:#ac92ec}.pun{color:#e6e9ed}.opn{color:#e6e9ed}.clo{color:#e6e9ed}.tag{color:#ed5565}.atn{color:#a0d468}.atv{color:#ffce54}.dec{color:#ac92ec}.var{color:#e6e9ed}.fun{color:#e6e9ed}}
|
|
|
@ -1 +0,0 @@
|
||||||
.prettyprint{background:#000!important;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#fff}ol.linenums{margin-top:0;margin-bottom:0;color:#666}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#000;list-style-type:decimal}@media screen{.str{color:#6f0}.kwd{color:#f60}.com{color:#93c}.typ{color:#458}.lit{color:#458}.pun{color:#fff}.opn{color:#fff}.clo{color:#fff}.tag{color:#fff}.atn{color:#9c9}.atv{color:#6f0}.dec{color:#fff}.var{color:#fff}.fun{color:#fc0}}
|
|
|
@ -366,20 +366,20 @@ a {
|
||||||
margin: 13px auto 0;
|
margin: 13px auto 0;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
#post-content code,
|
/*#post-content code,*/
|
||||||
#post-content tt {
|
/*#post-content tt {*/
|
||||||
margin: 0 2px;
|
/*margin: 0 2px;*/
|
||||||
padding: 0px 5px;
|
/*padding: 0px 5px;*/
|
||||||
background-color: rgba(0, 0, 0, 0.04);
|
/*background-color: rgba(0, 0, 0, 0.04);*/
|
||||||
border-radius: 3px;
|
/*border-radius: 3px;*/
|
||||||
}
|
/*}*/
|
||||||
#post-content pre>code {
|
/*#post-content pre>code {*/
|
||||||
margin: 0;
|
/*margin: 0;*/
|
||||||
padding: 0;
|
/*padding: 0;*/
|
||||||
white-space: pre;
|
/*white-space: pre;*/
|
||||||
border: none;
|
/*border: none;*/
|
||||||
background: transparent;
|
/*background: transparent;*/
|
||||||
}
|
/*}*/
|
||||||
#post-content pre {
|
#post-content pre {
|
||||||
background-color: #f7f7f7;
|
background-color: #f7f7f7;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
@ -413,13 +413,13 @@ a {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
#post-content pre code,
|
/*#post-content pre code,*/
|
||||||
#post-content pre tt {
|
/*#post-content pre tt {*/
|
||||||
margin: 0;
|
/*margin: 0;*/
|
||||||
padding: 0;
|
/*padding: 0;*/
|
||||||
background-color: transparent;
|
/*background-color: transparent;*/
|
||||||
border: none;
|
/*border: none;*/
|
||||||
}
|
/*}*/
|
||||||
|
|
||||||
.post-toc-wrap::-webkit-scrollbar{
|
.post-toc-wrap::-webkit-scrollbar{
|
||||||
width: 7px;
|
width: 7px;
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,228 @@
|
||||||
|
/* PrismJS 1.15.0
|
||||||
|
https://prismjs.com/download.html#themes=prism-coy&languages=markup+css+clike+javascript+apacheconf+applescript+c+csharp+autohotkey+bash+basic+cpp+aspnet+arduino+ruby+css-extras+d+dart+django+docker+markup-templating+git+go+groovy+less+haskell+http+hpkp+hsts+ini+java+javastacktrace+json+julia+kotlin+latex+markdown+lua+makefile+nginx+objectivec+opencl+perl+php+php-extras+sql+powershell+properties+scss+pure+python+r+jsx+typescript+rust+sass+stylus+scala+scheme+plsql+pug+swift+yaml+haml+toml+tsx+vbnet+velocity+vim+visual-basic */
|
||||||
|
/**
|
||||||
|
* prism.js Coy theme for JavaScript, CoffeeScript, CSS and HTML
|
||||||
|
* Based on https://github.com/tshedor/workshop-wp-theme (Example: http://workshop.kansan.com/category/sessions/basics or http://workshop.timshedor.com/category/sessions/basics);
|
||||||
|
* @author Tim Shedor
|
||||||
|
*/
|
||||||
|
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
color: black;
|
||||||
|
background: none;
|
||||||
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||||
|
text-align: left;
|
||||||
|
white-space: pre;
|
||||||
|
word-spacing: normal;
|
||||||
|
word-break: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
line-height: 1.5;
|
||||||
|
|
||||||
|
-moz-tab-size: 4;
|
||||||
|
-o-tab-size: 4;
|
||||||
|
tab-size: 4;
|
||||||
|
|
||||||
|
-webkit-hyphens: none;
|
||||||
|
-moz-hyphens: none;
|
||||||
|
-ms-hyphens: none;
|
||||||
|
hyphens: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Code blocks */
|
||||||
|
pre[class*="language-"] {
|
||||||
|
position: relative;
|
||||||
|
margin: .5em 0;
|
||||||
|
overflow: visible;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
pre[class*="language-"]>code {
|
||||||
|
position: relative;
|
||||||
|
border-left: 10px solid #358ccb;
|
||||||
|
box-shadow: -1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf;
|
||||||
|
background-color: #fdfdfd;
|
||||||
|
background-image: linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%);
|
||||||
|
background-size: 3em 3em;
|
||||||
|
background-origin: content-box;
|
||||||
|
background-attachment: local;
|
||||||
|
}
|
||||||
|
|
||||||
|
code[class*="language"] {
|
||||||
|
max-height: inherit;
|
||||||
|
height: inherit;
|
||||||
|
padding: 0 1em;
|
||||||
|
display: block;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Margin bottom to accommodate shadow */
|
||||||
|
:not(pre) > code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
background-color: #fdfdfd;
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inline code */
|
||||||
|
:not(pre) > code[class*="language-"] {
|
||||||
|
position: relative;
|
||||||
|
padding: .2em;
|
||||||
|
border-radius: 0.3em;
|
||||||
|
color: #c92c2c;
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||||
|
display: inline;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"]:before,
|
||||||
|
pre[class*="language-"]:after {
|
||||||
|
content: '';
|
||||||
|
z-index: -2;
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0.75em;
|
||||||
|
left: 0.18em;
|
||||||
|
width: 40%;
|
||||||
|
height: 20%;
|
||||||
|
max-height: 13em;
|
||||||
|
box-shadow: 0px 13px 8px #979797;
|
||||||
|
-webkit-transform: rotate(-2deg);
|
||||||
|
-moz-transform: rotate(-2deg);
|
||||||
|
-ms-transform: rotate(-2deg);
|
||||||
|
-o-transform: rotate(-2deg);
|
||||||
|
transform: rotate(-2deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
:not(pre) > code[class*="language-"]:after,
|
||||||
|
pre[class*="language-"]:after {
|
||||||
|
right: 0.75em;
|
||||||
|
left: auto;
|
||||||
|
-webkit-transform: rotate(2deg);
|
||||||
|
-moz-transform: rotate(2deg);
|
||||||
|
-ms-transform: rotate(2deg);
|
||||||
|
-o-transform: rotate(2deg);
|
||||||
|
transform: rotate(2deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.comment,
|
||||||
|
.token.block-comment,
|
||||||
|
.token.prolog,
|
||||||
|
.token.doctype,
|
||||||
|
.token.cdata {
|
||||||
|
color: #7D8B99;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.punctuation {
|
||||||
|
color: #5F6364;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.property,
|
||||||
|
.token.tag,
|
||||||
|
.token.boolean,
|
||||||
|
.token.number,
|
||||||
|
.token.function-name,
|
||||||
|
.token.constant,
|
||||||
|
.token.symbol,
|
||||||
|
.token.deleted {
|
||||||
|
color: #c92c2c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.selector,
|
||||||
|
.token.attr-name,
|
||||||
|
.token.string,
|
||||||
|
.token.char,
|
||||||
|
.token.function,
|
||||||
|
.token.builtin,
|
||||||
|
.token.inserted {
|
||||||
|
color: #2f9c0a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.operator,
|
||||||
|
.token.entity,
|
||||||
|
.token.url,
|
||||||
|
.token.variable {
|
||||||
|
color: #a67f59;
|
||||||
|
background: rgba(255, 255, 255, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.atrule,
|
||||||
|
.token.attr-value,
|
||||||
|
.token.keyword,
|
||||||
|
.token.class-name {
|
||||||
|
color: #1990b8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.regex,
|
||||||
|
.token.important {
|
||||||
|
color: #e90;
|
||||||
|
}
|
||||||
|
|
||||||
|
.language-css .token.string,
|
||||||
|
.style .token.string {
|
||||||
|
color: #a67f59;
|
||||||
|
background: rgba(255, 255, 255, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.important {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.token.italic {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.entity {
|
||||||
|
cursor: help;
|
||||||
|
}
|
||||||
|
|
||||||
|
.namespace {
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 767px) {
|
||||||
|
pre[class*="language-"]:before,
|
||||||
|
pre[class*="language-"]:after {
|
||||||
|
bottom: 14px;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Plugin styles */
|
||||||
|
.token.tab:not(:empty):before,
|
||||||
|
.token.cr:before,
|
||||||
|
.token.lf:before {
|
||||||
|
color: #e0d7d1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Plugin styles: Line Numbers */
|
||||||
|
pre[class*="language-"].line-numbers.line-numbers {
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"].line-numbers.line-numbers code {
|
||||||
|
padding-left: 3.8em;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"].line-numbers.line-numbers .line-numbers-rows {
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Plugin styles: Line Highlight */
|
||||||
|
pre[class*="language-"][data-line] {
|
||||||
|
padding-top: 0;
|
||||||
|
padding-bottom: 0;
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
pre[data-line] code {
|
||||||
|
position: relative;
|
||||||
|
padding-left: 4em;
|
||||||
|
}
|
||||||
|
pre .line-highlight {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,131 @@
|
||||||
|
/* PrismJS 1.15.0
|
||||||
|
https://prismjs.com/download.html#themes=prism-dark&languages=markup+css+clike+javascript+apacheconf+applescript+c+csharp+autohotkey+bash+basic+cpp+aspnet+arduino+ruby+css-extras+d+dart+django+docker+markup-templating+git+go+groovy+less+haskell+http+hpkp+hsts+ini+java+javastacktrace+json+julia+kotlin+latex+markdown+lua+makefile+nginx+objectivec+opencl+perl+php+php-extras+sql+powershell+properties+scss+pure+python+r+jsx+typescript+rust+sass+stylus+scala+scheme+plsql+pug+swift+yaml+haml+toml+tsx+vbnet+velocity+vim+visual-basic */
|
||||||
|
/**
|
||||||
|
* prism.js Dark theme for JavaScript, CSS and HTML
|
||||||
|
* Based on the slides of the talk “/Reg(exp){2}lained/”
|
||||||
|
* @author Lea Verou
|
||||||
|
*/
|
||||||
|
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
color: white;
|
||||||
|
background: none;
|
||||||
|
text-shadow: 0 -.1em .2em black;
|
||||||
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||||
|
text-align: left;
|
||||||
|
white-space: pre;
|
||||||
|
word-spacing: normal;
|
||||||
|
word-break: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
line-height: 1.5;
|
||||||
|
|
||||||
|
-moz-tab-size: 4;
|
||||||
|
-o-tab-size: 4;
|
||||||
|
tab-size: 4;
|
||||||
|
|
||||||
|
-webkit-hyphens: none;
|
||||||
|
-moz-hyphens: none;
|
||||||
|
-ms-hyphens: none;
|
||||||
|
hyphens: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"],
|
||||||
|
:not(pre) > code[class*="language-"] {
|
||||||
|
background: hsl(30, 20%, 25%);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Code blocks */
|
||||||
|
pre[class*="language-"] {
|
||||||
|
padding: 1em;
|
||||||
|
margin: .5em 0;
|
||||||
|
overflow: auto;
|
||||||
|
border: .3em solid hsl(30, 20%, 40%);
|
||||||
|
border-radius: .5em;
|
||||||
|
box-shadow: 1px 1px .5em black inset;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inline code */
|
||||||
|
:not(pre) > code[class*="language-"] {
|
||||||
|
padding: .15em .2em .05em;
|
||||||
|
border-radius: .3em;
|
||||||
|
border: .13em solid hsl(30, 20%, 40%);
|
||||||
|
box-shadow: 1px 1px .3em -.1em black inset;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.comment,
|
||||||
|
.token.prolog,
|
||||||
|
.token.doctype,
|
||||||
|
.token.cdata {
|
||||||
|
color: hsl(30, 20%, 50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.punctuation {
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.namespace {
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.property,
|
||||||
|
.token.tag,
|
||||||
|
.token.boolean,
|
||||||
|
.token.number,
|
||||||
|
.token.constant,
|
||||||
|
.token.symbol {
|
||||||
|
color: hsl(350, 40%, 70%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.selector,
|
||||||
|
.token.attr-name,
|
||||||
|
.token.string,
|
||||||
|
.token.char,
|
||||||
|
.token.builtin,
|
||||||
|
.token.inserted {
|
||||||
|
color: hsl(75, 70%, 60%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.operator,
|
||||||
|
.token.entity,
|
||||||
|
.token.url,
|
||||||
|
.language-css .token.string,
|
||||||
|
.style .token.string,
|
||||||
|
.token.variable {
|
||||||
|
color: hsl(40, 90%, 60%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.atrule,
|
||||||
|
.token.attr-value,
|
||||||
|
.token.keyword {
|
||||||
|
color: hsl(350, 40%, 70%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.regex,
|
||||||
|
.token.important {
|
||||||
|
color: #e90;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.important,
|
||||||
|
.token.bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.token.italic {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.entity {
|
||||||
|
cursor: help;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.deleted {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,141 @@
|
||||||
|
/* PrismJS 1.15.0
|
||||||
|
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+apacheconf+applescript+c+csharp+autohotkey+bash+basic+cpp+aspnet+arduino+ruby+css-extras+d+dart+django+docker+markup-templating+git+go+groovy+less+haskell+http+hpkp+hsts+ini+java+javastacktrace+json+julia+kotlin+latex+markdown+lua+makefile+nginx+objectivec+opencl+perl+php+php-extras+sql+powershell+properties+scss+pure+python+r+jsx+typescript+rust+sass+stylus+scala+scheme+plsql+pug+swift+yaml+haml+toml+tsx+vbnet+velocity+vim+visual-basic */
|
||||||
|
/**
|
||||||
|
* prism.js default theme for JavaScript, CSS and HTML
|
||||||
|
* Based on dabblet (http://dabblet.com)
|
||||||
|
* @author Lea Verou
|
||||||
|
*/
|
||||||
|
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
color: black;
|
||||||
|
background: none;
|
||||||
|
text-shadow: 0 1px white;
|
||||||
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||||
|
text-align: left;
|
||||||
|
white-space: pre;
|
||||||
|
word-spacing: normal;
|
||||||
|
word-break: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
line-height: 1.5;
|
||||||
|
|
||||||
|
-moz-tab-size: 4;
|
||||||
|
-o-tab-size: 4;
|
||||||
|
tab-size: 4;
|
||||||
|
|
||||||
|
-webkit-hyphens: none;
|
||||||
|
-moz-hyphens: none;
|
||||||
|
-ms-hyphens: none;
|
||||||
|
hyphens: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
|
||||||
|
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
|
||||||
|
code[class*="language-"]::selection, code[class*="language-"] ::selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Code blocks */
|
||||||
|
pre[class*="language-"] {
|
||||||
|
padding: 1em;
|
||||||
|
margin: .5em 0;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
:not(pre) > code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
background: #f5f2f0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inline code */
|
||||||
|
:not(pre) > code[class*="language-"] {
|
||||||
|
padding: .1em;
|
||||||
|
border-radius: .3em;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.comment,
|
||||||
|
.token.prolog,
|
||||||
|
.token.doctype,
|
||||||
|
.token.cdata {
|
||||||
|
color: slategray;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.punctuation {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.namespace {
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.property,
|
||||||
|
.token.tag,
|
||||||
|
.token.boolean,
|
||||||
|
.token.number,
|
||||||
|
.token.constant,
|
||||||
|
.token.symbol,
|
||||||
|
.token.deleted {
|
||||||
|
color: #905;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.selector,
|
||||||
|
.token.attr-name,
|
||||||
|
.token.string,
|
||||||
|
.token.char,
|
||||||
|
.token.builtin,
|
||||||
|
.token.inserted {
|
||||||
|
color: #690;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.operator,
|
||||||
|
.token.entity,
|
||||||
|
.token.url,
|
||||||
|
.language-css .token.string,
|
||||||
|
.style .token.string {
|
||||||
|
color: #9a6e3a;
|
||||||
|
background: hsla(0, 0%, 100%, .5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.atrule,
|
||||||
|
.token.attr-value,
|
||||||
|
.token.keyword {
|
||||||
|
color: #07a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.function,
|
||||||
|
.token.class-name {
|
||||||
|
color: #DD4A68;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.regex,
|
||||||
|
.token.important,
|
||||||
|
.token.variable {
|
||||||
|
color: #e90;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.important,
|
||||||
|
.token.bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.token.italic {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.entity {
|
||||||
|
cursor: help;
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,125 @@
|
||||||
|
/* PrismJS 1.15.0
|
||||||
|
https://prismjs.com/download.html#themes=prism-okaidia&languages=markup+css+clike+javascript+apacheconf+applescript+c+csharp+autohotkey+bash+basic+cpp+aspnet+arduino+ruby+css-extras+d+dart+django+docker+markup-templating+git+go+groovy+less+haskell+http+hpkp+hsts+ini+java+javastacktrace+json+julia+kotlin+latex+markdown+lua+makefile+nginx+objectivec+opencl+perl+php+php-extras+sql+powershell+properties+scss+pure+python+r+jsx+typescript+rust+sass+stylus+scala+scheme+plsql+pug+swift+yaml+haml+toml+tsx+vbnet+velocity+vim+visual-basic */
|
||||||
|
/**
|
||||||
|
* okaidia theme for JavaScript, CSS and HTML
|
||||||
|
* Loosely based on Monokai textmate theme by http://www.monokai.nl/
|
||||||
|
* @author ocodia
|
||||||
|
*/
|
||||||
|
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
color: #f8f8f2;
|
||||||
|
background: none;
|
||||||
|
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
|
||||||
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||||
|
text-align: left;
|
||||||
|
white-space: pre;
|
||||||
|
word-spacing: normal;
|
||||||
|
word-break: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
line-height: 1.5;
|
||||||
|
|
||||||
|
-moz-tab-size: 4;
|
||||||
|
-o-tab-size: 4;
|
||||||
|
tab-size: 4;
|
||||||
|
|
||||||
|
-webkit-hyphens: none;
|
||||||
|
-moz-hyphens: none;
|
||||||
|
-ms-hyphens: none;
|
||||||
|
hyphens: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Code blocks */
|
||||||
|
pre[class*="language-"] {
|
||||||
|
padding: 1em;
|
||||||
|
margin: .5em 0;
|
||||||
|
overflow: auto;
|
||||||
|
border-radius: 0.3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
:not(pre) > code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
background: #272822;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inline code */
|
||||||
|
:not(pre) > code[class*="language-"] {
|
||||||
|
padding: .1em;
|
||||||
|
border-radius: .3em;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.comment,
|
||||||
|
.token.prolog,
|
||||||
|
.token.doctype,
|
||||||
|
.token.cdata {
|
||||||
|
color: slategray;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.punctuation {
|
||||||
|
color: #f8f8f2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.namespace {
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.property,
|
||||||
|
.token.tag,
|
||||||
|
.token.constant,
|
||||||
|
.token.symbol,
|
||||||
|
.token.deleted {
|
||||||
|
color: #f92672;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.boolean,
|
||||||
|
.token.number {
|
||||||
|
color: #ae81ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.selector,
|
||||||
|
.token.attr-name,
|
||||||
|
.token.string,
|
||||||
|
.token.char,
|
||||||
|
.token.builtin,
|
||||||
|
.token.inserted {
|
||||||
|
color: #a6e22e;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.operator,
|
||||||
|
.token.entity,
|
||||||
|
.token.url,
|
||||||
|
.language-css .token.string,
|
||||||
|
.style .token.string,
|
||||||
|
.token.variable {
|
||||||
|
color: #f8f8f2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.atrule,
|
||||||
|
.token.attr-value,
|
||||||
|
.token.function,
|
||||||
|
.token.class-name {
|
||||||
|
color: #e6db74;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.keyword {
|
||||||
|
color: #66d9ef;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.regex,
|
||||||
|
.token.important {
|
||||||
|
color: #fd971f;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.important,
|
||||||
|
.token.bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.token.italic {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.entity {
|
||||||
|
cursor: help;
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,152 @@
|
||||||
|
/* PrismJS 1.15.0
|
||||||
|
https://prismjs.com/download.html#themes=prism-solarizedlight&languages=markup+css+clike+javascript+apacheconf+applescript+c+csharp+autohotkey+bash+basic+cpp+aspnet+arduino+ruby+css-extras+d+dart+django+docker+markup-templating+git+go+groovy+less+haskell+http+hpkp+hsts+ini+java+javastacktrace+json+julia+kotlin+latex+markdown+lua+makefile+nginx+objectivec+opencl+perl+php+php-extras+sql+powershell+properties+scss+pure+python+r+jsx+typescript+rust+sass+stylus+scala+scheme+plsql+pug+swift+yaml+haml+toml+tsx+vbnet+velocity+vim+visual-basic */
|
||||||
|
/*
|
||||||
|
Solarized Color Schemes originally by Ethan Schoonover
|
||||||
|
http://ethanschoonover.com/solarized
|
||||||
|
|
||||||
|
Ported for PrismJS by Hector Matos
|
||||||
|
Website: https://krakendev.io
|
||||||
|
Twitter Handle: https://twitter.com/allonsykraken)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
SOLARIZED HEX
|
||||||
|
--------- -------
|
||||||
|
base03 #002b36
|
||||||
|
base02 #073642
|
||||||
|
base01 #586e75
|
||||||
|
base00 #657b83
|
||||||
|
base0 #839496
|
||||||
|
base1 #93a1a1
|
||||||
|
base2 #eee8d5
|
||||||
|
base3 #fdf6e3
|
||||||
|
yellow #b58900
|
||||||
|
orange #cb4b16
|
||||||
|
red #dc322f
|
||||||
|
magenta #d33682
|
||||||
|
violet #6c71c4
|
||||||
|
blue #268bd2
|
||||||
|
cyan #2aa198
|
||||||
|
green #859900
|
||||||
|
*/
|
||||||
|
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
color: #657b83; /* base00 */
|
||||||
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||||
|
text-align: left;
|
||||||
|
white-space: pre;
|
||||||
|
word-spacing: normal;
|
||||||
|
word-break: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
|
||||||
|
line-height: 1.5;
|
||||||
|
|
||||||
|
-moz-tab-size: 4;
|
||||||
|
-o-tab-size: 4;
|
||||||
|
tab-size: 4;
|
||||||
|
|
||||||
|
-webkit-hyphens: none;
|
||||||
|
-moz-hyphens: none;
|
||||||
|
-ms-hyphens: none;
|
||||||
|
hyphens: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
|
||||||
|
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
|
||||||
|
background: #073642; /* base02 */
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
|
||||||
|
code[class*="language-"]::selection, code[class*="language-"] ::selection {
|
||||||
|
background: #073642; /* base02 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Code blocks */
|
||||||
|
pre[class*="language-"] {
|
||||||
|
padding: 1em;
|
||||||
|
margin: .5em 0;
|
||||||
|
overflow: auto;
|
||||||
|
border-radius: 0.3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
:not(pre) > code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
background-color: #fdf6e3; /* base3 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inline code */
|
||||||
|
:not(pre) > code[class*="language-"] {
|
||||||
|
padding: .1em;
|
||||||
|
border-radius: .3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.comment,
|
||||||
|
.token.prolog,
|
||||||
|
.token.doctype,
|
||||||
|
.token.cdata {
|
||||||
|
color: #93a1a1; /* base1 */
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.punctuation {
|
||||||
|
color: #586e75; /* base01 */
|
||||||
|
}
|
||||||
|
|
||||||
|
.namespace {
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.property,
|
||||||
|
.token.tag,
|
||||||
|
.token.boolean,
|
||||||
|
.token.number,
|
||||||
|
.token.constant,
|
||||||
|
.token.symbol,
|
||||||
|
.token.deleted {
|
||||||
|
color: #268bd2; /* blue */
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.selector,
|
||||||
|
.token.attr-name,
|
||||||
|
.token.string,
|
||||||
|
.token.char,
|
||||||
|
.token.builtin,
|
||||||
|
.token.url,
|
||||||
|
.token.inserted {
|
||||||
|
color: #2aa198; /* cyan */
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.entity {
|
||||||
|
color: #657b83; /* base00 */
|
||||||
|
background: #eee8d5; /* base2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.atrule,
|
||||||
|
.token.attr-value,
|
||||||
|
.token.keyword {
|
||||||
|
color: #859900; /* green */
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.function,
|
||||||
|
.token.class-name {
|
||||||
|
color: #b58900; /* yellow */
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.regex,
|
||||||
|
.token.important,
|
||||||
|
.token.variable {
|
||||||
|
color: #cb4b16; /* orange */
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.important,
|
||||||
|
.token.bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.token.italic {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.entity {
|
||||||
|
cursor: help;
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,124 @@
|
||||||
|
/* PrismJS 1.15.0
|
||||||
|
https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+clike+javascript+apacheconf+applescript+c+csharp+autohotkey+bash+basic+cpp+aspnet+arduino+ruby+css-extras+d+dart+django+docker+markup-templating+git+go+groovy+less+haskell+http+hpkp+hsts+ini+java+javastacktrace+json+julia+kotlin+latex+markdown+lua+makefile+nginx+objectivec+opencl+perl+php+php-extras+sql+powershell+properties+scss+pure+python+r+jsx+typescript+rust+sass+stylus+scala+scheme+plsql+pug+swift+yaml+haml+toml+tsx+vbnet+velocity+vim+visual-basic */
|
||||||
|
/**
|
||||||
|
* prism.js tomorrow night eighties for JavaScript, CoffeeScript, CSS and HTML
|
||||||
|
* Based on https://github.com/chriskempson/tomorrow-theme
|
||||||
|
* @author Rose Pritchard
|
||||||
|
*/
|
||||||
|
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
color: #ccc;
|
||||||
|
background: none;
|
||||||
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||||
|
text-align: left;
|
||||||
|
white-space: pre;
|
||||||
|
word-spacing: normal;
|
||||||
|
word-break: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
line-height: 1.5;
|
||||||
|
|
||||||
|
-moz-tab-size: 4;
|
||||||
|
-o-tab-size: 4;
|
||||||
|
tab-size: 4;
|
||||||
|
|
||||||
|
-webkit-hyphens: none;
|
||||||
|
-moz-hyphens: none;
|
||||||
|
-ms-hyphens: none;
|
||||||
|
hyphens: none;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Code blocks */
|
||||||
|
pre[class*="language-"] {
|
||||||
|
padding: 1em;
|
||||||
|
margin: .5em 0;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
:not(pre) > code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
background: #2d2d2d;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inline code */
|
||||||
|
:not(pre) > code[class*="language-"] {
|
||||||
|
padding: .1em;
|
||||||
|
border-radius: .3em;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.comment,
|
||||||
|
.token.block-comment,
|
||||||
|
.token.prolog,
|
||||||
|
.token.doctype,
|
||||||
|
.token.cdata {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.punctuation {
|
||||||
|
color: #ccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.tag,
|
||||||
|
.token.attr-name,
|
||||||
|
.token.namespace,
|
||||||
|
.token.deleted {
|
||||||
|
color: #e2777a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.function-name {
|
||||||
|
color: #6196cc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.boolean,
|
||||||
|
.token.number,
|
||||||
|
.token.function {
|
||||||
|
color: #f08d49;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.property,
|
||||||
|
.token.class-name,
|
||||||
|
.token.constant,
|
||||||
|
.token.symbol {
|
||||||
|
color: #f8c555;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.selector,
|
||||||
|
.token.important,
|
||||||
|
.token.atrule,
|
||||||
|
.token.keyword,
|
||||||
|
.token.builtin {
|
||||||
|
color: #cc99cd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.string,
|
||||||
|
.token.char,
|
||||||
|
.token.attr-value,
|
||||||
|
.token.regex,
|
||||||
|
.token.variable {
|
||||||
|
color: #7ec699;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.operator,
|
||||||
|
.token.entity,
|
||||||
|
.token.url {
|
||||||
|
color: #67cdcc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.important,
|
||||||
|
.token.bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.token.italic {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.entity {
|
||||||
|
cursor: help;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.inserted {
|
||||||
|
color: green;
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,201 @@
|
||||||
|
/* PrismJS 1.15.0
|
||||||
|
https://prismjs.com/download.html#themes=prism-twilight&languages=markup+css+clike+javascript+apacheconf+applescript+c+csharp+autohotkey+bash+basic+cpp+aspnet+arduino+ruby+css-extras+d+dart+django+docker+markup-templating+git+go+groovy+less+haskell+http+hpkp+hsts+ini+java+javastacktrace+json+julia+kotlin+latex+markdown+lua+makefile+nginx+objectivec+opencl+perl+php+php-extras+sql+powershell+properties+scss+pure+python+r+jsx+typescript+rust+sass+stylus+scala+scheme+plsql+pug+swift+yaml+haml+toml+tsx+vbnet+velocity+vim+visual-basic */
|
||||||
|
/**
|
||||||
|
* prism.js Twilight theme
|
||||||
|
* Based (more or less) on the Twilight theme originally of Textmate fame.
|
||||||
|
* @author Remy Bach
|
||||||
|
*/
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
color: white;
|
||||||
|
background: none;
|
||||||
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||||
|
text-align: left;
|
||||||
|
text-shadow: 0 -.1em .2em black;
|
||||||
|
white-space: pre;
|
||||||
|
word-spacing: normal;
|
||||||
|
word-break: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
line-height: 1.5;
|
||||||
|
|
||||||
|
-moz-tab-size: 4;
|
||||||
|
-o-tab-size: 4;
|
||||||
|
tab-size: 4;
|
||||||
|
|
||||||
|
-webkit-hyphens: none;
|
||||||
|
-moz-hyphens: none;
|
||||||
|
-ms-hyphens: none;
|
||||||
|
hyphens: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"],
|
||||||
|
:not(pre) > code[class*="language-"] {
|
||||||
|
background: hsl(0, 0%, 8%); /* #141414 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Code blocks */
|
||||||
|
pre[class*="language-"] {
|
||||||
|
border-radius: .5em;
|
||||||
|
border: .3em solid hsl(0, 0%, 33%); /* #282A2B */
|
||||||
|
box-shadow: 1px 1px .5em black inset;
|
||||||
|
margin: .5em 0;
|
||||||
|
overflow: auto;
|
||||||
|
padding: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"]::-moz-selection {
|
||||||
|
/* Firefox */
|
||||||
|
background: hsl(200, 4%, 16%); /* #282A2B */
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"]::selection {
|
||||||
|
/* Safari */
|
||||||
|
background: hsl(200, 4%, 16%); /* #282A2B */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Text Selection colour */
|
||||||
|
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
|
||||||
|
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: hsla(0, 0%, 93%, 0.15); /* #EDEDED */
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
|
||||||
|
code[class*="language-"]::selection, code[class*="language-"] ::selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: hsla(0, 0%, 93%, 0.15); /* #EDEDED */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inline code */
|
||||||
|
:not(pre) > code[class*="language-"] {
|
||||||
|
border-radius: .3em;
|
||||||
|
border: .13em solid hsl(0, 0%, 33%); /* #545454 */
|
||||||
|
box-shadow: 1px 1px .3em -.1em black inset;
|
||||||
|
padding: .15em .2em .05em;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.comment,
|
||||||
|
.token.prolog,
|
||||||
|
.token.doctype,
|
||||||
|
.token.cdata {
|
||||||
|
color: hsl(0, 0%, 47%); /* #777777 */
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.punctuation {
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.namespace {
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.tag,
|
||||||
|
.token.boolean,
|
||||||
|
.token.number,
|
||||||
|
.token.deleted {
|
||||||
|
color: hsl(14, 58%, 55%); /* #CF6A4C */
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.keyword,
|
||||||
|
.token.property,
|
||||||
|
.token.selector,
|
||||||
|
.token.constant,
|
||||||
|
.token.symbol,
|
||||||
|
.token.builtin {
|
||||||
|
color: hsl(53, 89%, 79%); /* #F9EE98 */
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.attr-name,
|
||||||
|
.token.attr-value,
|
||||||
|
.token.string,
|
||||||
|
.token.char,
|
||||||
|
.token.operator,
|
||||||
|
.token.entity,
|
||||||
|
.token.url,
|
||||||
|
.language-css .token.string,
|
||||||
|
.style .token.string,
|
||||||
|
.token.variable,
|
||||||
|
.token.inserted {
|
||||||
|
color: hsl(76, 21%, 52%); /* #8F9D6A */
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.atrule {
|
||||||
|
color: hsl(218, 22%, 55%); /* #7587A6 */
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.regex,
|
||||||
|
.token.important {
|
||||||
|
color: hsl(42, 75%, 65%); /* #E9C062 */
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.important,
|
||||||
|
.token.bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.token.italic {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.entity {
|
||||||
|
cursor: help;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[data-line] {
|
||||||
|
padding: 1em 0 1em 3em;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Markup */
|
||||||
|
.language-markup .token.tag,
|
||||||
|
.language-markup .token.attr-name,
|
||||||
|
.language-markup .token.punctuation {
|
||||||
|
color: hsl(33, 33%, 52%); /* #AC885B */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Make the tokens sit above the line highlight so the colours don't look faded. */
|
||||||
|
.token {
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-highlight {
|
||||||
|
background: hsla(0, 0%, 33%, 0.25); /* #545454 */
|
||||||
|
background: linear-gradient(to right, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0)); /* #545454 */
|
||||||
|
border-bottom: 1px dashed hsl(0, 0%, 33%); /* #545454 */
|
||||||
|
border-top: 1px dashed hsl(0, 0%, 33%); /* #545454 */
|
||||||
|
left: 0;
|
||||||
|
line-height: inherit;
|
||||||
|
margin-top: 0.75em; /* Same as .prism’s padding-top */
|
||||||
|
padding: inherit 0;
|
||||||
|
pointer-events: none;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
white-space: pre;
|
||||||
|
z-index: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-highlight:before,
|
||||||
|
.line-highlight[data-end]:after {
|
||||||
|
background-color: hsl(215, 15%, 59%); /* #8794A6 */
|
||||||
|
border-radius: 999px;
|
||||||
|
box-shadow: 0 1px white;
|
||||||
|
color: hsl(24, 20%, 95%); /* #F5F2F0 */
|
||||||
|
content: attr(data-start);
|
||||||
|
font: bold 65%/1.5 sans-serif;
|
||||||
|
left: .6em;
|
||||||
|
min-width: 1em;
|
||||||
|
padding: 0 .5em;
|
||||||
|
position: absolute;
|
||||||
|
text-align: center;
|
||||||
|
text-shadow: none;
|
||||||
|
top: .4em;
|
||||||
|
vertical-align: .3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-highlight[data-end]:after {
|
||||||
|
bottom: .4em;
|
||||||
|
content: attr(data-end);
|
||||||
|
top: auto;
|
||||||
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue