Minify
Fiz minify do css e do js das últimas alterações
This commit is contained in:
1 parent
7ee6a936c2
commit
52873c8724
2 files changed
+2
-4
No files matched your search
Vendored
+1
-3
@@ -1,3 +1 @@
|
|||||||
main{position:relative}#papel{padding:18px;box-sizing:border-box;border-radius:5px;margin-top:45px}.page-navigation{margin-bottom:30px}object pre{font-size:18px}.referencias_capitulo{width:266px;display:flex;font-size:15px;flex-direction:row;justify-content:space-between;align-items:center;height:35px;background-color:#f8f9fa;color:#fff;text-align:center;color:#444;box-shadow:0 1px 3px #ababab;position:fixed;bottom:0;border-radius:5px 5px 0 0;left:50%;transform:translateX(-50%);border-width:1px 1px 0;border-style:solid;border-color:#dedfe0}.referencias_capitulo span{margin:5px}.referencias_capitulo input{border:1px solid #dedede;height:25px;width:103px;border-radius:5px;margin-right:4px;font-size:12px;color:#999;background-size:15px 15px}.referencias_capitulo input::placeholder{color:#999;font-size:12.5px}.referencias_capitulo .cont_ref{width:160px;display:flex;flex-direction:row;justify-content:center;align-items:center}.pegarLink{border:none;font-size:11px;height:30px;background-color:#e4e4e4;border-radius:3px;margin-left:2px;padding:0}
|
main{position:relative}#papel{padding:18px;box-sizing:border-box;border-radius:5px;margin-top:45px}.page-navigation{margin-bottom:30px}object pre{font-size:18px}.referencias_capitulo{width:266px;display:flex;font-size:15px;flex-direction:row;justify-content:space-between;align-items:center;height:35px;background-color:#f8f9fa;color:#fff;text-align:center;color:#444;box-shadow:0 1px 3px #ababab;position:fixed;bottom:0;border-radius:5px 5px 0 0;left:50%;transform:translateX(-50%);border-width:1px 1px 0 1px;border-style:solid;border-color:#dedfe0}.referencias_capitulo span{margin:5px}.referencias_capitulo input{border:1px solid #dedede;height:25px;width:103px;border-radius:5px;margin-right:4px;font-size:12px;color:#999;background-size:15px 15px}.referencias_capitulo input::placeholder{color:#999;font-size:12.5px}.referencias_capitulo .cont_ref{width:160px;display:flex;flex-direction:row;justify-content:center;align-items:center}.pegarLink{border:none;font-size:11px;height:30px;background-color:#e4e4e4;border-radius:3px;margin-left:2px;padding:0}.pegarLink span{margin-top:0;margin-bottom:0}.pegarLink span img{height:18px;width:auto;margin-bottom:-5px}.pegarLink:hover{background-color:#ddedfd}.modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5)}.modal-content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#fff;padding:20px;min-width:260px;max-width:400px;border-radius:3px;font-size:14px}.modal-content p{margin-bottom:0}.modal-content div{margin-bottom:1rem}#qrcode_container{margin:13px auto 20px auto}.close{position:absolute;top:0;right:0;padding:0 15px;cursor:pointer;background-color:#d3d3d3;border-radius:3px}.close:hover{background-color:#d15e5e}#moan-menu-texto{position:absolute;right:0}#moan-menu-texto img{width:16px;height:auto}#moan-menu-texto button{background:#fff;border:1px solid #ccc;border-radius:5px;padding:4px 9px;margin:3px;cursor:pointer}#moan-menu-texto button:hover{box-shadow:0 0 5px rgba(0,0,0,.5)}.luz_apagada{background-color:#444!important}h1{font-size:2em}h2{font-size:1.5em}h3,h4{font-size:1.3em}h5,h6{font-size:1.02em}.callout.callout-style-default>div.callout-header{font-size:.88em}.callout.callout-style-default .callout-body{font-size:.88em}.versao-impressa-compre{font-size:.85em}.versao-impressa-compre h2{border:none;color:#a0a5a7;margin-bottom:0}.versao-impressa-compre ul{margin-top:10px}@media only screen and (max-width:767px){#quarto-content{display:block!important}#moan-menu-texto{top:-34px}}@media only screen and (max-width:500px){#moan-menu-texto{left:50%;transform:translate(-50%,-50%)}#papel{margin-top:90px}}
|
||||||
.pegarLink span{margin-top:0;margin-bottom:0}.pegarLink span img{height:18px;width:auto;margin-bottom:-5px}.pegarLink:hover{background-color:#ddedfd}.modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5)}.modal-content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#fff;padding:20px;min-width:260px;max-width:400px;border-radius:3px;font-size:14px}.modal-content p{margin-bottom:0}.modal-content div{margin-bottom:1rem}#qrcode_container{margin:13px auto 5px auto}.close{position:absolute;top:0;right:0;padding:0 15px;cursor:pointer;background-color:#d3d3d3;border-radius:3px}.close:hover{background-color:#d15e5e}#moan-menu-texto{position:absolute;right:0}#moan-menu-texto img{width:16px;height:auto}#moan-menu-texto button{background:#fff;border:1px solid #ccc;border-radius:5px;padding:4px 9px;margin:3px;cursor:pointer}#moan-menu-texto button:hover{box-shadow:0 0 5px rgba(0,0,0,.5)}.luz_apagada{background-color:#444 !important}
|
|
||||||
h1{font-size:2em}h2{font-size:1.5em}h3,h4{font-size:1.3em}h5,h6{font-size:1.02em}.callout.callout-style-default>div.callout-header{font-size:.88em}.callout.callout-style-default .callout-body{font-size:.88em}@media only screen and (max-width:767px){#quarto-content{display:block !important}#moan-menu-texto{top:-34px}}@media only screen and (max-width:500px){#moan-menu-texto{left:50%;transform:translate(-50%,-50%)}#papel{margin-top:90px}}
|
|
||||||
Vendored
+1
-1
@@ -1 +1 @@
|
|||||||
var observer,elementosNaPagina=[];let ref_cap_busca={};window.onload=e=>{let t=new Audio("https://js.livro.online/moan-quarto/Interruptor.mp3"),n=metadados.livroUrl,a=["#fff","antiquewhite","url('https://js.livro.online/moan-quarto/olga-thelavart-HZm2XR0whdw-unsplash_P.jpg')","url('https://js.livro.online/moan-quarto/paper-g5d2cae661_1280_Pixabay_user_geralt.jpg')"],o=0,l=document.querySelector("body"),r=document.getElementById("quarto-content"),i=document.querySelector(".page-navigation"),s=document.getElementById("quarto-sidebar"),c=document.getElementById("quarto-margin-sidebar"),d=document.querySelectorAll(".sidebar-item-container"),p=document.querySelectorAll("span.chapter-number"),f=document.getElementById("toc-title"),u=!1,g=document.querySelector("#papel"),m=document.querySelector("main");var y=document.createElement("div");function h(e,t){let n=document.createElement("button"),a=document.createElement("img");return a.src=e,n.appendChild(a),n.addEventListener("click",function(){t()}),n}y.id="moan-menu-texto";let v=document.querySelector("header"),$=window.getComputedStyle(g,null).getPropertyValue("font-size"),b=$.split("p"),E=b[0];function L(){let e=localStorage.getItem("livro.online@"+n+".config"),t=localStorage.getItem("quarto-color-scheme"),l=!1;l="default"!=t;let r=JSON.parse(e);e&&(r[0]&&A(r[0]),r[1]&&(o=r[1],g.style.background=a[r[1]],u&&!l&&i&&(i.style.background=a[r[1]]),l&&g.style.removeProperty("background")),r[2]&&(u=r[2])&&!l&&F())}function C(e,t){let a=localStorage.getItem("livro.online@"+n+".config");if(a){let o=JSON.parse(a),l;switch(e){case"fonte":o[0]=t,l=JSON.stringify(o),localStorage.setItem("livro.online@"+n+".config",l);break;case"papel":o[1]=t,l=JSON.stringify(o),localStorage.setItem("livro.online@"+n+".config",l);break;case"luz_apagada":o[2]=t,l=JSON.stringify(o),localStorage.setItem("livro.online@"+n+".config",l)}}else{let r=[],i;switch(e){case"fonte":r[0]=t,i=JSON.stringify(r),localStorage.setItem("livro.online@"+n+".config",i);break;case"papel":r[1]=t,i=JSON.stringify(r),localStorage.setItem("livro.online@"+n+".config",i);break;case"fundo":r[2]=t,i=JSON.stringify(r),localStorage.setItem("livro.online@"+n+".config",i)}}}L();let z=document.createElement("script");z.src="https://js.livro.online/bibliotecas_de_terceiros/qrcode.min.js",document.body.appendChild(z);let S=document.createElement("div");S.id="modal",S.className="modal",S.style.display="none";let k=document.createElement("div");k.className="modal-content";let q=document.createElement("span");q.className="close",q.innerHTML="×",q.style.fontSize="20px";let I=document.createElement("div"),P=document.createElement("p");P.innerHTML="<strong>Refer\xeancia</strong>";let _=document.createElement("span");_.id="ref",I.appendChild(P),I.appendChild(_);let x=document.createElement("div"),N=document.createElement("p");N.innerHTML="<strong>Link</strong>";let w=document.createElement("span");w.id="link",x.appendChild(N),x.appendChild(w);let j=document.createElement("p");j.innerHTML="<strong>QR Code</strong>";let R=document.createElement("div");function H(){let e=window.getComputedStyle(y,null).getPropertyValue("font-size"),t=window.getComputedStyle(v,null).getPropertyValue("font-size"),n=parseInt(window.getComputedStyle(g,null).getPropertyValue("font-size").split("p")[0])-2;g.style.fontSize=`${n}px`,y.style.fontSize=e,v.style.fontSize=t,C("fonte",n)}function A(e){let t=window.getComputedStyle(y,null).getPropertyValue("font-size"),n=window.getComputedStyle(v,null).getPropertyValue("font-size");if(void 0!==e)g.style.fontSize=`${e}px`,y.style.fontSize=t,v.style.fontSize=n;else{let a=parseInt(window.getComputedStyle(g,null).getPropertyValue("font-size").split("p")[0])+2;g.style.fontSize=`${a}px`,y.style.fontSize=t,v.style.fontSize=n,C("fonte",a)}}function B(){g.style.fontSize=E+"px",C("fonte",E)}function V(){if(l.classList.contains("quarto-dark")){alert("Voc\xea precisa desabilitar o modo escuro para poder alterar o papel.");return}(o+=1)>a.length-1&&(o=0),g.style.background=a[o],C("papel",o),u&&i&&(i.style.background=a[o])}function D(){r.classList.remove("luz_apagada"),i&&i.style.removeProperty("background"),s.style.removeProperty("color"),s.classList.remove("luz_apagada"),d.forEach(e=>{e.style.removeProperty("color")}),p.forEach(e=>{"H1"===e.parentNode.nodeName.toUpperCase()||e.parentNode.classList.contains("nav-page-text")||e.style.removeProperty("color")}),c.style.removeProperty("color"),f&&f.style.removeProperty("color"),u=!1}function F(){r.classList.add("luz_apagada"),i&&(i.style.backgroundColor=a[o]),g.style.background=a[o],s.style.color="#fff",s.classList.add("luz_apagada"),d.forEach(e=>{e.style.color="#fff"}),p.forEach(e=>{"H1"===e.parentNode.nodeName.toUpperCase()||e.parentNode.classList.contains("nav-page-text")||(e.style.color="#fff")}),c.style.color="#fff",f&&(f.style.color="#fff"),u=!0}function M(){if(l.classList.contains("quarto-dark")){alert("Voc\xea precisa desabilitar o modo escuro para o estado da luz de fundo."Line truncated
|
var observer,elementosNaPagina=[];let ref_cap_busca={};window.onload=e=>{let t=new Audio("https://js.livro.online/moan-quarto/Interruptor.mp3"),n=metadados.livroUrl,a=["#fff","antiquewhite","url('https://js.livro.online/moan-quarto/olga-thelavart-HZm2XR0whdw-unsplash_P.jpg')","url('https://js.livro.online/moan-quarto/paper-g5d2cae661_1280_Pixabay_user_geralt.jpg')"],o=0,r=document.querySelector("body"),l=document.getElementById("quarto-content"),i=document.querySelector(".page-navigation"),s=document.getElementById("quarto-sidebar"),c=document.getElementById("quarto-margin-sidebar"),p=document.querySelectorAll(".sidebar-item-container"),d=document.querySelectorAll("span.chapter-number"),m=document.getElementById("toc-title"),f=document.querySelector(".quarto-navbar-tools"),g=!1,u=document.querySelector("#papel"),h=document.querySelector("main");var y=document.createElement("div");function v(e,t){let n=document.createElement("button"),a=document.createElement("img");return a.src=e,n.appendChild(a),n.addEventListener("click",function(){t()}),n}y.id="moan-menu-texto";let $=document.querySelector("header"),E=window.getComputedStyle(u,null).getPropertyValue("font-size"),C=E.split("p"),b=C[0];function L(){let e=localStorage.getItem("livro.online@"+n+".config"),t=localStorage.getItem("quarto-color-scheme"),r=!1;r="default"!=t;let l=JSON.parse(e);e&&(l[0]&&G(l[0]),l[1]&&(o=l[1],u.style.background=a[l[1]],g&&!r&&i&&(i.style.background=a[l[1]]),r&&u.style.removeProperty("background")),l[2]&&(g=l[2])&&!r&&Q())}function q(e,t){let a=localStorage.getItem("livro.online@"+n+".config");if(a){let o=JSON.parse(a),r;switch(e){case"fonte":o[0]=t,r=JSON.stringify(o),localStorage.setItem("livro.online@"+n+".config",r);break;case"papel":o[1]=t,r=JSON.stringify(o),localStorage.setItem("livro.online@"+n+".config",r);break;case"luz_apagada":o[2]=t,r=JSON.stringify(o),localStorage.setItem("livro.online@"+n+".config",r)}}else{let l=[],i;switch(e){case"fonte":l[0]=t,i=JSON.stringify(l),localStorage.setItem("livro.online@"+n+".config",i);break;case"papel":l[1]=t,i=JSON.stringify(l),localStorage.setItem("livro.online@"+n+".config",i);break;case"fundo":l[2]=t,i=JSON.stringify(l),localStorage.setItem("livro.online@"+n+".config",i)}}}L();let z=document.createElement("script");z.src="https://js.livro.online/bibliotecas_de_terceiros/qrcode.min.js",document.body.appendChild(z);let S=document.createElement("div");S.id="modal",S.className="modal",S.style.display="none";let k=document.createElement("div");k.className="modal-content";let I=document.createElement("span");I.className="close",I.innerHTML="×",I.style.fontSize="20px";let x=document.createElement("div"),_=document.createElement("p");_.innerHTML="<strong>Refer\xeancia</strong>";let P=document.createElement("span");P.id="ref",x.appendChild(_),x.appendChild(P);let N=document.createElement("div"),j=document.createElement("p");j.innerHTML="<strong>Link</strong>";let w=document.createElement("span");w.id="link",N.appendChild(j),N.appendChild(w);let R=document.createElement("p");R.innerHTML="<strong>QR Code</strong>";let H=document.createElement("div");H.id="qrcode_container";let M=document.createElement("div"),A=document.createElement("p");A.innerHTML="<strong>Como Citar</strong>";let T=document.createElement("span");T.innerHTML="Veja <a href='/index.html#como-citar'>aqui</a> como citar este livro.",M.appendChild(A),M.appendChild(T);let V=document.createElement("div"),B=document.createElement("p");B.innerHTML="<strong>Vers\xe3o Impressa</strong>";let D=document.createElement("span");function F(){let e=window.getComputedStyle(y,null).getPropertyValue("font-size"),t=window.getComputedStyle($,null).getPropertyValue("font-size"),n=parseInt(window.getComputedStyle(u,null).getPropertyValue("font-size").split("p")[0])-2;u.style.fontSize=`${n}px`,y.style.fontSize=e,$.style.fontSize=t,q("fonte",n)}function G(e){let t=window.getComputedStyle(y,null).getPropertyValue("font-size"),n=window.getComputedStyle($,null).getPropertyValue("font-size");if(void 0!==e)u.style.fontSize=`${e}px`,y.style.fontSize=t,$.style.fontSize=n;else{let a=parseInt(window.getComputedStyle(u,null).getPropertyValue("font-size").split("p")[0])+2;u.style.fontSize=`${a}px`,y.style.fontSize=t,$.style.fontSize=n,q("fonte",a)}}function U(){u.style.fontSize=b+"px",q("fonte",b)}function O(){if(r.classList.contains("quarto-dark")){alert("Voc\xea precisa desabilitar o modo escuro para poder alterar o papel.");return}(o+=1)>a.length-1&&(o=0),u.style.background=a[o],q("papel",o),g&&i&&(i.style.background=a[o])}function J(){l.classList.remove("luz_apagada"),i&&i.style.removeProperty("background"),s.style.removeProperty("color"),s.classList.remove("luz_apagada"),p.forEach(e=>{e.style.removeProperty("color")}),d.forEach(e=>{"H1"===e.parentNode.nodeName.toUpperCase()||e.parentNode.classList.contains("nav-page-text")||e.style.removeProperty("color")}),c.style.removeProperty("color"),m&&m.style.removeProperty("color"),g=!1}function Q(){l.classLine truncated
|
||||||
Reference in new issue
Block a user