body { color: var(--color-text); font-family: "BookInsanityRemake", Arial, Helvetica, sans-serif; } body { background-color: var(--color-background); margin: 0; } * { color: var(--color-text); } a { color: var(--color-link); } .icon { height: 12px; filter: invert(var(--color-icon-invert)); } * { font-family: BookInsanityRemake; } *::-webkit-scrollbar { width: 6px; height: 6px; background-color: var(--color-background); border-radius: 10px; } *::-webkit-scrollbar-thumb { background-color: var(--color-scrollbar); border-radius: 10px; } .error-link { color: var(--error-link); } .buttons-row { width: 100%; padding-right: 10px; padding-left: 10px; display: flex; flex-direction: row; justify-content: center; } .button-row { margin-left: 5px; margin-right: 5px; flex-grow: 1; } .form-field { padding-bottom: 10px; display: flex; align-items: left; flex-direction: column; justify-content: left; } hr { border: 0; height: 1px; width: 30%; overflow: visible; position: relative; margin: 16px auto 16px auto; background-color: var(--separator); } hr:before { content: ""; display: inline-block; width: 8px; height: 8px; background-color: var(--separator); position: absolute; transform: rotate(45deg); top: -2.5px; left: 50%; margin: -1px 0 0 -1px; } input[type=text], input[type=password], input[type=email] { background-color: var(--color-background-softer); border: none; padding: 8px; border-radius: 6px; color: var(--color-text); transition: 300ms background-color; border: solid 1px var(--color-border); } textarea { background-color: var(--color-background-softer); padding: 12px; color: var(--color-text); border-radius: 6px; border: solid 1px var(--color-border);; } input[type=text]:focus, input[type=password]:focus, input[type=email]:focus { outline: none; background-color: var(--color-background-softest); } textarea:focus { outline: none; } button { margin-top: 5px; margin-bottom: 5px; padding: 14px; font-size: 15px; border-radius: 6px; outline: none; border: solid 1px var(--color-border); -webkit-box-shadow: 0px 0px 10px -2px rgba(0,0,0,0.25); -moz-box-shadow: 0px 0px 10px -2px rgba(0,0,0,0.25); box-shadow: 0px 0px 10px -2px rgba(0,0,0,0.25); transition: 300ms background-color; background-color: var(--color-button-background); color: var(--color-text); } button:hover { background-color: var(--color-button-hover); } button:active { background-color: var(--color-button-active); } .render-image { max-width: 600px; margin-left: auto; margin-right: auto; display: block; } .confirm-form-button { margin-top: 15px; } .parameters { display: flex; flex-direction: column; width: 100%; padding: 10px; } .param-element { width: 100%; display: flex; flex-direction: row; } .param-text { margin-right: auto; } .param-value { margin-left: auto; } .centered { text-align: center; } .window-wrapper { display: flex; align-items: center; border: solid 1px var(--color-border); /* opacity: 0; */ user-select: none; -webkit-box-shadow: 0px 0px 10px -2px var(--shadow-color); -moz-box-shadow: 0px 0px 10px -2px var(--shadow-color); box-shadow: 0px 0px 10px -2px var(--shadow-color); } .document { text-align: left; width: 100%; } .document.centered { text-align: center; justify-content: center; } .document.item { text-align: center; width: 220px; } .document.item img { width: 64px; height: 64px; } .document h1 { font-weight: normal; font-size: 32px; } .document b { font-weight: bold; } /* Cites (> ...) a la vista prèvia d'una nota */ blockquote { margin: 1em 0; padding: 2px 0 2px 14px; border-left: 3px solid var(--color-border-color); font-style: italic; opacity: 0.85; } blockquote blockquote { margin: 0.5em 0; } blockquote p { margin: 0.3em 0; } .text-icon { height: 18px; width: 18px; margin-bottom: -4px; } .invert { filter: invert(0.9); } .main-container { width: 100%; height: 100%; display: flex; flex-direction: column; } .row { width: 100%; display: flex; overflow-x: auto; scrollbar-width: thin; } span.important { font-family: NodestoCapsCondensed; font-size: 24px; line-height: 32px; } span.common { color: var(--color-common); } span.uncommon { color: var(--color-uncommon); } span.rare { color: var(--color-rare); } span.very-rare { color: var(--color-very-rare); } span.legendary { color: var(--color-legendary); } span.artifact { color: var(--color-artifact); } .form-container { width: 100%; } .form-element { padding: 10px 0 10px 0; margin: 0 10px 0 10px; display: flex; align-items: center; border-bottom: 1px dashed var(--color-border); } .form-element label { flex-grow: 0; margin-right: 6px; margin-left: 6px; } .form-element.centered { justify-content: center; } .grow { flex-grow: 1; } .subsection.border:first-child { border-left: none; } .subsection.border { border-left: 1px solid var(--color-border); } .subsection { margin-left: 5px; margin-right: 5px; height: 32px; display: flex; align-items: left; justify-content: left; } .subsection.left { align-items: left; justify-content: left; } .subsection.right { align-items: right; justify-content: right; } .subsection.center { align-items: center; justify-content: center; } .window-enter-active, .window-leave-active { transition: all 0.15s ease; } .window-enter-from, .window-leave-to { opacity: 0; transform: translateY(15px); } .window-wrapper { background-color: var(--window-background); /* backdrop-filter: blur(10px); */ position: fixed; display: flex; flex-direction: column; } .red { color: var(--color-red); } .green { color: var(--color-green); } /* Seccions col·lapsables (h1/h2/h3) a la vista prèvia d'una nota */ .fold-handle { position: relative; cursor: pointer; user-select: none; padding-left: 0.95em; } .fold-handle::before { content: ""; position: absolute; left: 0.1em; top: 0.55em; width: 0.3em; height: 0.3em; box-sizing: border-box; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; opacity: 0; transition: transform 0.15s ease, opacity 0.15s ease; transform: rotate(45deg); transform-origin: center; } .fold-handle:hover::before { opacity: 0.7; } .fold.is-collapsed > .fold-handle::before { opacity: 0.7; transform: rotate(-45deg); } .fold.is-collapsed > .fold-body { display: none; } /* El markdown renderitzat de la documentació: tot dins de .docs-markdown, que ve de v-html. Va aquí perquè la pàgina de /docs (views/DocsView.vue) i la finestra de documentació (windows/DocumentationWindow.vue) se'l serveixen plegades. */ .docs-markdown h1 { margin: 0 0 14px 0; font-family: 'MrEavesRemake', serif; font-size: 2rem; font-weight: normal; line-height: 1.2; } .docs-markdown h2 { margin: 30px 0 10px 0; padding-bottom: 4px; border-bottom: 1px solid var(--color-border); font-family: 'MrEavesRemake', serif; font-size: 1.35rem; font-weight: normal; scroll-margin-top: 20px; } .docs-markdown h3 { margin: 22px 0 8px 0; font-family: 'MrEavesRemake', serif; font-size: 1.1rem; font-weight: normal; scroll-margin-top: 20px; } .docs-markdown p, .docs-markdown li { line-height: 1.65; } .docs-markdown ul, .docs-markdown ol { margin: 10px 0; padding-left: 1.5em; } .docs-markdown a { color: var(--color-link); } .docs-markdown code { padding: 1px 5px; border-radius: 4px; background-color: var(--color-background-light); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; } .docs-markdown pre { margin: 14px 0; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 8px; background-color: var(--color-background-light); overflow-x: auto; } .docs-markdown pre code { padding: 0; background-color: transparent; } .docs-markdown table { margin: 14px 0; border-collapse: collapse; width: 100%; } .docs-markdown th, .docs-markdown td { padding: 7px 10px; border: 1px solid var(--color-border); text-align: left; vertical-align: top; line-height: 1.5; } .docs-markdown th { background-color: var(--color-background-light); }