diff options
author | 2024-04-09 20:17:15 +0200 | |
---|---|---|
committer | 2024-04-09 20:17:15 +0200 | |
commit | 0dec88bb991bc8c6de402e04161e9d0ca24bccf5 (patch) | |
tree | 5cfeca80c9dcc4a0ca53fb1b902196c3d72ea28b /subprojects/docs/src/css/custom.css | |
parent | docs: add existing tutorial (diff) | |
download | refinery-0dec88bb991bc8c6de402e04161e9d0ca24bccf5.tar.gz refinery-0dec88bb991bc8c6de402e04161e9d0ca24bccf5.tar.zst refinery-0dec88bb991bc8c6de402e04161e9d0ca24bccf5.zip |
docs: add embedded video
Diffstat (limited to 'subprojects/docs/src/css/custom.css')
-rw-r--r-- | subprojects/docs/src/css/custom.css | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/subprojects/docs/src/css/custom.css b/subprojects/docs/src/css/custom.css index 82c0c972..ef02b0c2 100644 --- a/subprojects/docs/src/css/custom.css +++ b/subprojects/docs/src/css/custom.css | |||
@@ -35,6 +35,14 @@ | |||
35 | --ifm-color-primary-lightest: #04b3c7; | 35 | --ifm-color-primary-lightest: #04b3c7; |
36 | --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); | 36 | --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); |
37 | --ifm-blockquote-color: var(--ifm-color-content-secondary); | 37 | --ifm-blockquote-color: var(--ifm-color-content-secondary); |
38 | /* elevation=4 shadow from Material UI. */ | ||
39 | --ifm-global-shadow-md: 0px 2px 4px -1px rgba(0,0,0,0.2), | ||
40 | 0px 4px 5px 0px rgba(0,0,0,0.14), | ||
41 | 0px 1px 10px 0px rgba(0,0,0,0.12) !important; | ||
42 | /* elevation=8 shadow from Material UI. */ | ||
43 | --ifm-global-shadow-tl: 0px 5px 5px -3px rgba(0,0,0,0.2), | ||
44 | 0px 8px 10px 1px rgba(0,0,0,0.14), | ||
45 | 0px 3px 14px 2px rgba(0,0,0,0.12) !important; | ||
38 | } | 46 | } |
39 | 47 | ||
40 | [data-theme='dark'] { | 48 | [data-theme='dark'] { |
@@ -59,14 +67,11 @@ code { | |||
59 | 67 | ||
60 | .navbar { | 68 | .navbar { |
61 | --ifm-navbar-background-color: var(--ifm-background-surface-color) !important; | 69 | --ifm-navbar-background-color: var(--ifm-background-surface-color) !important; |
62 | } | 70 | --ifm-navbar-shadow: 0 1px var(--refinery-outer-border-color) !important; |
63 | |||
64 | .navbar { | ||
65 | box-shadow: 0 1px var(--refinery-outer-border-color); | ||
66 | } | 71 | } |
67 | 72 | ||
68 | [data-theme='dark'] .navbar { | 73 | [data-theme='dark'] .navbar { |
69 | box-shadow: var(--ifm-global-shadow-lw); | 74 | --ifm-navbar-shadow: var(--ifm-global-shadow-lw) !important; |
70 | } | 75 | } |
71 | 76 | ||
72 | .button, .navbar__link, .footer__link-item { | 77 | .button, .navbar__link, .footer__link-item { |
@@ -86,14 +91,17 @@ code { | |||
86 | } | 91 | } |
87 | 92 | ||
88 | .navbar__link--try-now { | 93 | .navbar__link--try-now { |
89 | margin: 0 0.5rem 0 0.25rem; | ||
90 | padding: 0.25rem 1.25rem; | ||
91 | color: var(--ifm-font-color-base-inverse); | 94 | color: var(--ifm-font-color-base-inverse); |
92 | background: var(--ifm-color-primary); | 95 | background: var(--ifm-color-primary); |
93 | border-radius: 50em; | ||
94 | transition: background var(--ifm-button-transition-duration) var(--ifm-transition-timing-default); | 96 | transition: background var(--ifm-button-transition-duration) var(--ifm-transition-timing-default); |
95 | } | 97 | } |
96 | 98 | ||
99 | .navbar__inner .navbar__link--try-now { | ||
100 | margin: 0 0.5rem 0 0.25rem; | ||
101 | padding: 0.25rem 1.25rem; | ||
102 | border-radius: 50em; | ||
103 | } | ||
104 | |||
97 | .navbar__link--try-now:hover { | 105 | .navbar__link--try-now:hover { |
98 | color: var(--ifm-font-color-base-inverse); | 106 | color: var(--ifm-font-color-base-inverse); |
99 | background: var(--ifm-color-primary-dark); | 107 | background: var(--ifm-color-primary-dark); |
@@ -104,6 +112,10 @@ code { | |||
104 | background: var(--ifm-color-primary-darker); | 112 | background: var(--ifm-color-primary-darker); |
105 | } | 113 | } |
106 | 114 | ||
115 | .menu { | ||
116 | --ifm-menu-color: var(--ifm-color-content-secondary) !important; | ||
117 | } | ||
118 | |||
107 | .footer { | 119 | .footer { |
108 | --ifm-footer-background-color: var(--ifm-background-surface-color) !important; | 120 | --ifm-footer-background-color: var(--ifm-background-surface-color) !important; |
109 | --ifm-footer-link-color: var(--ifm-color-content-secondary) !important; | 121 | --ifm-footer-link-color: var(--ifm-color-content-secondary) !important; |