提交 da639112 编写于 作者: C Catouse

* use base64 image instead of image file.

上级 08acf44c
......@@ -1870,7 +1870,6 @@
readyChangeTheme(theme.css);
} else {
setTimeout(function() {
theme.variablesLess += '@pageTheme: true;';
compileTheme(theme, null, function(style) {
if(style) {
theme.css = style.css;
......
......@@ -9,8 +9,6 @@
// DOCUMENT SITE STYLE
// ===================
@pageTheme: false;
// mixins
.chapter-accent(@color;
......@@ -953,17 +951,13 @@ body {
content: ' ';
width: 29px;
height: 9px;
background: @color-yellow url(../img/update_badage.gif) no-repeat 0 -10px;
background: @color-yellow url("data:image/gif;base64,R0lGODlhHQATAIAAAP///////yH5BAEAAAEALAAAAAAdABMAAAJBjI+py+0JTAQ0RPlQnefa3FnT9nnZxUkjiJVky8byTNf2TaOi2qFbFSoJU7oPBAPkUJIqk86jbBUhU6bRZ8JpHwUAOw==") no-repeat 0 -10px;
position: absolute;
left: 5px;
top: 5px;
box-shadow: 0 0 0 1px #fff;
border-radius: 2px;
z-index: 12;
& when(@pageTheme = true) {
background-image: url('docs/img/update_badage.gif');
}
}
}
&.section-new {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册