markdown-note-render

Convert Markdown documents to PDF or static HTML
git clone https://git.0xfab.ch/markdown-note-render.git
Log | Files | Refs

style.css (1715B)


      1 body {
      2     font-family: 'TeXGyrePagella', serif;
      3     font-size: 116%;
      4     text-align: justify;
      5     max-width: 700px;
      6 }
      7 
      8 h1 {
      9     font-family: 'Lato', sans-serif;
     10     font-size: 220%;
     11     margin-top: 32px;
     12     margin-bottom: 24px;
     13     text-align: center;
     14 }
     15 
     16 h2, h3 {
     17     font-family: 'Lato', sans-serif;
     18     font-weight: bold;
     19     font-style: italic;
     20     font-size: 130%;
     21     margin-top: 24px;
     22     margin-bottom: 8px;
     23 }
     24 
     25 h3 {
     26     font-style: normal;
     27     font-size: 115%;
     28     margin-top: 8px;
     29     margin-bottom: 4px;
     30 }
     31 
     32 h4, h5, h6 {
     33     font-family: 'Lato', sans-serif;
     34     font-weight: normal;
     35     font-style: normal;
     36     font-size: 115%;
     37     margin-bottom: 4px;
     38 }
     39 
     40 h5 {
     41     font-style: italic;
     42     font-size: 110%;
     43 }
     44 
     45 h6 {
     46     font-style: italic;
     47     font-size: 105%;
     48 }
     49 
     50 blockquote {
     51     background-color: rgba(27,31,35,.1) !important;
     52     padding: 8px 16px;
     53     border-radius: 4px;
     54 }
     55 
     56 blockquote p {
     57     display: inline;
     58 }
     59 
     60 code {
     61     font-family: 'Inconsolata', monospace;
     62     color: inherit;
     63     background-color: rgba(27,31,35,.1);
     64     border-radius: 4px;
     65     padding: 2px 4px;
     66 }
     67 
     68 pre {
     69     background-color: rgba(27,31,35,.1) !important;
     70     padding: 8px;
     71     border-radius: 4px;
     72 }
     73 
     74 pre code {
     75     padding: 0;
     76 }
     77 
     78 table {
     79     width: 100%;
     80     margin-top: 1rem;
     81     margin-bottom: 1rem;
     82     margin-left: auto;
     83     margin-right: auto;
     84     display: table;
     85 }
     86 
     87 table tr th:empty {
     88     display: none;
     89 }
     90 
     91 img, svg {
     92     max-width: 100%;
     93     display: block;
     94     margin-left: auto;
     95     margin-right: auto;
     96     width: 100%;
     97     height: auto;
     98     margin-top: 1rem;
     99     margin-bottom: 1rem;
    100     border-radius: 4px;
    101 }
    102 
    103 .katex {
    104     font-size: 1.1em;
    105 }
    106 
    107 div.sourceCode {
    108     margin: 0;
    109 }
    110 
    111 .sourceCode {
    112     overflow: auto;
    113 }