update
This commit is contained in:
14
.obsidian/snippets/custom_callouts.css
vendored
14
.obsidian/snippets/custom_callouts.css
vendored
@@ -3,8 +3,8 @@
|
||||
/* ┣┻┓┣╸ ┃ ┃ ┣╸ ┣┳┛ ┃┃┃┣━┫┣┳┛┃╺┓┃┃┗┫┗━┓ */
|
||||
/* ┗━┛┗━╸ ╹ ╹ ┗━╸╹┗╸ ╹ ╹╹ ╹╹┗╸┗━┛╹╹ ╹┗━┛ */
|
||||
.callout {
|
||||
/* padding: 5px; */
|
||||
--callout-padding: var(--size-4-1) var(--size-4-3) var(--size-4-1) var(--size-4-1);
|
||||
/* top right bottom left */
|
||||
--callout-padding: var(--size-4-1) var(--size-4-3) var(--size-4-1) var(--size-4-3);
|
||||
|
||||
}
|
||||
.callout-content > p,
|
||||
@@ -126,7 +126,8 @@
|
||||
|
||||
.callout[data-callout="definition"], .callout[data-callout="définition"]{
|
||||
/* definitions (expecially in maths) */
|
||||
--callout-color: 77, 149, 247;
|
||||
/*--callout-color: 77, 149, 247;*/
|
||||
--callout-color: 54, 140, 243; /* same blue as h1 headings */
|
||||
--callout-icon: feather;
|
||||
}
|
||||
|
||||
@@ -138,8 +139,13 @@
|
||||
|
||||
.callout[data-callout="proposition"], .callout[data-callout="Proposition"] {
|
||||
/* propositions mathématiques */
|
||||
--callout-color: 29, 180, 30;
|
||||
--callout-color: 29, 180, 30; /* green */
|
||||
/*--callout-color: 41, 103, 179; /* definition's blue */
|
||||
--callout-icon: book-open-check;
|
||||
background-color: transparent;
|
||||
border: 2pt solid;
|
||||
border-color: rgba(var(--callout-color), 1);
|
||||
border-radius: 5pt;
|
||||
/*--callout-icon: corner-down-right;*/
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user