gitbook-plugin-lock
Advanced tools
Comparing version 0.0.30 to 0.0.31
@@ -70,26 +70,22 @@ require(['gitbook', 'jQuery'], function(gitbook, $) { | ||
// const rmm = document.createElement('div'); // is a node | ||
// rmm.id = 'read-more-mask'; | ||
// rmm.style.position = 'relative' | ||
// rmm.style.height = '500px' | ||
// rmm.style.background = '-webkit-gradient(linear, 0 0%, 0 100%, from(rgba(255, 255, 255, 0)),to(rgb(255, 255, 255)))' | ||
// // rmm.appendChild(html.join('')) | ||
// rmm.innerHTML = html | ||
// const rmw = document.createElement('div'); // is a node | ||
// rmw.id = "read-more-wrap" | ||
// rmw.style.position = 'absolute' | ||
// rmw.style.bottom = '0px' | ||
// rmw.style.zIndex = '9999' | ||
// rmw.style.width = '100%' | ||
// rmw.style.marginTop = '-100px' | ||
// rmw.style.fontFamily = 'PingFangSC-Regular, sans-serif' | ||
// rmw.appendChild(rmm) | ||
// | ||
cla[0].after(html) | ||
const rmm = document.createElement('div'); // is a node | ||
rmm.id = 'read-more-mask'; | ||
rmm.style.position = 'relative' | ||
rmm.style.height = '500px' | ||
rmm.style.background = '-webkit-gradient(linear, 0 0%, 0 100%, from(rgba(255, 255, 255, 0)),to(rgb(255, 255, 255)))' | ||
// rmm.appendChild(html.join('')) | ||
rmm.innerHTML = html | ||
const rmw = document.createElement('div'); // is a node | ||
rmw.id = "read-more-wrap" | ||
rmw.style.position = 'absolute' | ||
rmw.style.bottom = '0px' | ||
rmw.style.zIndex = '9999' | ||
rmw.style.width = '100%' | ||
rmw.style.marginTop = '-100px' | ||
rmw.style.fontFamily = 'PingFangSC-Regular, sans-serif' | ||
rmw.appendChild(rmm) | ||
cla[0].after(rmw) | ||
// const pw = document.getElementsByClassName("page-wrapper"); | ||
@@ -96,0 +92,0 @@ // pw[0]. |
{ | ||
"name": "gitbook-plugin-lock", | ||
"version": "0.0.30", | ||
"version": "0.0.31", | ||
"description": "Gitbook 页面加锁", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
9149
128