diff --git a/book.toml b/book.toml index e926ea1..f9e327d 100644 --- a/book.toml +++ b/book.toml @@ -16,7 +16,7 @@ assets_version = "3.0.2" # do not edit: managed by `mdbook-admonish install` [output.html] default-theme = "aggie" preferred-dark-theme = "navy" -additional-css = ["./theme/css/mdbook-admonish.css", "./theme/css/tabbed-code-blocks.css"] +additional-css = ["./theme/css/mdbook-admonish.css", "./theme/css/tabbed-code-blocks.css", "./theme/css/aggie-custom.css"] additional-js = ["./theme/js/tabbed-code-blocks.js"] edit-url-template = "https://github.com/tamu-edu/it-cloud-docs/edit/main/{path}" diff --git a/theme/css/aggie-custom.css b/theme/css/aggie-custom.css new file mode 100644 index 0000000..92aae0f --- /dev/null +++ b/theme/css/aggie-custom.css @@ -0,0 +1,37 @@ +/* adding aggie styles for icons*/ + +/* custom 1 */ +:is(.admonition):is(.aggiecustom) { + border-color: #4b0000; + box-shadow: 0 0.2rem 1rem 2px rgb(0 0 0 / 10%), 0 0 0.5rem 1px rgb(0 0 0 / 20%); +} + + +:is(.aggiecustom) > :is(.admonition-title, summary.admonition-title) { + background-color: rgb(75 0 0 / 50%); +} + +:is(.aggiecustom) > :is(.admonition-title, summary.admonition-title)::before { + background-color: #4b0000; +} + +/* custom 2 */ +:is(.admonition):is(.aggiecustom2) { + border-color: var(--sidebar-bg); + box-shadow: 0 0.2rem 1rem 2px rgb(0 0 0 / 10%), 0 0 0.5rem 1px rgb(0 0 0 / 20%); +} + +:is(.aggiecustom2) > :is(.admonition-title, summary.admonition-title) { + background-color: var(--sidebar-bg); + color: var(--sidebar-fg); +} + +:is(.aggiecustom2) > :is(.admonition-title, summary.admonition-title)::before { + background-color: var(--sidebar-fg); +} +/* +.aggie :is(.admonition) { + background-color: var(--admo-bg); +} +*/ +/* end of aggie custom styles */ \ No newline at end of file