This commit is contained in:
McShelby 2023-09-26 20:26:46 +00:00
parent fd66b3f999
commit 648f7799c1
261 changed files with 6995 additions and 6648 deletions

View file

@ -48,6 +48,10 @@ pre {
display: none;
}
#R-body .svg-reset-button {
display: none;
}
#R-body h1, #R-body h2, #R-body h3, #R-body .article-subheading, #R-body h4, #R-body h5, #R-body h6 {
/* better contrast for colored elements */
color: rgba( 0, 0, 0, 1 );
@ -141,9 +145,7 @@ mark {
background: inherit;
color: inherit;
}
.mermaid > svg:hover,
.mermaid > svg:active,
.mermaid > svg:focus {
.mermaid.zoom:hover {
border-color: transparent;
}
div.box > .box-content {

View file

@ -554,6 +554,16 @@
color: rgba( 248, 248, 248, 1 ); /* var(--CODE-BLOCK-BG-color) */
}
.svg-reset-button {
border-color: rgba( 216, 216, 216, 1 ); /* var(--CODE-BLOCK-BORDER-color) */
color: rgba( 72, 106, 201, 1 ); /* var(--MAIN-LINK-color) */
}
.svg-reset-button:hover {
background-color: rgba( 72, 106, 201, 1 ); /* var(--MAIN-LINK-color) */
border-color: rgba( 72, 106, 201, 1 ); /* var(--MAIN-LINK-color) */
color: rgba( 248, 248, 248, 1 ); /* var(--CODE-BLOCK-BG-color) */
}
#R-homelinks {
background-color: rgba( 125, 201, 3, 1 ); /* var(--MENU-HEADER-BORDER-color) */
}

View file

@ -1317,18 +1317,50 @@ html[dir="rtl"] .expand > .expand-label > i.fa-chevron-right {
margin-top: 1.7rem;
}
.mermaid > svg {
.mermaid {
border: 1px solid transparent;
display: inline;
padding: .5rem .5rem 0 .5rem;
}
.mermaid.zoom {
display: inline-block;
position: relative;
width: 100%;
}
.mermaid.zoom:hover {
border-color: rgba( 134, 134, 134, .333 );
}
.mermaid > svg {
/* remove inline height from generated diagram */
height: initial !important;
}
.mermaid.zoom > svg {
cursor: pointer;
}
.mermaid.zoom > svg:hover {
border-color: rgba( 134, 134, 134, .333 );
.svg-reset-button {
background-color: rgba( 160, 160, 160, .2 );
border-radius: 2px;
border-style: solid;
border-width: 1px;
cursor: pointer;
display: none;
font-size: .934375rem;
line-height: 1.15;
padding: 5px 3px;
position: absolute;
right: 4px;
top: 4px;
}
.mermaid:hover .svg-reset-button {
display: block;
}
.svg-reset-button > i {
font-size: .859625rem;
padding-left: 5px;
padding-right: 5px;
}
.mermaid-code {
@ -1684,22 +1716,16 @@ input[type="search"]::-webkit-search-results-decoration { display: none; }
}
*/
.mermaid-container .align-right > * {
display: block;
margin-left: auto;
margin-right: 0;
.mermaid-container.align-right {
text-align: right;
}
.mermaid-container .align-center > * {
display: block;
margin-left: auto;
margin-right: auto;
.mermaid-container.align-center {
text-align: center;
}
.mermaid-container .align-left > * {
display: block;
margin-left: 0;
margin-right: auto;
.mermaid-container.align-left {
text-align: left;
}
.searchform {

View file

@ -306,6 +306,16 @@ pre .copy-to-clipboard-button:hover {
color: var(--INTERNAL-MAIN-LINK-HOVER-color);
}
.svg-reset-button {
border-color: var(--INTERNAL-CODE-BLOCK-BORDER-color);
color: var(--INTERNAL-MAIN-LINK-color);
}
.svg-reset-button:hover {
background-color: var(--INTERNAL-MAIN-LINK-color);
border-color: var(--INTERNAL-MAIN-LINK-color);
color: var(--INTERNAL-CODE-BLOCK-BG-color);
}
#R-homelinks {
background-color: var(--INTERNAL-MENU-HEADER-BORDER-color);
}