remoção de função: desabilitando o modo escuro padrão so sistema quarto

This commit is contained in:
Rafael Tavares Juliani 2025-09-05 00:27:29 -03:00
parent f269aace6b
commit 01f72c28ef
24 changed files with 31319 additions and 14238 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/.quarto/

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -11,7 +11,5 @@ contributes:
citation: true citation: true
google-scholar: true google-scholar: true
smooth-scroll: true smooth-scroll: true
theme: theme: [cosmo, custom.scss]
light: [cosmo, custom.scss]
dark: [superhero, custom.scss]

View File

@ -147,14 +147,9 @@ google-scholar: true
format: format:
moan-livro-html: moan-livro-html:
theme: theme:
light:
- cosmo - cosmo
- _extensions/moan-livro/custom.scss - _extensions/moan-livro/custom.scss
- estilos.css - estilos.css
dark:
- superhero
- _extensions/moan-livro/custom.scss
- estilos.css
format-links: false format-links: false

View File

@ -1080,205 +1080,74 @@ $font-size-root: 17px !default;
// Disable smooth scrolling // Disable smooth scrolling
$enable-smooth-scroll: false !default; $enable-smooth-scroll: false !default;
// quarto-scss-analysis-annotation { "origin": "superhero (builtin theme)" } // quarto-scss-analysis-annotation { "origin": "cosmo (builtin theme)" }
$theme: "superhero" !default; $theme: "cosmo" !default;
// //
// Color system // Color system
// //
$white: #fff !default; $white: #fff !default;
$gray-100: #ebebeb !default; $gray-100: #f8f9fa !default;
$gray-200: #dee2e6 !default; $gray-200: #e9ecef !default;
$gray-300: #ced4da !default; $gray-300: #dee2e6 !default;
$gray-400: #adb5bd !default; $gray-400: #ced4da !default;
$gray-500: #868e96 !default; $gray-500: #adb5bd !default;
$gray-600: #4e5d6c !default; $gray-600: #868e96 !default;
$gray-700: #495057 !default; $gray-700: #495057 !default;
$gray-800: #343a40 !default; $gray-800: #373a3c !default;
$gray-900: #212529 !default; $gray-900: #212529 !default;
$black: #000 !default; $black: #000 !default;
$blue: #4c9be8 !default; $blue: #2780e3 !default;
$indigo: #6610f2 !default; $indigo: #6610f2 !default;
$purple: #6f42c1 !default; $purple: #613d7c !default;
$pink: #e83e8c !default; $pink: #e83e8c !default;
$red: #d9534f !default; $red: #ff0039 !default;
$orange: #df6919 !default; $orange: #f0ad4e !default;
$yellow: #ffc107 !default; $yellow: #ff7518 !default;
$green: #5cb85c !default; $green: #3fb618 !default;
$teal: #20c997 !default; $teal: #20c997 !default;
$cyan: #5bc0de !default; $cyan: #9954bb !default;
// Body $primary: $blue !default;
$body-bg: #0f2537 !default; $secondary: $gray-800 !default;
$body-color: $gray-100 !default;
@function body-mix($weight) {
@return mix($body-bg, $body-color, $weight);
}
$contrast-bg: color-contrast($body-bg) !default;
$contrast-fg: color-contrast($contrast-bg) !default;
$primary: $orange !default;
$secondary: body-mix(80%) !default;
$success: $green !default; $success: $green !default;
$info: $cyan !default; $info: $cyan !default;
$warning: $yellow !default; $warning: $yellow !default;
$danger: $red !default; $danger: $red !default;
$light: body-mix(48%) !default; $light: $gray-100 !default;
$dark: body-mix(80%) !default; $dark: $gray-800 !default;
$min-contrast-ratio: 1.6 !default; $min-contrast-ratio: 2.6 !default;
// Components // Options
$border-radius: 0 !default; $enable-rounded: false !default;
$border-radius-lg: 0 !default;
$border-radius-sm: 0 !default; // Body
$body-color: $gray-800 !default;
// Fonts // Fonts
// stylelint-disable-next-line value-keyword-case // stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default; $font-family-sans-serif: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$headings-font-weight: 400 !default;
$text-muted: rgba($contrast-bg, .4) !default;
// Tables
$table-accent-bg: rgba($contrast-bg, .05) !default;
$table-hover-bg: rgba($contrast-bg, .075) !default;
$table-border-color: rgba($contrast-fg, .15) !default;
$table-head-bg: $light !default;
$table-dark-bg: $light !default;
$table-dark-border-color: body-mix(80%) !default;
$table-dark-color: $body-bg !default;
$table-bg-scale: 0% !default;
// Forms
$input-bg: $contrast-bg !default;
$input-disabled-color: body-mix(80%) !default;
$input-disabled-bg: $body-color !default;
$input-color: $gray-900 !default;
$input-border-color: transparent !default;
$input-border-width: 0 !default;
$input-placeholder-color: $gray-500 !default;
$input-group-addon-color: $body-color !default;
$input-group-addon-bg: body-mix(80%) !default;
$form-select-disabled-bg: $input-disabled-bg !default;
$form-select-disabled-color: $input-disabled-color !default;
$form-check-input-bg: $contrast-bg !default;
$form-check-input-border: none !default;
$form-file-button-color: $input-group-addon-color !default;
$form-file-button-bg: $input-group-addon-bg !default;
$form-file-button-hover-bg: darken($form-file-button-bg, 5%) !default;
$form-floating-label-opacity: 1 !default;
// Dropdowns
$dropdown-bg: body-mix(80%) !default;
$dropdown-divider-bg: rgba($contrast-fg, .15) !default;
$dropdown-link-color: $body-color !default;
$dropdown-link-hover-color: $dropdown-link-color !default;
$dropdown-link-hover-bg: $table-hover-bg !default;
// Navs
$nav-link-disabled-color: rgba(255, 255, 255, .4) !default;
$nav-tabs-border-color: body-mix(80%) !default;
$nav-tabs-link-active-color: $body-color !default;
$nav-tabs-link-active-border-color: body-mix(80%) !default;
// Navbar // Navbar
$navbar-dark-hover-color: rgba($white, 1) !default;
$navbar-light-hover-color: rgba($black, .9) !default;
// Pagination // Alerts
$pagination-color: $contrast-bg !default; $alert-border-width: 0 !default;
$pagination-bg: body-mix(80%) !default;
$pagination-border-color: transparent !default;
$pagination-hover-color: $contrast-bg !default;
$pagination-hover-bg: $nav-link-disabled-color !default;
$pagination-hover-border-color: $pagination-border-color !default;
$pagination-disabled-color: $nav-link-disabled-color !default;
$pagination-disabled-bg: $pagination-bg !default;
$pagination-disabled-border-color: $pagination-border-color !default;
// Cards
$card-cap-bg: $table-hover-bg !default;
$card-bg: body-mix(80%) !default;
$card-inner-border-radius: 0 !default;
// Accordion
$accordion-bg: $card-bg !default;
$accordion-border-width: 0 !default;
$accordion-button-bg: $card-cap-bg !default;
$accordion-button-active-bg: $primary !default;
$accordion-button-active-color: $body-color !default;
// Popovers
$popover-bg: body-mix(80%) !default;
$popover-header-bg: $table-hover-bg !default;
// Toasts
$toast-background-color: body-mix(80%) !default;
$toast-border-color: rgba(0, 0, 0, .2) !default;
$toast-header-color: $body-color !default;
$toast-header-background-color: $toast-background-color !default;
$toast-header-border-color: $toast-border-color !default;
// Modals
$modal-content-bg: body-mix(80%) !default;
$modal-header-border-color: rgba(0, 0, 0, .2) !default;
// Progress bars // Progress bars
$progress-bg: body-mix(80%) !default; $progress-height: .5rem !default;
// List group
$list-group-color: $contrast-bg !default;
$list-group-bg: body-mix(80%) !default;
$list-group-border-color: transparent !default;
$list-group-hover-bg: $nav-link-disabled-color !default;
$list-group-disabled-color: $nav-link-disabled-color !default;
$list-group-action-color: $contrast-bg !default;
$list-group-action-hover-color: $contrast-bg !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$breadcrumb-bg: body-mix(80%) !default;
$breadcrumb-divider-color: $body-color !default;
$breadcrumb-active-color: $body-color !default;
// Close
$btn-close-color: $contrast-bg !default;
$btn-close-opacity: .5 !default;
$btn-close-hover-opacity: 1 !default;
// Code
$pre-color: inherit !default;
@ -1319,8 +1188,8 @@ $title-banner-bg: null !default;
$title-banner-image: null !default; $title-banner-image: null !default;
$btn-code-copy-color: #f8f8f2 !default; $btn-code-copy-color: #5E5E5E !default;
$btn-code-copy-color-active: #ffa07a !default; $btn-code-copy-color-active: #4758AB !default;
// quarto-scss-analysis-annotation { "origin": "Defaults from Quarto's SCSS" } // quarto-scss-analysis-annotation { "origin": "Defaults from Quarto's SCSS" }
@ -13002,147 +12871,33 @@ main.quarto-banner-title-block > section:first-child > h4 {
// Variables // Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap" !default; $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;700&display=swap" !default;
@if $web-font-path { @if $web-font-path {
@import url($web-font-path); @import url($web-font-path);
} }
// Buttons
.btn {
@each $color, $value in $theme-colors {
&-#{$color} {
@if $enable-gradients {
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
} @else {
background-color: $value;
}
}
}
}
// Typography // Typography
.dropdown-menu { body {
font-size: $font-size-sm; -webkit-font-smoothing: antialiased;
}
.dropdown-header {
font-size: $font-size-sm;
}
.blockquote-footer {
color: $body-color;
}
// Tables
.table {
font-size: $font-size-sm;
.thead-dark th {
color: $white;
}
a:not(.btn) {
color: $white;
text-decoration: underline;
}
.dropdown-menu a {
text-decoration: none;
}
.text-muted {
color: $text-muted;
}
}
// Forms
label,
.radio label,
.checkbox label,
.help-block {
font-size: $font-size-sm;
}
.form-floating {
> label,
> .form-control:focus ~ label,
> .form-control:not(:placeholder-shown) ~ label {
color: $input-placeholder-color;
}
}
// Navs
.nav-tabs,
.nav-pills {
.nav-link,
.nav-link:hover {
color: $body-color;
}
.nav-link.disabled {
color: $nav-link-disabled-color;
}
}
.page-link:hover,
.page-link:focus {
color: $white;
text-decoration: none;
} }
// Indicators // Indicators
.alert {
color: $white;
border: none;
a,
.alert-link {
color: $white;
text-decoration: underline;
}
@each $color, $value in $theme-colors {
&-#{$color} {
@if $enable-gradients {
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
} @else {
background-color: $value;
}
}
}
}
.badge { .badge {
&-warning, &.bg-light {
&-info { color: $dark;
color: $white;
} }
} }
.tooltip { // Progress bars
--bs-tooltip-bg: var(--bs-tertiary-bg);
--bs-tooltip-color: var(--bs-emphasis-color);
}
// Popovers .progress {
@include box-shadow(none);
.popover-header { .progress-bar {
border-top-left-radius: 0; font-size: 8px;
border-top-right-radius: 0; line-height: 8px;
}
// Containers
.modal {
&-header,
&-footer {
background-color: $table-hover-bg;
} }
} }

View File

@ -49,13 +49,11 @@ ul.task-list li input[type="checkbox"] {
<script src="site_libs/quarto-html/anchor.min.js"> <script src="site_libs/quarto-html/anchor.min.js">
</script> </script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"/> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet"/>
<link class="quarto-color-scheme" href="site_libs/quarto-html/quarto-syntax-highlighting-e26003cea8cd680ca0c55a263523d882.css" id="quarto-text-highlighting-styles" rel="stylesheet"/> <link href="site_libs/quarto-html/quarto-syntax-highlighting-e26003cea8cd680ca0c55a263523d882.css" id="quarto-text-highlighting-styles" rel="stylesheet"/>
<link class="quarto-color-scheme quarto-color-alternate" href="site_libs/quarto-html/quarto-syntax-highlighting-dark-d166b450ba5a8e9f7a0ab969bf6592c1.css" id="quarto-text-highlighting-styles" rel="prefetch"/>
<script src="site_libs/bootstrap/bootstrap.min.js"> <script src="site_libs/bootstrap/bootstrap.min.js">
</script> </script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"/> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"/>
<link append-hash="true" class="quarto-color-scheme" data-mode="light" href="site_libs/bootstrap/bootstrap-abd8a8cc10d43f6ba5694496c293d30a.min.css" id="quarto-bootstrap" rel="stylesheet"/> <link append-hash="true" data-mode="light" href="site_libs/bootstrap/bootstrap-abd8a8cc10d43f6ba5694496c293d30a.min.css" id="quarto-bootstrap" rel="stylesheet"/>
<link append-hash="true" class="quarto-color-scheme quarto-color-alternate" data-mode="dark" href="site_libs/bootstrap/bootstrap-dark-a0b1a25e1f3564865b4452536cc2c9b4.min.css" id="quarto-bootstrap" rel="prefetch"/>
<script id="quarto-search-options" type="application/json"> <script id="quarto-search-options" type="application/json">
{ {
"location": "navbar", "location": "navbar",
@ -155,7 +153,7 @@ cookieconsent.run({
</span> </span>
</a> </a>
</div> </div>
<div class="quarto-navbar-tools tools-wide tools-end"> <div class="quarto-navbar-tools tools-end">
<div class="dropdown"> <div class="dropdown">
<a aria-expanded="false" aria-label="Compartilhar" class="quarto-navigation-tool dropdown-toggle px-1" data-bs-toggle="dropdown" href="" id="quarto-navigation-tool-dropdown-0" role="link" title="Compartilhar"> <a aria-expanded="false" aria-label="Compartilhar" class="quarto-navigation-tool dropdown-toggle px-1" data-bs-toggle="dropdown" href="" id="quarto-navigation-tool-dropdown-0" role="link" title="Compartilhar">
<i class="bi bi-share"> <i class="bi bi-share">
@ -178,10 +176,6 @@ cookieconsent.run({
</li> </li>
</ul> </ul>
</div> </div>
<a class="quarto-color-scheme-toggle quarto-navigation-tool px-1" href="" onclick="window.quartoToggleColorScheme(); return false;" title="Alternar modo escuro">
<i class="bi">
</i>
</a>
<a class="quarto-reader-toggle quarto-navigation-tool px-1" href="" onclick="window.quartoToggleReader(); return false;" title="Alternar modo de leitor"> <a class="quarto-reader-toggle quarto-navigation-tool px-1" href="" onclick="window.quartoToggleReader(); return false;" title="Alternar modo de leitor">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"> <i class="bi">
@ -385,150 +379,6 @@ cookieconsent.run({
} }
} }
toggleBodyColorPrimary(); toggleBodyColorPrimary();
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'prefetch';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'stylesheet';
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(darkModeDefault) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
}
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const darkModeDefault = false;
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
};
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {

File diff suppressed because it is too large Load Diff

View File

@ -49,13 +49,11 @@ ul.task-list li input[type="checkbox"] {
<script src="site_libs/quarto-html/anchor.min.js"> <script src="site_libs/quarto-html/anchor.min.js">
</script> </script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"/> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet"/>
<link class="quarto-color-scheme" href="site_libs/quarto-html/quarto-syntax-highlighting-e26003cea8cd680ca0c55a263523d882.css" id="quarto-text-highlighting-styles" rel="stylesheet"/> <link href="site_libs/quarto-html/quarto-syntax-highlighting-e26003cea8cd680ca0c55a263523d882.css" id="quarto-text-highlighting-styles" rel="stylesheet"/>
<link class="quarto-color-scheme quarto-color-alternate" href="site_libs/quarto-html/quarto-syntax-highlighting-dark-d166b450ba5a8e9f7a0ab969bf6592c1.css" id="quarto-text-highlighting-styles" rel="prefetch"/>
<script src="site_libs/bootstrap/bootstrap.min.js"> <script src="site_libs/bootstrap/bootstrap.min.js">
</script> </script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"/> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"/>
<link append-hash="true" class="quarto-color-scheme" data-mode="light" href="site_libs/bootstrap/bootstrap-abd8a8cc10d43f6ba5694496c293d30a.min.css" id="quarto-bootstrap" rel="stylesheet"/> <link append-hash="true" data-mode="light" href="site_libs/bootstrap/bootstrap-abd8a8cc10d43f6ba5694496c293d30a.min.css" id="quarto-bootstrap" rel="stylesheet"/>
<link append-hash="true" class="quarto-color-scheme quarto-color-alternate" data-mode="dark" href="site_libs/bootstrap/bootstrap-dark-a0b1a25e1f3564865b4452536cc2c9b4.min.css" id="quarto-bootstrap" rel="prefetch"/>
<script id="quarto-search-options" type="application/json"> <script id="quarto-search-options" type="application/json">
{ {
"location": "navbar", "location": "navbar",
@ -138,6 +136,18 @@ cookieconsent.run({
<script data="moan-metadados"> <script data="moan-metadados">
var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true; var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true;
</script> </script>
<script data="moan-metadados">
var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true;
</script>
<script data="moan-metadados">
var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true;
</script>
<script data="moan-metadados">
var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true;
</script>
<script data="moan-metadados">
var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true;
</script>
</head> </head>
<body class="nav-sidebar floating nav-fixed"> <body class="nav-sidebar floating nav-fixed">
<div id="quarto-search-results"> <div id="quarto-search-results">
@ -155,7 +165,7 @@ cookieconsent.run({
</span> </span>
</a> </a>
</div> </div>
<div class="quarto-navbar-tools tools-wide tools-end"> <div class="quarto-navbar-tools tools-end">
<div class="dropdown"> <div class="dropdown">
<a aria-expanded="false" aria-label="Compartilhar" class="quarto-navigation-tool dropdown-toggle px-1" data-bs-toggle="dropdown" href="" id="quarto-navigation-tool-dropdown-0" role="link" title="Compartilhar"> <a aria-expanded="false" aria-label="Compartilhar" class="quarto-navigation-tool dropdown-toggle px-1" data-bs-toggle="dropdown" href="" id="quarto-navigation-tool-dropdown-0" role="link" title="Compartilhar">
<i class="bi bi-share"> <i class="bi bi-share">
@ -178,10 +188,6 @@ cookieconsent.run({
</li> </li>
</ul> </ul>
</div> </div>
<a class="quarto-color-scheme-toggle quarto-navigation-tool px-1" href="" onclick="window.quartoToggleColorScheme(); return false;" title="Alternar modo escuro">
<i class="bi">
</i>
</a>
<a class="quarto-reader-toggle quarto-navigation-tool px-1" href="" onclick="window.quartoToggleReader(); return false;" title="Alternar modo de leitor"> <a class="quarto-reader-toggle quarto-navigation-tool px-1" href="" onclick="window.quartoToggleReader(); return false;" title="Alternar modo de leitor">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"> <i class="bi">
@ -338,6 +344,10 @@ cookieconsent.run({
</div> </div>
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<div id="papel">
<div id="papel">
<div id="papel">
<div id="papel">
<div id="papel"> <div id="papel">
<header class="quarto-title-block default" id="title-block-header"> <header class="quarto-title-block default" id="title-block-header">
<div class="quarto-title"> <div class="quarto-title">
@ -416,6 +426,10 @@ físicos.
</table> </table>
</div> </div>
</div> </div>
</div>
</div>
</div>
</div>
</main> </main>
<!-- /main --> <!-- /main -->
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
@ -438,150 +452,6 @@ físicos.
} }
} }
toggleBodyColorPrimary(); toggleBodyColorPrimary();
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'prefetch';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'stylesheet';
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(darkModeDefault) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
}
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const darkModeDefault = false;
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
};
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {

View File

@ -49,13 +49,11 @@ ul.task-list li input[type="checkbox"] {
<script src="site_libs/quarto-html/anchor.min.js"> <script src="site_libs/quarto-html/anchor.min.js">
</script> </script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"/> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet"/>
<link class="quarto-color-scheme" href="site_libs/quarto-html/quarto-syntax-highlighting-e26003cea8cd680ca0c55a263523d882.css" id="quarto-text-highlighting-styles" rel="stylesheet"/> <link href="site_libs/quarto-html/quarto-syntax-highlighting-e26003cea8cd680ca0c55a263523d882.css" id="quarto-text-highlighting-styles" rel="stylesheet"/>
<link class="quarto-color-scheme quarto-color-alternate" href="site_libs/quarto-html/quarto-syntax-highlighting-dark-d166b450ba5a8e9f7a0ab969bf6592c1.css" id="quarto-text-highlighting-styles" rel="prefetch"/>
<script src="site_libs/bootstrap/bootstrap.min.js"> <script src="site_libs/bootstrap/bootstrap.min.js">
</script> </script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"/> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"/>
<link append-hash="true" class="quarto-color-scheme" data-mode="light" href="site_libs/bootstrap/bootstrap-abd8a8cc10d43f6ba5694496c293d30a.min.css" id="quarto-bootstrap" rel="stylesheet"/> <link append-hash="true" data-mode="light" href="site_libs/bootstrap/bootstrap-abd8a8cc10d43f6ba5694496c293d30a.min.css" id="quarto-bootstrap" rel="stylesheet"/>
<link append-hash="true" class="quarto-color-scheme quarto-color-alternate" data-mode="dark" href="site_libs/bootstrap/bootstrap-dark-a0b1a25e1f3564865b4452536cc2c9b4.min.css" id="quarto-bootstrap" rel="prefetch"/>
<script src="site_libs/quarto-contrib/glightbox/glightbox.min.js"> <script src="site_libs/quarto-contrib/glightbox/glightbox.min.js">
</script> </script>
<link href="site_libs/quarto-contrib/glightbox/glightbox.min.css" rel="stylesheet"/> <link href="site_libs/quarto-contrib/glightbox/glightbox.min.css" rel="stylesheet"/>
@ -147,6 +145,9 @@ cookieconsent.run({
<script data="moan-metadados"> <script data="moan-metadados">
var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true; var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true;
</script> </script>
<script data="moan-metadados">
var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true;
</script>
</head> </head>
<body class="nav-sidebar floating nav-fixed"> <body class="nav-sidebar floating nav-fixed">
<div id="quarto-search-results"> <div id="quarto-search-results">
@ -164,7 +165,7 @@ cookieconsent.run({
</span> </span>
</a> </a>
</div> </div>
<div class="quarto-navbar-tools tools-wide tools-end"> <div class="quarto-navbar-tools tools-end">
<div class="dropdown"> <div class="dropdown">
<a aria-expanded="false" aria-label="Compartilhar" class="quarto-navigation-tool dropdown-toggle px-1" data-bs-toggle="dropdown" href="" id="quarto-navigation-tool-dropdown-0" role="link" title="Compartilhar"> <a aria-expanded="false" aria-label="Compartilhar" class="quarto-navigation-tool dropdown-toggle px-1" data-bs-toggle="dropdown" href="" id="quarto-navigation-tool-dropdown-0" role="link" title="Compartilhar">
<i class="bi bi-share"> <i class="bi bi-share">
@ -187,10 +188,6 @@ cookieconsent.run({
</li> </li>
</ul> </ul>
</div> </div>
<a class="quarto-color-scheme-toggle quarto-navigation-tool px-1" href="" onclick="window.quartoToggleColorScheme(); return false;" title="Alternar modo escuro">
<i class="bi">
</i>
</a>
<a class="quarto-reader-toggle quarto-navigation-tool px-1" href="" onclick="window.quartoToggleReader(); return false;" title="Alternar modo de leitor"> <a class="quarto-reader-toggle quarto-navigation-tool px-1" href="" onclick="window.quartoToggleReader(); return false;" title="Alternar modo de leitor">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"> <i class="bi">
@ -376,6 +373,7 @@ cookieconsent.run({
</div> </div>
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<div id="papel">
<div id="papel"> <div id="papel">
<header class="quarto-title-block default" id="title-block-header"> <header class="quarto-title-block default" id="title-block-header">
<div class="quarto-title"> <div class="quarto-title">
@ -567,6 +565,23 @@ cookieconsent.run({
</a> </a>
</li> </li>
</ul> </ul>
<ul id="postos-de-venda">
<li>
<a href="https://produto.mercadolivre.com.br/MLB-1821196590-livro-as-funcoes-trigonometricas-circulares-e-hiperbolicas-_JM#position=1&search_layout=stack&type=item&tracking_id=8d158f22-f44f-4cec-81f1-0865da458ebd">
Mercado Livre
</a>
</li>
<li>
<a href="https://www.amazon.com.br/As-fun%C3%A7%C3%B5es-trigonom%C3%A9tricas-circulares-hiperb%C3%B3licas/dp/6599140440/ref=sr_1_1?__mk_pt_BR=%C3%85M%C3%85%C5%BD%C3%95%C3%91&dchild=1&keywords=as+fun%C3%A7%C3%B5es+trigonom%C3%A9tricas+hiperb%C3%B3licas&qid=1620506187&sr=8-1">
Amazon
</a>
</li>
<li>
<a href="mailto:smguzzo@gmail.com">
Com o autor: smguzzo@gmail.com
</a>
</li>
</ul>
</section> </section>
<section class="level2" id="direitos-autorais"> <section class="level2" id="direitos-autorais">
<h2 class="anchored" data-anchor-id="direitos-autorais"> <h2 class="anchored" data-anchor-id="direitos-autorais">
@ -604,6 +619,7 @@ cookieconsent.run({
</ol> </ol>
</section> </section>
</div> </div>
</div>
</main> </main>
<!-- /main --> <!-- /main -->
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
@ -626,150 +642,6 @@ cookieconsent.run({
} }
} }
toggleBodyColorPrimary(); toggleBodyColorPrimary();
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'prefetch';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'stylesheet';
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(darkModeDefault) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
}
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const darkModeDefault = false;
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
};
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {

View File

@ -48,13 +48,11 @@ ul.task-list li input[type="checkbox"] {
<script src="site_libs/quarto-html/anchor.min.js"> <script src="site_libs/quarto-html/anchor.min.js">
</script> </script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"/> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet"/>
<link class="quarto-color-scheme" href="site_libs/quarto-html/quarto-syntax-highlighting-e26003cea8cd680ca0c55a263523d882.css" id="quarto-text-highlighting-styles" rel="stylesheet"/> <link href="site_libs/quarto-html/quarto-syntax-highlighting-e26003cea8cd680ca0c55a263523d882.css" id="quarto-text-highlighting-styles" rel="stylesheet"/>
<link class="quarto-color-scheme quarto-color-alternate" href="site_libs/quarto-html/quarto-syntax-highlighting-dark-d166b450ba5a8e9f7a0ab969bf6592c1.css" id="quarto-text-highlighting-styles" rel="prefetch"/>
<script src="site_libs/bootstrap/bootstrap.min.js"> <script src="site_libs/bootstrap/bootstrap.min.js">
</script> </script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"/> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"/>
<link append-hash="true" class="quarto-color-scheme" data-mode="light" href="site_libs/bootstrap/bootstrap-abd8a8cc10d43f6ba5694496c293d30a.min.css" id="quarto-bootstrap" rel="stylesheet"/> <link append-hash="true" data-mode="light" href="site_libs/bootstrap/bootstrap-abd8a8cc10d43f6ba5694496c293d30a.min.css" id="quarto-bootstrap" rel="stylesheet"/>
<link append-hash="true" class="quarto-color-scheme quarto-color-alternate" data-mode="dark" href="site_libs/bootstrap/bootstrap-dark-a0b1a25e1f3564865b4452536cc2c9b4.min.css" id="quarto-bootstrap" rel="prefetch"/>
<script id="quarto-search-options" type="application/json"> <script id="quarto-search-options" type="application/json">
{ {
"location": "navbar", "location": "navbar",
@ -137,6 +135,18 @@ cookieconsent.run({
<script data="moan-metadados"> <script data="moan-metadados">
var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true; var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true;
</script> </script>
<script data="moan-metadados">
var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true;
</script>
<script data="moan-metadados">
var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true;
</script>
<script data="moan-metadados">
var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true;
</script>
<script data="moan-metadados">
var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true;
</script>
</head> </head>
<body class="nav-sidebar floating nav-fixed"> <body class="nav-sidebar floating nav-fixed">
<div id="quarto-search-results"> <div id="quarto-search-results">
@ -154,7 +164,7 @@ cookieconsent.run({
</span> </span>
</a> </a>
</div> </div>
<div class="quarto-navbar-tools tools-wide tools-end"> <div class="quarto-navbar-tools tools-end">
<div class="dropdown"> <div class="dropdown">
<a aria-expanded="false" aria-label="Compartilhar" class="quarto-navigation-tool dropdown-toggle px-1" data-bs-toggle="dropdown" href="" id="quarto-navigation-tool-dropdown-0" role="link" title="Compartilhar"> <a aria-expanded="false" aria-label="Compartilhar" class="quarto-navigation-tool dropdown-toggle px-1" data-bs-toggle="dropdown" href="" id="quarto-navigation-tool-dropdown-0" role="link" title="Compartilhar">
<i class="bi bi-share"> <i class="bi bi-share">
@ -177,10 +187,6 @@ cookieconsent.run({
</li> </li>
</ul> </ul>
</div> </div>
<a class="quarto-color-scheme-toggle quarto-navigation-tool px-1" href="" onclick="window.quartoToggleColorScheme(); return false;" title="Alternar modo escuro">
<i class="bi">
</i>
</a>
<a class="quarto-reader-toggle quarto-navigation-tool px-1" href="" onclick="window.quartoToggleReader(); return false;" title="Alternar modo de leitor"> <a class="quarto-reader-toggle quarto-navigation-tool px-1" href="" onclick="window.quartoToggleReader(); return false;" title="Alternar modo de leitor">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"> <i class="bi">
@ -337,6 +343,10 @@ cookieconsent.run({
</div> </div>
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<div id="papel">
<div id="papel">
<div id="papel">
<div id="papel">
<div id="papel"> <div id="papel">
<header class="quarto-title-block default" id="title-block-header"> <header class="quarto-title-block default" id="title-block-header">
<div class="quarto-title"> <div class="quarto-title">
@ -748,6 +758,10 @@ cookieconsent.run({
</ul> </ul>
</div> </div>
</div> </div>
</div>
</div>
</div>
</div>
</main> </main>
<!-- /main --> <!-- /main -->
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
@ -770,150 +784,6 @@ cookieconsent.run({
} }
} }
toggleBodyColorPrimary(); toggleBodyColorPrimary();
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'prefetch';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'stylesheet';
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(darkModeDefault) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
}
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const darkModeDefault = false;
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
};
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {

View File

@ -49,13 +49,11 @@ ul.task-list li input[type="checkbox"] {
<script src="site_libs/quarto-html/anchor.min.js"> <script src="site_libs/quarto-html/anchor.min.js">
</script> </script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"/> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet"/>
<link class="quarto-color-scheme" href="site_libs/quarto-html/quarto-syntax-highlighting-e26003cea8cd680ca0c55a263523d882.css" id="quarto-text-highlighting-styles" rel="stylesheet"/> <link href="site_libs/quarto-html/quarto-syntax-highlighting-e26003cea8cd680ca0c55a263523d882.css" id="quarto-text-highlighting-styles" rel="stylesheet"/>
<link class="quarto-color-scheme quarto-color-alternate" href="site_libs/quarto-html/quarto-syntax-highlighting-dark-d166b450ba5a8e9f7a0ab969bf6592c1.css" id="quarto-text-highlighting-styles" rel="prefetch"/>
<script src="site_libs/bootstrap/bootstrap.min.js"> <script src="site_libs/bootstrap/bootstrap.min.js">
</script> </script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"/> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"/>
<link append-hash="true" class="quarto-color-scheme" data-mode="light" href="site_libs/bootstrap/bootstrap-abd8a8cc10d43f6ba5694496c293d30a.min.css" id="quarto-bootstrap" rel="stylesheet"/> <link append-hash="true" data-mode="light" href="site_libs/bootstrap/bootstrap-abd8a8cc10d43f6ba5694496c293d30a.min.css" id="quarto-bootstrap" rel="stylesheet"/>
<link append-hash="true" class="quarto-color-scheme quarto-color-alternate" data-mode="dark" href="site_libs/bootstrap/bootstrap-dark-a0b1a25e1f3564865b4452536cc2c9b4.min.css" id="quarto-bootstrap" rel="prefetch"/>
<script id="quarto-search-options" type="application/json"> <script id="quarto-search-options" type="application/json">
{ {
"location": "navbar", "location": "navbar",
@ -138,6 +136,18 @@ cookieconsent.run({
<script data="moan-metadados"> <script data="moan-metadados">
var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true; var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true;
</script> </script>
<script data="moan-metadados">
var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true;
</script>
<script data="moan-metadados">
var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true;
</script>
<script data="moan-metadados">
var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true;
</script>
<script data="moan-metadados">
var metadados = {livroUrl: "trigonometria-hiperbolica"};var modelo_antigo = true;
</script>
</head> </head>
<body class="nav-sidebar floating nav-fixed"> <body class="nav-sidebar floating nav-fixed">
<div id="quarto-search-results"> <div id="quarto-search-results">
@ -155,7 +165,7 @@ cookieconsent.run({
</span> </span>
</a> </a>
</div> </div>
<div class="quarto-navbar-tools tools-wide tools-end"> <div class="quarto-navbar-tools tools-end">
<div class="dropdown"> <div class="dropdown">
<a aria-expanded="false" aria-label="Compartilhar" class="quarto-navigation-tool dropdown-toggle px-1" data-bs-toggle="dropdown" href="" id="quarto-navigation-tool-dropdown-0" role="link" title="Compartilhar"> <a aria-expanded="false" aria-label="Compartilhar" class="quarto-navigation-tool dropdown-toggle px-1" data-bs-toggle="dropdown" href="" id="quarto-navigation-tool-dropdown-0" role="link" title="Compartilhar">
<i class="bi bi-share"> <i class="bi bi-share">
@ -178,10 +188,6 @@ cookieconsent.run({
</li> </li>
</ul> </ul>
</div> </div>
<a class="quarto-color-scheme-toggle quarto-navigation-tool px-1" href="" onclick="window.quartoToggleColorScheme(); return false;" title="Alternar modo escuro">
<i class="bi">
</i>
</a>
<a class="quarto-reader-toggle quarto-navigation-tool px-1" href="" onclick="window.quartoToggleReader(); return false;" title="Alternar modo de leitor"> <a class="quarto-reader-toggle quarto-navigation-tool px-1" href="" onclick="window.quartoToggleReader(); return false;" title="Alternar modo de leitor">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"> <i class="bi">
@ -338,6 +344,10 @@ cookieconsent.run({
</div> </div>
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<div id="papel">
<div id="papel">
<div id="papel">
<div id="papel">
<div id="papel"> <div id="papel">
<header class="quarto-title-block default" id="title-block-header"> <header class="quarto-title-block default" id="title-block-header">
<div class="quarto-title"> <div class="quarto-title">
@ -489,6 +499,10 @@ cookieconsent.run({
</ol> </ol>
</div> </div>
</div> </div>
</div>
</div>
</div>
</div>
</main> </main>
<!-- /main --> <!-- /main -->
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
@ -511,150 +525,6 @@ cookieconsent.run({
} }
} }
toggleBodyColorPrimary(); toggleBodyColorPrimary();
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'prefetch';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'stylesheet';
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(darkModeDefault) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
}
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const darkModeDefault = false;
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
};
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {

File diff suppressed because one or more lines are too long

View File

@ -1,189 +0,0 @@
/* quarto syntax highlight colors */
:root {
--quarto-hl-al-color: #f07178;
--quarto-hl-an-color: #d4d0ab;
--quarto-hl-at-color: #00e0e0;
--quarto-hl-bn-color: #d4d0ab;
--quarto-hl-bu-color: #abe338;
--quarto-hl-ch-color: #abe338;
--quarto-hl-co-color: #f8f8f2;
--quarto-hl-cv-color: #ffd700;
--quarto-hl-cn-color: #ffd700;
--quarto-hl-cf-color: #ffa07a;
--quarto-hl-dt-color: #ffa07a;
--quarto-hl-dv-color: #d4d0ab;
--quarto-hl-do-color: #f8f8f2;
--quarto-hl-er-color: #f07178;
--quarto-hl-ex-color: #00e0e0;
--quarto-hl-fl-color: #d4d0ab;
--quarto-hl-fu-color: #ffa07a;
--quarto-hl-im-color: #abe338;
--quarto-hl-in-color: #d4d0ab;
--quarto-hl-kw-color: #ffa07a;
--quarto-hl-op-color: #ffa07a;
--quarto-hl-ot-color: #00e0e0;
--quarto-hl-pp-color: #dcc6e0;
--quarto-hl-re-color: #00e0e0;
--quarto-hl-sc-color: #abe338;
--quarto-hl-ss-color: #abe338;
--quarto-hl-st-color: #abe338;
--quarto-hl-va-color: #00e0e0;
--quarto-hl-vs-color: #abe338;
--quarto-hl-wa-color: #dcc6e0;
}
/* other quarto variables */
:root {
--quarto-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
code span.al {
background-color: #2a0f15;
font-weight: bold;
color: #f07178;
}
code span.an {
color: #d4d0ab;
}
code span.at {
color: #00e0e0;
}
code span.bn {
color: #d4d0ab;
}
code span.bu {
color: #abe338;
}
code span.ch {
color: #abe338;
}
code span.co {
font-style: italic;
color: #f8f8f2;
}
code span.cv {
color: #ffd700;
}
code span.cn {
color: #ffd700;
}
code span.cf {
font-weight: bold;
color: #ffa07a;
}
code span.dt {
color: #ffa07a;
}
code span.dv {
color: #d4d0ab;
}
code span.do {
color: #f8f8f2;
}
code span.er {
color: #f07178;
text-decoration: underline;
}
code span.ex {
font-weight: bold;
color: #00e0e0;
}
code span.fl {
color: #d4d0ab;
}
code span.fu {
color: #ffa07a;
}
code span.im {
color: #abe338;
}
code span.in {
color: #d4d0ab;
}
code span.kw {
font-weight: bold;
color: #ffa07a;
}
pre > code.sourceCode > span {
color: #f8f8f2;
}
code span {
color: #f8f8f2;
}
code.sourceCode > span {
color: #f8f8f2;
}
div.sourceCode,
div.sourceCode pre.sourceCode {
color: #f8f8f2;
}
code span.op {
color: #ffa07a;
}
code span.ot {
color: #00e0e0;
}
code span.pp {
color: #dcc6e0;
}
code span.re {
background-color: #f8f8f2;
color: #00e0e0;
}
code span.sc {
color: #abe338;
}
code span.ss {
color: #abe338;
}
code span.st {
color: #abe338;
}
code span.va {
color: #00e0e0;
}
code span.vs {
color: #abe338;
}
code span.wa {
color: #dcc6e0;
}
.prevent-inlining {
content: "</";
}
/*# sourceMappingURL=72bb05760472c1bb0bbb1d76e21bc2a0.css.map */