Troca do github pelo gitea da Editora Moan

This commit is contained in:
Rafael Tavares Juliani 2025-03-09 23:25:28 -03:00
parent efa7b6e966
commit 03b074308b
4 changed files with 496 additions and 496 deletions

View File

@ -1,6 +1,6 @@
# moan-quarto # moan-quarto
Complemento para o leitor web de livros da Editora Moan para o Sistema Quarto Complemento para o leitor web de livros da Editora Moan para o Sistema Quarto
# Mais informações # Mais informações
Repositório contendo os arquivos para os novos livros da Editora Moan funcionarem na web, a partir do quarto (sistema de publicações científicas). Eu chamo de leitor de livros moan, mas nao é um leitor completo porque uso a estrutura do quarto. Na verdade, é só um complemento para mais funções. No entanto, contém uma parte essencial que é mostrar os índices de referência, por exemplo, AP2, 2P13 etc. Repositório contendo os arquivos para os novos livros da Editora Moan funcionarem na web, a partir do quarto (sistema de publicações científicas). Eu chamo de leitor de livros moan, mas nao é um leitor completo porque uso a estrutura do quarto. Na verdade, é só um complemento para mais funções. No entanto, contém uma parte essencial que é mostrar os índices de referência, por exemplo, AP2, 2P13 etc.

View File

@ -1,231 +1,231 @@
main { main {
position: relative; position: relative;
} }
#papel { #papel {
padding: 18px; padding: 18px;
box-sizing: border-box; box-sizing: border-box;
border-radius: 5px; border-radius: 5px;
margin-top: 45px; margin-top: 45px;
} }
.page-navigation { .page-navigation {
margin-bottom: 30px; /** Evita que o container .referencias_capitulo atrapalhe o .page-navigation **/ margin-bottom: 30px; /** Evita que o container .referencias_capitulo atrapalhe o .page-navigation **/
} }
object pre { object pre {
font-size: 18px; font-size: 18px;
} }
.referencias_capitulo { .referencias_capitulo {
width: 266px; width: 266px;
display: flex; display: flex;
font-size: 15px; font-size: 15px;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
height: 35px; height: 35px;
background-color: #f8f9fa; background-color: #f8f9fa;
color: #fff; color: #fff;
text-align: center; text-align: center;
color: #444; color: #444;
box-shadow: 0 1px 3px #ababab; box-shadow: 0 1px 3px #ababab;
position: fixed; position: fixed;
bottom: 0; bottom: 0;
border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
border-width: 1px 1px 0 1px; border-width: 1px 1px 0 1px;
border-style: solid; border-style: solid;
border-color: #dedfe0; border-color: #dedfe0;
} }
.referencias_capitulo span { .referencias_capitulo span {
margin: 5px; margin: 5px;
} }
.referencias_capitulo input { .referencias_capitulo input {
border: 1px solid #dedede; border: 1px solid #dedede;
height: 25px; height: 25px;
width: 103px; width: 103px;
border-radius: 5px; border-radius: 5px;
margin-right: 4px; margin-right: 4px;
font-size: 12px; font-size: 12px;
color:#999; color:#999;
background-size: 15px 15px; background-size: 15px 15px;
} }
.referencias_capitulo input::placeholder { .referencias_capitulo input::placeholder {
color: #999; color: #999;
font-size: 12.5px; font-size: 12.5px;
} }
.referencias_capitulo .cont_ref { .referencias_capitulo .cont_ref {
width: 160px; width: 160px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.pegarLink { .pegarLink {
border: none; border: none;
font-size: 11px; font-size: 11px;
height: 30px; height: 30px;
background-color: #e4e4e4; background-color: #e4e4e4;
border-radius: 3px; border-radius: 3px;
margin-left: 2px; margin-left: 2px;
padding: 0; padding: 0;
} }
.pegarLink span { .pegarLink span {
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
} }
.pegarLink span img { .pegarLink span img {
height: 18px; height: 18px;
width: auto; width: auto;
margin-bottom: -5px; margin-bottom: -5px;
} }
.pegarLink:hover { .pegarLink:hover {
background-color: #ddedfd; background-color: #ddedfd;
} }
/* Estilo da janela modal */ /* Estilo da janela modal */
.modal { .modal {
display: none; display: none;
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: rgba(0, 0, 0, 0.5); background-color: rgba(0, 0, 0, 0.5);
} }
.modal-content { .modal-content {
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
background-color: #fff; background-color: #fff;
padding: 20px; padding: 20px;
min-width: 260px; min-width: 260px;
max-width: 400px; max-width: 400px;
border-radius: 3px; border-radius: 3px;
font-size: 14px; font-size: 14px;
} }
.modal-content p { .modal-content p {
margin-bottom: 0; margin-bottom: 0;
} }
.modal-content div { .modal-content div {
margin-bottom: 1rem; margin-bottom: 1rem;
} }
#qrcode_container { #qrcode_container {
margin: 13px auto 20px auto; margin: 13px auto 20px auto;
} }
.close { .close {
position: absolute; position: absolute;
top: 0; top: 0;
right: 0; right: 0;
padding: 0 15px; padding: 0 15px;
cursor: pointer; cursor: pointer;
background-color: #d3d3d3; background-color: #d3d3d3;
border-radius: 3px; border-radius: 3px;
} }
.close:hover { .close:hover {
background-color: #d15e5e; background-color: #d15e5e;
} }
#moan-menu-texto { #moan-menu-texto {
position:absolute; position:absolute;
right: 0; right: 0;
} }
#moan-menu-texto img { #moan-menu-texto img {
width: 16px; width: 16px;
height: auto; height: auto;
} }
#moan-menu-texto button { #moan-menu-texto button {
background: #fff; /* Cor de fundo dos botões */ background: #fff; /* Cor de fundo dos botões */
border: 1px solid #ccc; /* Borda dos botões */ border: 1px solid #ccc; /* Borda dos botões */
border-radius: 5px; /* Bordas arredondadas */ border-radius: 5px; /* Bordas arredondadas */
padding: 4px 9px; /* Espaçamento interno */ padding: 4px 9px; /* Espaçamento interno */
margin: 3px; /* Espaçamento externo entre os botões */ margin: 3px; /* Espaçamento externo entre os botões */
cursor: pointer; /* Cursor do mouse em forma de mão */ cursor: pointer; /* Cursor do mouse em forma de mão */
} }
#moan-menu-texto button:hover { #moan-menu-texto button:hover {
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* Sombra ao passar o mouse sobre o botão */ box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* Sombra ao passar o mouse sobre o botão */
} }
.luz_apagada { .luz_apagada {
background-color: #444 !important; background-color: #444 !important;
} }
h1 { h1 {
font-size: 2em; font-size: 2em;
} }
h2 { h2 {
font-size: 1.5em; font-size: 1.5em;
} }
h3, h4 { h3, h4 {
font-size: 1.3em; font-size: 1.3em;
} }
h5, h6 { h5, h6 {
font-size: 1.02em; font-size: 1.02em;
} }
.callout.callout-style-default>div.callout-header { .callout.callout-style-default>div.callout-header {
font-size: 0.88em; font-size: 0.88em;
} }
.callout.callout-style-default .callout-body { .callout.callout-style-default .callout-body {
font-size: 0.88em; font-size: 0.88em;
} }
.versao-impressa-compre { .versao-impressa-compre {
font-size: 0.85em; font-size: 0.85em;
} }
.versao-impressa-compre h2 { .versao-impressa-compre h2 {
border: none; border: none;
color: #a0a5a7; color: #a0a5a7;
margin-bottom: 0; margin-bottom: 0;
} }
.versao-impressa-compre ul { .versao-impressa-compre ul {
margin-top: 10px; margin-top: 10px;
} }
@media only screen and (max-width: 767px) { @media only screen and (max-width: 767px) {
#quarto-content { #quarto-content {
display: block !important; /*Isso é importante para usar toda a largura em telas pequenas*/ display: block !important; /*Isso é importante para usar toda a largura em telas pequenas*/
} }
#moan-menu-texto { #moan-menu-texto {
top: -34px top: -34px
} }
} }
@media only screen and (max-width: 500px) { @media only screen and (max-width: 500px) {
#moan-menu-texto { #moan-menu-texto {
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
} }
#papel{ #papel{
margin-top: 90px; margin-top: 90px;
} }
} }

View File

@ -1,214 +1,214 @@
main { main {
position: relative; position: relative;
} }
#papel { #papel {
padding: 18px; padding: 18px;
box-sizing: border-box; box-sizing: border-box;
border-radius: 5px; border-radius: 5px;
margin-top: 45px; margin-top: 45px;
} }
.page-navigation { .page-navigation {
margin-bottom: 30px; /** Evita que o container .referencias_capitulo atrapalhe o .page-navigation **/ margin-bottom: 30px; /** Evita que o container .referencias_capitulo atrapalhe o .page-navigation **/
} }
object pre { object pre {
font-size: 18px; font-size: 18px;
} }
.referencias_capitulo { .referencias_capitulo {
width: 266px; width: 266px;
display: flex; display: flex;
font-size: 15px; font-size: 15px;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
height: 35px; height: 35px;
background-color: #f8f9fa; background-color: #f8f9fa;
color: #fff; color: #fff;
text-align: center; text-align: center;
color: #444; color: #444;
box-shadow: 0 1px 3px #ababab; box-shadow: 0 1px 3px #ababab;
position: fixed; position: fixed;
bottom: 0; bottom: 0;
border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
border-width: 1px 1px 0 1px; border-width: 1px 1px 0 1px;
border-style: solid; border-style: solid;
border-color: #dedfe0; border-color: #dedfe0;
} }
.referencias_capitulo span { .referencias_capitulo span {
margin: 5px; margin: 5px;
} }
.referencias_capitulo input { .referencias_capitulo input {
border: 1px solid #dedede; border: 1px solid #dedede;
height: 25px; height: 25px;
width: 103px; width: 103px;
border-radius: 5px; border-radius: 5px;
margin-right: 4px; margin-right: 4px;
font-size: 12px; font-size: 12px;
color:#999; color:#999;
background-size: 15px 15px; background-size: 15px 15px;
} }
.referencias_capitulo input::placeholder { .referencias_capitulo input::placeholder {
color: #999; color: #999;
font-size: 12.5px; font-size: 12.5px;
} }
.referencias_capitulo .cont_ref { .referencias_capitulo .cont_ref {
width: 160px; width: 160px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.pegarLink { .pegarLink {
border: none; border: none;
font-size: 11px; font-size: 11px;
height: 30px; height: 30px;
background-color: #e4e4e4; background-color: #e4e4e4;
border-radius: 3px; border-radius: 3px;
margin-left: 2px; margin-left: 2px;
padding: 0; padding: 0;
} }
.pegarLink span { .pegarLink span {
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
} }
.pegarLink span img { .pegarLink span img {
height: 18px; height: 18px;
width: auto; width: auto;
margin-bottom: -5px; margin-bottom: -5px;
} }
.pegarLink:hover { .pegarLink:hover {
background-color: #ddedfd; background-color: #ddedfd;
} }
/* Estilo da janela modal */ /* Estilo da janela modal */
.modal { .modal {
display: none; display: none;
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: rgba(0, 0, 0, 0.5); background-color: rgba(0, 0, 0, 0.5);
} }
.modal-content { .modal-content {
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
background-color: #fff; background-color: #fff;
padding: 20px; padding: 20px;
min-width: 260px; min-width: 260px;
max-width: 400px; max-width: 400px;
border-radius: 3px; border-radius: 3px;
font-size: 14px; font-size: 14px;
} }
.modal-content p { .modal-content p {
margin-bottom: 0; margin-bottom: 0;
} }
.modal-content div { .modal-content div {
margin-bottom: 1rem; margin-bottom: 1rem;
} }
#qrcode_container { #qrcode_container {
margin: 13px auto 5px auto; margin: 13px auto 5px auto;
} }
.close { .close {
position: absolute; position: absolute;
top: 0; top: 0;
right: 0; right: 0;
padding: 0 15px; padding: 0 15px;
cursor: pointer; cursor: pointer;
background-color: #d3d3d3; background-color: #d3d3d3;
border-radius: 3px; border-radius: 3px;
} }
.close:hover { .close:hover {
background-color: #d15e5e; background-color: #d15e5e;
} }
#moan-menu-texto { #moan-menu-texto {
position:absolute; position:absolute;
right: 0; right: 0;
} }
#moan-menu-texto img { #moan-menu-texto img {
width: 16px; width: 16px;
height: auto; height: auto;
} }
#moan-menu-texto button { #moan-menu-texto button {
background: #fff; /* Cor de fundo dos botões */ background: #fff; /* Cor de fundo dos botões */
border: 1px solid #ccc; /* Borda dos botões */ border: 1px solid #ccc; /* Borda dos botões */
border-radius: 5px; /* Bordas arredondadas */ border-radius: 5px; /* Bordas arredondadas */
padding: 4px 9px; /* Espaçamento interno */ padding: 4px 9px; /* Espaçamento interno */
margin: 3px; /* Espaçamento externo entre os botões */ margin: 3px; /* Espaçamento externo entre os botões */
cursor: pointer; /* Cursor do mouse em forma de mão */ cursor: pointer; /* Cursor do mouse em forma de mão */
} }
#moan-menu-texto button:hover { #moan-menu-texto button:hover {
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* Sombra ao passar o mouse sobre o botão */ box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* Sombra ao passar o mouse sobre o botão */
} }
.luz_apagada { .luz_apagada {
background-color: #444 !important; background-color: #444 !important;
} }
h1 { h1 {
font-size: 2em; font-size: 2em;
} }
h2 { h2 {
font-size: 1.5em; font-size: 1.5em;
} }
h3, h4 { h3, h4 {
font-size: 1.3em; font-size: 1.3em;
} }
h5, h6 { h5, h6 {
font-size: 1.02em; font-size: 1.02em;
} }
.callout.callout-style-default>div.callout-header { .callout.callout-style-default>div.callout-header {
font-size: 0.88em; font-size: 0.88em;
} }
.callout.callout-style-default .callout-body { .callout.callout-style-default .callout-body {
font-size: 0.88em; font-size: 0.88em;
} }
@media only screen and (max-width: 767px) { @media only screen and (max-width: 767px) {
#quarto-content { #quarto-content {
display: block !important; /*Isso é importante para usar toda a largura em telas pequenas*/ display: block !important; /*Isso é importante para usar toda a largura em telas pequenas*/
} }
#moan-menu-texto { #moan-menu-texto {
top: -34px top: -34px
} }
} }
@media only screen and (max-width: 500px) { @media only screen and (max-width: 500px) {
#papel{ #papel{
margin-top: 90px; margin-top: 90px;
} }
} }

View File

@ -1,47 +1,47 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg <svg
height="24" height="24"
viewBox="0 -960 960 960" viewBox="0 -960 960 960"
width="24" width="24"
version="1.1" version="1.1"
id="svg1" id="svg1"
sodipodi:docname="search_FILL0_wght400_GRAD0_opsz24.svg" sodipodi:docname="search_FILL0_wght400_GRAD0_opsz24.svg"
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)" inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"> xmlns:svg="http://www.w3.org/2000/svg">
<defs <defs
id="defs1"> id="defs1">
<linearGradient <linearGradient
id="swatch1" id="swatch1"
inkscape:swatch="solid"> inkscape:swatch="solid">
<stop <stop
style="stop-color:#000000;stop-opacity:1;" style="stop-color:#000000;stop-opacity:1;"
offset="0" offset="0"
id="stop1" /> id="stop1" />
</linearGradient> </linearGradient>
</defs> </defs>
<sodipodi:namedview <sodipodi:namedview
id="namedview1" id="namedview1"
pagecolor="#ffffff" pagecolor="#ffffff"
bordercolor="#000000" bordercolor="#000000"
borderopacity="0.25" borderopacity="0.25"
inkscape:showpageshadow="2" inkscape:showpageshadow="2"
inkscape:pageopacity="0.0" inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0" inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1" inkscape:deskcolor="#d1d1d1"
inkscape:zoom="24.041667" inkscape:zoom="24.041667"
inkscape:cx="12" inkscape:cx="12"
inkscape:cy="11.979203" inkscape:cy="11.979203"
inkscape:window-width="1448" inkscape:window-width="1448"
inkscape:window-height="1032" inkscape:window-height="1032"
inkscape:window-x="1358" inkscape:window-x="1358"
inkscape:window-y="121" inkscape:window-y="121"
inkscape:window-maximized="0" inkscape:window-maximized="0"
inkscape:current-layer="svg1" /> inkscape:current-layer="svg1" />
<path <path
d="M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z" d="M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z"
id="path1" id="path1"
style="fill:#aaaaaa;fill-opacity:1" /> style="fill:#aaaaaa;fill-opacity:1" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB