/* This CSS Snippet changes the apperance of various elements / text styles to help with note taking and PDF export or print*/
/*This file was assembled by Mux :3*/


/*      \\ ~Text Styles~ \\     
▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄*/

strong, .cm-strong { /* Bold */
  color: #f78798;
}

em, .cm-em { /* Italics*/
  color: #59ce57; /* Outdated: #58e67c */
}

.cm-s-obsidian span.cm-formatting-strong.cm-formatting-em, 
.cm-s-obsidian span.cm-strong.cm-em, .markdown-rendered em strong,
.markdown-rendered strong em { /* Dual Bold and italic (e.g., ***text***) */
    color: #3c97ff ;
    text-underline-offset:1px;
    text-decoration: underline wavy;
}/* Live Preview/Source mode (first 2 inclusions), Reading view (last 2 inclusions) */

.cm-s-obsidian span.cm-highlight,
.markdown-rendered mark { /* Text highlight, now wiggle marker */
  color: #eed955;
  background-color: #ffffff00;
  text-underline-offset:1px;
  text-decoration: underline wavy;
}

:root, body, .view-content { /* Link Colors */
  --link-color: #b477f9;
  --link-color-hover: #8aafff;
  --link-external-color: #b477f9;
  --link-external-color-hover: #8fdf8b;
}

/*These lines visually shrink the <break> before a table*/
cm-line:has(+ .cm-embed-block.cm-table-widget) br { display: none; }
.cm-embed-block.cm-table-widget.markdown-rendered { margin: 0; padding: 0; }


/*      \\ PDF export colors \\     
▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄░▄▄▄*/

@media print {
  .print .markdown-preview-view {
    -webkit-print-color-adjust: exact;
    color: #000000 !important; 
  }

  .print .markdown-preview-view strong { /* Bold */
    color: #931125 !important; 
  }

  em, i, .cm-em { /* Italics */
    color: #2a7b3e !important; 
    font-weight: bold;
  }

  strong em, em strong, b i, i b, .cm-strong.cm-em { /* Dual Bold and italic (e.g., ***text***) */
    color: #1459ad !important;
    font-weight: bold;
    font-style: italic;
  }

  mark, .cm-highlight { /* Text highlight, now wiggle marker */
    color: #a95d00 !important;
    background-color: hsla(33, 100%, 33%, 0.075) !important;
  }
  
  ul li::marker, ol > li::marker { /*Bullet & number list markers*/
    color: #000000 !important;
  }

  /* Customize Heading Colors */
  .print .markdown-preview-view h1 {
    color: #000000; 
    font-size: 30px;
  }
  .print .markdown-preview-view h2 {
    color: #000000; 
    font-size: 26px;
    font-style: italic !important;
  }
  .print .markdown-preview-view h3 {
    color: #000000;
    font-size: 22px;
    font-style: italic !important;
    text-decoration: underline !important;
  }
  .print .markdown-preview-view h4 {
    color: #000000;
    font-size: 20px;
    text-decoration: underline dashed !important;
  }
  .print .markdown-preview-view h5 {
  color: #000000;
  }
}