Skip to content

Commit

Permalink
add back aggiecustom css
Browse files Browse the repository at this point in the history
  • Loading branch information
cybrknght committed Mar 13, 2024
1 parent 7bcedd5 commit a37825f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
2 changes: 1 addition & 1 deletion book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down
37 changes: 37 additions & 0 deletions theme/css/aggie-custom.css
Original file line number Diff line number Diff line change
@@ -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 */

0 comments on commit a37825f

Please sign in to comment.