Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

701 lines
14 KiB
CSS
Raw Permalink Normal View History

2024-05-03 15:34:44 -06:00
/* CSS for UI elements (a.k.a. chrome) */
@import "variables.css";
html {
2024-09-17 17:39:06 +02:00
background-color: var(--bg);
2024-07-11 11:57:22 -03:00
scrollbar-color: var(--scrollbar) var(--bg);
2024-05-03 15:34:44 -06:00
}
#searchresults a,
.content a:link,
a:visited,
a > .hljs {
2024-07-11 11:57:22 -03:00
color: var(--links);
2024-05-03 15:34:44 -06:00
}
/*
2024-07-27 10:25:51 -04:00
body-container is necessary because mobile browsers don't seem to like
overflow-x on the body tag when there is a <meta name="viewport"> tag.
2024-05-03 15:34:44 -06:00
*/
#body-container {
2024-07-11 11:57:22 -03:00
/*
2024-07-27 10:25:51 -04:00
This is used when the sidebar pushes the body content off the side of
the screen on small screens. Without it, dragging on mobile Safari
will want to reposition the viewport in a weird way.
*/
2024-07-11 11:57:22 -03:00
overflow-x: clip;
2024-05-03 15:34:44 -06:00
}
/* Menu Bar */
#menu-bar,
#menu-bar-hover-placeholder {
2024-07-11 11:57:22 -03:00
z-index: 101;
margin: auto calc(0px - var(--page-padding));
2024-05-03 15:34:44 -06:00
}
#menu-bar {
2024-07-11 11:57:22 -03:00
padding: 16px;
position: relative;
display: flex;
flex-wrap: wrap;
background-color: var(--bg);
border-block-end-color: var(--bg);
border-block-end-width: 1px;
border-block-end-style: solid;
2024-05-03 15:34:44 -06:00
}
#menu-bar.sticky,
.js #menu-bar-hover-placeholder:hover + #menu-bar,
.js #menu-bar:hover,
.js.sidebar-visible #menu-bar {
2024-07-11 11:57:22 -03:00
position: -webkit-sticky;
position: sticky;
top: 0 !important;
2024-05-03 15:34:44 -06:00
}
#menu-bar-hover-placeholder {
2024-07-11 11:57:22 -03:00
position: sticky;
position: -webkit-sticky;
top: 0;
height: var(--menu-bar-height);
2024-05-03 15:34:44 -06:00
}
#menu-bar.bordered {
2024-09-17 17:39:06 +02:00
border-block-end-color: var(--divider);
2024-05-03 15:34:44 -06:00
}
#menu-bar i,
#menu-bar .icon-button {
2024-07-11 11:57:22 -03:00
position: relative;
height: 3rem;
width: 3rem;
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: color 0.5s;
2024-05-03 15:34:44 -06:00
}
2024-07-11 11:57:22 -03:00
#menu-bar .icon-button:hover {
2024-09-17 17:39:06 +02:00
background-color: var(--icon-btn-bg-hover);
2024-07-11 11:57:22 -03:00
}
2024-05-03 15:34:44 -06:00
@media only screen and (max-width: 420px) {
2024-07-11 11:57:22 -03:00
#menu-bar i,
#menu-bar .icon-button {
padding: 0 5px;
}
2024-05-03 15:34:44 -06:00
}
.icon-button {
2024-07-11 11:57:22 -03:00
border: none;
background: none;
padding: 0;
color: inherit;
2024-05-03 15:34:44 -06:00
}
.icon-button i {
2024-07-11 11:57:22 -03:00
margin: 0;
2024-05-03 15:34:44 -06:00
}
.right-buttons {
2024-07-11 11:57:22 -03:00
display: flex;
align-items: center;
2024-05-03 15:34:44 -06:00
}
.right-buttons a {
2024-07-11 11:57:22 -03:00
text-decoration: none;
2024-05-03 15:34:44 -06:00
}
.left-buttons {
2024-07-11 11:57:22 -03:00
display: flex;
align-items: center;
gap: 0.5rem;
2024-05-03 15:34:44 -06:00
}
.no-js .left-buttons button {
2024-07-11 11:57:22 -03:00
display: none;
2024-05-03 15:34:44 -06:00
}
.menu-title {
2024-07-11 11:57:22 -03:00
display: inline-flex;
justify-content: center;
align-items: center;
flex: 1;
overflow: hidden;
2024-09-17 17:39:06 +02:00
filter: var(--logo-brightness);
2024-05-03 15:34:44 -06:00
}
.js .menu-title {
2024-07-11 11:57:22 -03:00
cursor: pointer;
2024-05-03 15:34:44 -06:00
}
.menu-bar,
.menu-bar:visited,
.nav-chapters,
.nav-chapters:visited,
.mobile-nav-chapters,
.mobile-nav-chapters:visited,
.menu-bar .icon-button,
.menu-bar a i {
2024-07-11 11:57:22 -03:00
color: var(--icons);
2024-05-03 15:34:44 -06:00
}
.menu-bar i:hover,
.menu-bar .icon-button:hover,
.nav-chapters:hover,
.mobile-nav-chapters i:hover {
2024-07-11 11:57:22 -03:00
color: var(--icons-hover);
2024-05-03 15:34:44 -06:00
}
/* Nav Icons */
.nav-chapters {
2024-07-11 11:57:22 -03:00
font-size: 2.5em;
text-align: center;
text-decoration: none;
2024-05-03 15:34:44 -06:00
2024-07-11 11:57:22 -03:00
position: fixed;
top: 0;
bottom: 0;
margin: 0;
max-width: 150px;
min-width: 90px;
2024-05-03 15:34:44 -06:00
2024-07-11 11:57:22 -03:00
display: flex;
justify-content: center;
align-content: center;
flex-direction: column;
2024-05-03 15:34:44 -06:00
2024-07-11 11:57:22 -03:00
transition:
color 0.5s,
background-color 0.5s;
2024-05-03 15:34:44 -06:00
}
.nav-chapters:hover {
2024-07-11 11:57:22 -03:00
text-decoration: none;
background-color: var(--theme-hover);
transition:
background-color 0.15s,
color 0.15s;
2024-05-03 15:34:44 -06:00
}
.nav-wrapper {
2024-07-11 11:57:22 -03:00
margin-block-start: 50px;
display: none;
2024-05-03 15:34:44 -06:00
}
.mobile-nav-chapters {
2024-07-11 11:57:22 -03:00
font-size: 2.5em;
text-align: center;
text-decoration: none;
width: 90px;
border-radius: 5px;
background-color: var(--sidebar-bg);
2024-05-03 15:34:44 -06:00
}
/* Only Firefox supports flow-relative values */
.previous {
2024-07-11 11:57:22 -03:00
float: left;
2024-05-03 15:34:44 -06:00
}
[dir="rtl"] .previous {
2024-07-11 11:57:22 -03:00
float: right;
2024-05-03 15:34:44 -06:00
}
/* Only Firefox supports flow-relative values */
.next {
2024-07-11 11:57:22 -03:00
float: right;
right: var(--page-padding);
2024-05-03 15:34:44 -06:00
}
[dir="rtl"] .next {
2024-07-11 11:57:22 -03:00
float: left;
right: unset;
left: var(--page-padding);
2024-05-03 15:34:44 -06:00
}
/* Use the correct buttons for RTL layouts*/
[dir="rtl"] .previous i.fa-angle-left:before {
2024-07-11 11:57:22 -03:00
content: "\f105";
2024-05-03 15:34:44 -06:00
}
[dir="rtl"] .next i.fa-angle-right:before {
2024-07-11 11:57:22 -03:00
content: "\f104";
2024-05-03 15:34:44 -06:00
}
@media only screen and (max-width: 1080px) {
2024-07-11 11:57:22 -03:00
.nav-wide-wrapper {
display: none;
}
.nav-wrapper {
display: block;
}
2024-05-03 15:34:44 -06:00
}
/* sidebar-visible */
@media only screen and (max-width: 1380px) {
2024-07-11 11:57:22 -03:00
#sidebar-toggle-anchor:checked ~ .page-wrapper .nav-wide-wrapper {
display: none;
}
#sidebar-toggle-anchor:checked ~ .page-wrapper .nav-wrapper {
display: block;
}
2024-05-03 15:34:44 -06:00
}
/* Inline code */
:not(pre) > .hljs {
2024-07-11 11:57:22 -03:00
display: inline;
padding: 0.1em 0.3em;
border-radius: 3px;
2024-05-03 15:34:44 -06:00
}
:not(pre):not(a) > .hljs {
2024-07-11 11:57:22 -03:00
color: var(--inline-code-color);
overflow-x: initial;
2024-05-03 15:34:44 -06:00
}
a:hover > .hljs {
2024-07-11 11:57:22 -03:00
text-decoration: underline;
2024-05-03 15:34:44 -06:00
}
pre {
2024-09-17 17:39:06 +02:00
background-color: var(--pre-bg);
border: 1px solid;
border-color: var(--pre-border);
box-shadow: var(--pre-shadow) 4px 4px 0px 0px;
2024-07-11 11:57:22 -03:00
position: relative;
2024-05-03 15:34:44 -06:00
}
pre > .hljs {
2024-07-11 11:57:22 -03:00
background-color: initial;
2024-05-03 15:34:44 -06:00
}
pre > .buttons {
2024-07-11 11:57:22 -03:00
position: absolute;
z-index: 100;
right: 0px;
top: 2px;
margin: 0px;
padding: 2px 0px;
2024-05-03 15:34:44 -06:00
2024-07-11 11:57:22 -03:00
color: var(--sidebar-fg);
cursor: pointer;
visibility: hidden;
opacity: 0;
transition:
visibility 0.1s linear,
opacity 0.1s linear;
2024-05-03 15:34:44 -06:00
}
pre:hover > .buttons {
2024-07-11 11:57:22 -03:00
visibility: visible;
opacity: 1;
2024-05-03 15:34:44 -06:00
}
pre > .buttons :hover {
2024-07-11 11:57:22 -03:00
color: var(--sidebar-active);
2024-09-06 13:43:54 -03:00
border-color: var(--border-hover);
2024-07-11 11:57:22 -03:00
background-color: var(--theme-hover);
2024-05-03 15:34:44 -06:00
}
pre > .buttons i {
2024-07-11 11:57:22 -03:00
margin-inline-start: 8px;
2024-05-03 15:34:44 -06:00
}
pre > .buttons button {
2024-07-11 11:57:22 -03:00
cursor: inherit;
2024-09-06 13:43:54 -03:00
margin: 0 4px;
height: 26px;
width: 26px;
2024-07-11 11:57:22 -03:00
font-size: 14px;
border-style: solid;
border-width: 1px;
border-radius: 4px;
2024-09-06 13:43:54 -03:00
border-color: var(--border);
2024-07-11 11:57:22 -03:00
background-color: var(--theme-popup-bg);
transition: 100ms;
transition-property: color, border-color, background-color;
color: var(--icons);
2024-05-03 15:34:44 -06:00
}
2024-09-06 13:43:54 -03:00
pre > .playground {
border: none;
margin: 0;
box-shadow: none;
/* HACK: This serves to visually hide nested <pre> elements in "playground" code snippets.
A more robust solution would involve modifying the rendered HTML. */
}
2024-05-03 15:34:44 -06:00
@media (pointer: coarse) {
2024-07-11 11:57:22 -03:00
pre > .buttons button {
/* On mobile, make it easier to tap buttons. */
padding: 0.3rem 1rem;
}
2024-05-03 15:34:44 -06:00
2024-07-11 11:57:22 -03:00
.sidebar-resize-indicator {
/* Hide resize indicator on devices with limited accuracy */
display: none;
}
2024-05-03 15:34:44 -06:00
}
pre > code {
2024-07-11 11:57:22 -03:00
display: block;
padding: 1rem;
2024-05-03 15:34:44 -06:00
}
/* TODO: ACE editors overlap their buttons because ACE does absolute
2024-05-03 15:34:44 -06:00
positioning within the code block which breaks padding. The only solution I
can think of is to move the padding to the outer pre tag (or insert a div
wrapper), but that would require fixing a whole bunch of CSS rules.
*/
.hljs.ace_editor {
2024-07-11 11:57:22 -03:00
padding: 0rem 0rem;
2024-05-03 15:34:44 -06:00
}
pre > .result {
2024-07-11 11:57:22 -03:00
margin-block-start: 10px;
2024-05-03 15:34:44 -06:00
}
/* Search */
#searchresults a {
2024-07-11 11:57:22 -03:00
text-decoration: none;
2024-05-03 15:34:44 -06:00
}
mark {
2024-07-11 11:57:22 -03:00
border-radius: 2px;
padding-block-start: 0;
padding-block-end: 1px;
padding-inline-start: 3px;
padding-inline-end: 3px;
margin-block-start: 0;
margin-block-end: -1px;
margin-inline-start: -3px;
margin-inline-end: -3px;
background-color: var(--search-mark-bg);
transition: background-color 300ms linear;
cursor: pointer;
2024-05-03 15:34:44 -06:00
}
mark.fade-out {
2024-07-11 11:57:22 -03:00
background-color: rgba(0, 0, 0, 0) !important;
cursor: auto;
2024-05-03 15:34:44 -06:00
}
.searchbar-outer {
2024-07-11 11:57:22 -03:00
margin-inline-start: auto;
margin-inline-end: auto;
max-width: var(--content-max-width);
2024-05-03 15:34:44 -06:00
}
#searchbar {
2024-07-11 11:57:22 -03:00
width: 100%;
margin-block-start: 5px;
margin-block-end: 0;
margin-inline-start: auto;
margin-inline-end: auto;
padding: 10px 16px;
transition: box-shadow 300ms ease-in-out;
border: 1px solid var(--searchbar-border-color);
border-radius: 3px;
background-color: var(--searchbar-bg);
color: var(--searchbar-fg);
2024-05-03 15:34:44 -06:00
}
#searchbar:focus,
#searchbar.active {
2024-07-11 11:57:22 -03:00
box-shadow: 0 0 3px var(--searchbar-shadow-color);
2024-05-03 15:34:44 -06:00
}
.searchresults-header {
2024-07-11 11:57:22 -03:00
font-weight: bold;
font-size: 1em;
padding-block-start: 18px;
padding-block-end: 0;
padding-inline-start: 5px;
padding-inline-end: 0;
color: var(--searchresults-header-fg);
2024-05-03 15:34:44 -06:00
}
.searchresults-outer {
2024-07-11 11:57:22 -03:00
margin-inline-start: auto;
margin-inline-end: auto;
max-width: var(--content-max-width);
border-block-end: 1px dashed var(--searchresults-border-color);
2024-05-03 15:34:44 -06:00
}
ul#searchresults {
2024-07-11 11:57:22 -03:00
list-style: none;
padding-inline-start: 20px;
2024-05-03 15:34:44 -06:00
}
ul#searchresults li {
2024-07-11 11:57:22 -03:00
margin: 10px 0px;
padding: 2px;
border-radius: 2px;
2024-05-03 15:34:44 -06:00
}
ul#searchresults li.focus {
2024-07-11 11:57:22 -03:00
background-color: var(--searchresults-li-bg);
2024-05-03 15:34:44 -06:00
}
ul#searchresults span.teaser {
2024-07-11 11:57:22 -03:00
display: block;
clear: both;
margin-block-start: 5px;
margin-block-end: 0;
margin-inline-start: 20px;
margin-inline-end: 0;
font-size: 0.8em;
2024-05-03 15:34:44 -06:00
}
ul#searchresults span.teaser em {
2024-07-11 11:57:22 -03:00
font-weight: bold;
font-style: normal;
2024-05-03 15:34:44 -06:00
}
/* Sidebar */
.sidebar {
2024-07-11 11:57:22 -03:00
position: fixed;
left: 0;
top: 0;
bottom: 0;
width: var(--sidebar-width);
font-size: 0.875em;
box-sizing: border-box;
-webkit-overflow-scrolling: touch;
overscroll-behavior-y: contain;
background-color: var(--sidebar-bg);
color: var(--sidebar-fg);
2024-09-17 17:39:06 +02:00
border-right: 1px solid;
border-color: var(--divider);
2024-05-03 15:34:44 -06:00
}
[dir="rtl"] .sidebar {
2024-07-11 11:57:22 -03:00
left: unset;
right: 0;
2024-05-03 15:34:44 -06:00
}
.sidebar-resizing {
2024-07-11 11:57:22 -03:00
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
2024-05-03 15:34:44 -06:00
}
.no-js .sidebar,
.js:not(.sidebar-resizing) .sidebar {
2024-07-11 11:57:22 -03:00
transition: transform 0.3s; /* Animation: slide away */
2024-05-03 15:34:44 -06:00
}
.sidebar code {
2024-07-11 11:57:22 -03:00
line-height: 2em;
2024-05-03 15:34:44 -06:00
}
.sidebar .sidebar-scrollbox {
2024-07-11 11:57:22 -03:00
overflow-y: auto;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
padding: 12px 12px 12px 24px;
2024-05-03 15:34:44 -06:00
}
.sidebar .sidebar-resize-handle {
2024-07-11 11:57:22 -03:00
position: absolute;
cursor: col-resize;
width: 0;
right: calc(var(--sidebar-resize-indicator-width) * -1);
top: 0;
bottom: 0;
display: flex;
align-items: center;
2024-05-03 15:34:44 -06:00
}
.sidebar-resize-handle .sidebar-resize-indicator {
2024-07-11 11:57:22 -03:00
width: 100%;
height: 12px;
background-color: var(--icons);
margin-inline-start: var(--sidebar-resize-indicator-space);
2024-05-03 15:34:44 -06:00
}
[dir="rtl"] .sidebar .sidebar-resize-handle {
2024-07-11 11:57:22 -03:00
left: calc(var(--sidebar-resize-indicator-width) * -1);
right: unset;
2024-05-03 15:34:44 -06:00
}
.js .sidebar .sidebar-resize-handle {
2024-07-11 11:57:22 -03:00
cursor: col-resize;
2024-07-27 10:25:51 -04:00
width: calc(
var(--sidebar-resize-indicator-width) -
var(--sidebar-resize-indicator-space)
);
2024-05-03 15:34:44 -06:00
}
/* sidebar-hidden */
#sidebar-toggle-anchor:not(:checked) ~ .sidebar {
2024-07-27 10:25:51 -04:00
transform: translateX(
calc(0px - var(--sidebar-width) - var(--sidebar-resize-indicator-width))
);
2024-07-11 11:57:22 -03:00
z-index: -1;
2024-05-03 15:34:44 -06:00
}
[dir="rtl"] #sidebar-toggle-anchor:not(:checked) ~ .sidebar {
2024-07-27 10:25:51 -04:00
transform: translateX(
calc(var(--sidebar-width) + var(--sidebar-resize-indicator-width))
);
2024-05-03 15:34:44 -06:00
}
.sidebar::-webkit-scrollbar {
2024-07-11 11:57:22 -03:00
background: var(--sidebar-bg);
2024-05-03 15:34:44 -06:00
}
.sidebar::-webkit-scrollbar-thumb {
2024-07-11 11:57:22 -03:00
background: var(--scrollbar);
2024-05-03 15:34:44 -06:00
}
/* sidebar-visible */
#sidebar-toggle-anchor:checked ~ .page-wrapper {
2024-07-27 10:25:51 -04:00
transform: translateX(
calc(var(--sidebar-width) + var(--sidebar-resize-indicator-width))
);
2024-05-03 15:34:44 -06:00
}
[dir="rtl"] #sidebar-toggle-anchor:checked ~ .page-wrapper {
2024-07-27 10:25:51 -04:00
transform: translateX(
calc(0px - var(--sidebar-width) - var(--sidebar-resize-indicator-width))
);
2024-05-03 15:34:44 -06:00
}
@media only screen and (min-width: 620px) {
2024-07-11 11:57:22 -03:00
#sidebar-toggle-anchor:checked ~ .page-wrapper {
transform: none;
margin-inline-start: var(--sidebar-width);
}
[dir="rtl"] #sidebar-toggle-anchor:checked ~ .page-wrapper {
transform: none;
}
2024-05-03 15:34:44 -06:00
}
.chapter {
2024-07-11 11:57:22 -03:00
list-style: none outside none;
padding-inline-start: 0;
line-height: 2.2em;
2024-09-06 13:43:54 -03:00
margin: 0;
2024-05-03 15:34:44 -06:00
}
.chapter ol {
2024-07-11 11:57:22 -03:00
width: 100%;
2024-05-03 15:34:44 -06:00
}
.chapter li {
2024-07-11 11:57:22 -03:00
display: flex;
color: var(--sidebar-non-existant);
2024-05-03 15:34:44 -06:00
}
.chapter li a {
2024-07-11 11:57:22 -03:00
display: block;
padding: 0;
text-decoration: none;
color: var(--sidebar-fg);
2024-05-03 15:34:44 -06:00
}
.chapter li a:hover {
2024-07-11 11:57:22 -03:00
color: var(--sidebar-active);
2024-05-03 15:34:44 -06:00
}
.chapter li a.active {
2024-07-11 11:57:22 -03:00
color: var(--sidebar-active);
background-color: var(--sidebar-active-bg);
2024-05-03 15:34:44 -06:00
}
.chapter li > a.toggle {
2024-07-11 11:57:22 -03:00
cursor: pointer;
display: block;
margin-inline-start: auto;
padding: 0 10px;
user-select: none;
opacity: 0.68;
2024-05-03 15:34:44 -06:00
}
.chapter li > a.toggle div {
2024-07-11 11:57:22 -03:00
transition: transform 0.5s;
2024-05-03 15:34:44 -06:00
}
/* collapse the section */
.chapter li:not(.expanded) + li > ol {
2024-07-11 11:57:22 -03:00
display: none;
2024-05-03 15:34:44 -06:00
}
.chapter li.chapter-item {
2024-07-11 11:57:22 -03:00
line-height: 1.5em;
margin-block-start: 0.6em;
2024-05-03 15:34:44 -06:00
}
.chapter li.expanded > a.toggle div {
2024-07-11 11:57:22 -03:00
transform: rotate(90deg);
2024-05-03 15:34:44 -06:00
}
.spacer {
2024-07-11 11:57:22 -03:00
width: 100%;
height: 3px;
margin: 5px 0px;
2024-05-03 15:34:44 -06:00
}
.chapter .spacer {
2024-09-17 17:39:06 +02:00
background-color: var(--divider);
2024-05-03 15:34:44 -06:00
}
@media (-moz-touch-enabled: 1), (pointer: coarse) {
2024-07-11 11:57:22 -03:00
.chapter li a {
padding: 5px 0;
}
.spacer {
margin: 10px 0;
}
2024-05-03 15:34:44 -06:00
}
.section {
2024-07-11 11:57:22 -03:00
list-style: none outside none;
padding-inline-start: 20px;
line-height: 1.9em;
2024-05-03 15:34:44 -06:00
}
/* Theme Menu Popup */
.theme-popup {
2024-07-11 11:57:22 -03:00
position: absolute;
2024-09-17 17:39:06 +02:00
left: 32px;
top: calc(var(--menu-bar-height) - 12px);
2024-07-11 11:57:22 -03:00
z-index: 1000;
border-radius: 4px;
2024-09-17 17:39:06 +02:00
font-size: 1.4rem;
2024-07-11 11:57:22 -03:00
color: var(--fg);
background: var(--theme-popup-bg);
border: 1px solid var(--theme-popup-border);
margin: 0;
padding: 0;
list-style: none;
display: none;
/* Don't let the children's background extend past the rounded corners. */
overflow: hidden;
2024-05-03 15:34:44 -06:00
}
[dir="rtl"] .theme-popup {
2024-07-11 11:57:22 -03:00
left: unset;
right: 10px;
2024-05-03 15:34:44 -06:00
}
.theme-popup .default {
2024-07-11 11:57:22 -03:00
color: var(--icons);
2024-05-03 15:34:44 -06:00
}
.theme-popup .theme {
2024-07-11 11:57:22 -03:00
width: 100%;
border: 0;
margin: 0;
2024-09-17 17:39:06 +02:00
padding: 2px 24px;
2024-07-11 11:57:22 -03:00
line-height: 25px;
white-space: nowrap;
text-align: start;
cursor: pointer;
color: inherit;
background: inherit;
font-size: inherit;
2024-09-17 17:39:06 +02:00
font-family: inherit;
2024-05-03 15:34:44 -06:00
}
.theme-popup .theme:hover {
2024-07-11 11:57:22 -03:00
background-color: var(--theme-hover);
2024-05-03 15:34:44 -06:00
}
.theme-selected::before {
2024-09-17 17:39:06 +02:00
font-family: Arial, Helvetica, sans-serif;
text-align: center;
2024-07-11 11:57:22 -03:00
display: inline-block;
content: "✓";
2024-09-17 17:39:06 +02:00
margin-inline-start: -20px;
width: 20px;
2024-05-03 15:34:44 -06:00
}
.download-button {
2024-09-17 17:39:06 +02:00
background: var(--download-btn-bg);
color: var(--download-btn-color);
2024-07-11 11:57:22 -03:00
padding: 4px 8px;
2024-09-17 17:39:06 +02:00
border: 1px solid;
border-color: var(--download-btn-border);
2024-09-06 13:43:54 -03:00
font-size: 1.4rem;
border-radius: 4px;
2024-09-17 17:39:06 +02:00
box-shadow: var(--download-btn-shadow) 0px -2px 0px 0px inset;
2024-09-06 13:43:54 -03:00
transition: 100ms;
transition-property: box-shadow, border-color, background-color;
}
.download-button:hover {
2024-09-17 17:39:06 +02:00
background: var(--download-btn-bg);
border-color: var(--download-btn-border-hover);
2024-09-06 13:43:54 -03:00
box-shadow: none;
2024-05-03 15:34:44 -06:00
}