mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 16:31:58 +02:00
doc: Update
This commit is contained in:
@@ -27,11 +27,11 @@
|
||||
--sidebar-search-bg: rgba(127, 127, 127, 0.25);
|
||||
--sidebar-search-focus-bg: rgba(127, 127, 127, 0.3);
|
||||
--sidebar-padding: 1.5em;
|
||||
--warning-bg-color: #e5a50a;
|
||||
--warning-bg-color: rgba(229, 165, 10, 0.7);
|
||||
--warning-fg-color: rgba(0, 0, 0, 0.8);
|
||||
--error-bg-color: #e01b24;
|
||||
--error-bg-color: rgba(224, 27, 36, 0.7);
|
||||
--error-fg-color: #ffffff;
|
||||
--accent-bg-color: #3584e4;
|
||||
--accent-bg-color: rgba(53, 132, 228, 0.7);
|
||||
--accent-fg-color: #ffffff;
|
||||
|
||||
/* boxes, e.g. code blocks */
|
||||
@@ -80,11 +80,14 @@
|
||||
--admonition-color-title-bg--tip: rgba(0, 200, 82, 0.1);
|
||||
--admonition-color-title--warning: #ff9100;
|
||||
--admonition-color-title-bg--warning: rgba(255, 145, 0, 0.1);
|
||||
--admonition-color-title--deprecation: #ff9100;
|
||||
--admonition-color-title-bg--deprecation: rgba(255, 145, 0, 0.1);
|
||||
|
||||
--admonition-icon--note: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><path d="m 11 1 l -2 2 h 1.5 c 0.132812 0 0.257812 0.050781 0.355469 0.144531 l 1.984375 1.988281 c 0.09375 0.09375 0.144531 0.21875 0.144531 0.351563 v 1.589844 l 2.074219 -2.074219 v -1.941406 l -2.058594 -2.058594 z m -3 3 l -7 7 v 4 h 4.058594 l 6.925781 -6.925781 v -2.382813 l -1.691406 -1.691406 z m 0 0"/></svg>');
|
||||
--admonition-icon--important: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><path d="m 5.039062 3 c -1.109374 0 -2 0.890625 -2 2 v 6 c 0 1.109375 0.890626 2 2 2 h 5.953126 c 1.109374 0 2 -0.890625 2 -2 v -6 c 0 -1.109375 -0.890626 -2 -2 -2 z m 2.980469 1 c 0.542969 0 0.980469 0.4375 0.980469 0.984375 v 3.035156 c 0 0.542969 -0.4375 0.980469 -0.980469 0.980469 c -0.546875 0 -0.984375 -0.4375 -0.984375 -0.980469 v -3.035156 c 0 -0.546875 0.4375 -0.984375 0.984375 -0.984375 z m -0.019531 5.734375 c 0.699219 0 1.265625 0.566406 1.265625 1.265625 s -0.566406 1.265625 -1.265625 1.265625 s -1.265625 -0.566406 -1.265625 -1.265625 s 0.566406 -1.265625 1.265625 -1.265625 z m 0 0"/></svg>');
|
||||
--admonition-icon--tip: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><path d="m 9.5 2.5 l -6.5 6.5 v 3 l -3 3 h 4 l 1 -1 h 3 l 6.5 -6.5 c 4 -4 -1 -9 -5 -5 z m -5.5 7.5 l 3 3 h -2 l -1 -1 z m 0 0"/></svg>');
|
||||
--admonition-icon--warning: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><path d="m 7.90625 0.105469 c -0.527344 -0.027344 -1.039062 0.28125 -1.4375 0.96875 l -6.25 11.59375 c -0.535156 0.964843 0.046875 2.34375 1.09375 2.34375 h 13.15625 c 0.980469 0 1.902344 -1.160157 1.21875 -2.34375 l -6.3125 -11.53125 c -0.398438 -0.648438 -0.941406 -1.003907 -1.46875 -1.03125 z m 0.0625 3.9375 c 0.542969 -0.019531 1.046875 0.488281 1.03125 1.03125 v 3.9375 c 0.007812 0.527343 -0.472656 1 -1 1 s -1.007812 -0.472657 -1 -1 v -3.9375 c -0.007812 -0.46875 0.355469 -0.914063 0.8125 -1 c 0.050781 -0.015625 0.101562 -0.023438 0.15625 -0.03125 z m 0.03125 6.96875 c 0.550781 0 1 0.449219 1 1 s -0.449219 1 -1 1 s -1 -0.449219 -1 -1 s 0.449219 -1 1 -1 z m 0 0"/></svg>');
|
||||
--admonition-icon--deprecation: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><path d="m 8 0 c -0.257812 0 -0.511719 0.0976562 -0.707031 0.292969 l -1.707031 1.707031 h -2.585938 c -0.550781 0 -1 0.449219 -1 1 v 2.585938 l -1.707031 1.707031 c -0.3906252 0.390625 -0.3906252 1.023437 0 1.414062 l 1.707031 1.707031 v 2.585938 c 0 0.550781 0.449219 1 1 1 h 2.585938 l 1.707031 1.707031 c 0.390625 0.390625 1.023437 0.390625 1.414062 0 l 1.707031 -1.707031 h 2.585938 c 0.550781 0 1 -0.449219 1 -1 v -2.585938 l 1.707031 -1.707031 c 0.390625 -0.390625 0.390625 -1.023437 0 -1.414062 l -1.707031 -1.707031 v -2.585938 c 0 -0.550781 -0.449219 -1 -1 -1 h -2.585938 l -1.707031 -1.707031 c -0.195312 -0.1953128 -0.449219 -0.292969 -0.707031 -0.292969 z m 0 5 c 0.257812 0 0.511719 0.097656 0.707031 0.292969 l 2 2 c 0.183594 0.1875 0.289063 0.441406 0.285157 0.707031 h 0.007812 v 1 h -2 v 2 h -2 v -2 h -2 v -1 h 0.007812 c -0.003906 -0.265625 0.101563 -0.519531 0.285157 -0.707031 l 2 -2 c 0.195312 -0.195313 0.449219 -0.292969 0.707031 -0.292969 z m 0 0"/></svg>');
|
||||
|
||||
/* misc */
|
||||
--preferred-content-width: 90ch; /* The preferred width for the readable content */
|
||||
@@ -987,8 +990,18 @@ p.admonition-title::before {
|
||||
mask-image: var(--admonition-icon--warning);
|
||||
}
|
||||
|
||||
.admonition.warning {
|
||||
border-left-color: var(--admonition-color-title--warning);
|
||||
.admonition.deprecation {
|
||||
border-left-color: var(--admonition-color-title--deprecation);
|
||||
}
|
||||
|
||||
.admonition.deprecation > .admonition-title {
|
||||
background-color: var(--admonition-color-title-bg--deprecation);
|
||||
}
|
||||
|
||||
.admonition.deprecation > .admonition-title::before {
|
||||
background-color: var(--admonition-color-title--deprecation);
|
||||
-webkit-mask-image: var(--admonition-icon--deprecation);
|
||||
mask-image: var(--admonition-icon--deprecation);
|
||||
}
|
||||
|
||||
/*************************************************************
|
||||
|
Reference in New Issue
Block a user