kern

White space theme for Hugo
Log | Files | Refs | LICENSE

chroma.css (619B)


      1 .highlight {
      2   padding-left: 0;
      3   padding-right: 0;
      4 }
      5 
      6 .chroma tr { border: none; }
      7 
      8 .chroma:has(table) pre.chroma { margin: 0; }
      9 
     10 .chroma:has(table) td:first-of-type pre {
     11   border-right: none;
     12   padding-right: 1ch;
     13   color: var(--secondary-fg-color);
     14   -webkit-user-select: none;
     15   user-select: none;
     16 }
     17 
     18 .chroma:has(table) td:last-of-type pre {
     19   border-left: none;
     20   padding-left: 0;
     21 }
     22 
     23 .chroma { overflow-x: auto; }
     24 
     25 .chroma td,
     26 .chroma th { padding: 0; }
     27 
     28 .chroma .cp,
     29 .chroma .c,
     30 .chroma .c1 { color: var(--secondary-fg-color); }
     31 
     32 div.chroma { margin: 1rem 0; }
     33 
     34 pre.chroma {
     35   padding: 1rem;
     36   margin: 1rem 0;
     37 }