|
| 1 | +/* |
| 2 | + * Cascading stylesheet for GNU Emacs notebooks |
| 3 | + * Nicolas P. Rougier - December 202 |
| 4 | + * Released under a Creative Commons CC-BY 4.0 license |
| 5 | + */ |
| 6 | + |
| 7 | +@charset "utf-8"; |
| 8 | +@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500'); |
| 9 | +@import url('https://fonts.googleapis.com/css?family=Roboto Slab:300,400,500'); |
| 10 | +@import url('https://fonts.googleapis.com/css?family=Roboto Condensed:300,400,500'); |
| 11 | + |
| 12 | +body { |
| 13 | + font-family: "Roboto", sans; |
| 14 | + font-size: 16px; |
| 15 | + font-weight: 300; |
| 16 | + line-height: 1.3em; |
| 17 | +} |
| 18 | + |
| 19 | +#content { |
| 20 | + margin: 0 auto; |
| 21 | + max-width: 720px; |
| 22 | + margin-top: 5em; |
| 23 | + margin-bottom: 5em; |
| 24 | +} |
| 25 | + |
| 26 | +b { |
| 27 | + font-weight: 400; |
| 28 | +} |
| 29 | + |
| 30 | +a { |
| 31 | + color: #673AB7; |
| 32 | + text-decoration: none; |
| 33 | +/* font-weight: 400;*/ |
| 34 | +} |
| 35 | + |
| 36 | +h1, h2, h3 { |
| 37 | + font-family: "Roboto Slab", serif; |
| 38 | + font-weight: 400; |
| 39 | +} |
| 40 | + |
| 41 | +h1.title { |
| 42 | + font-weight: 400; |
| 43 | + line-height: 0.75em; |
| 44 | + padding-top: 1.em; |
| 45 | + padding-bottom: 0.5em; |
| 46 | +} |
| 47 | +h1 span.subtitle { |
| 48 | + font-size: 16px; |
| 49 | + font-weight: 300; |
| 50 | +} |
| 51 | +h2 { |
| 52 | + clear: both; |
| 53 | + padding-top: 1em; |
| 54 | + padding-bottom: 0em; |
| 55 | +} |
| 56 | + |
| 57 | + |
| 58 | +p { |
| 59 | + text:align: justify; |
| 60 | +/* column-count: 2;*/ |
| 61 | + text-align: justify; |
| 62 | + text-justify: inter-word; |
| 63 | + hyphens: auto; |
| 64 | +} |
| 65 | + |
| 66 | +div.abstract { |
| 67 | + background: #f9f9ff; |
| 68 | + padding: .75em 1em .75em 1em; |
| 69 | + line-height: 1.25em; |
| 70 | + font-family: "Roboto Condensed", sans-serif; |
| 71 | + border: .5px solid #555599; |
| 72 | + padding-bottom: 0.25em; |
| 73 | +} |
| 74 | +div.abstract p { |
| 75 | + column-count: 1; |
| 76 | + margin: 0 0 0.5em 0; |
| 77 | +} |
| 78 | + |
| 79 | +div.figure { |
| 80 | + padding: 0.50em .00em 0.75em .00em; |
| 81 | +} |
| 82 | +div.figure p { |
| 83 | + column-count: 1; |
| 84 | + line-height: 1.2em; |
| 85 | + font-family: "Roboto Condensed", sans-serif; |
| 86 | +} |
| 87 | +div.sidefig::after { |
| 88 | + display: block; |
| 89 | + content: ""; |
| 90 | + clear: both; |
| 91 | +} |
| 92 | +div.sidefig div.figure p:nth-of-type(1) { |
| 93 | + width: 60%; |
| 94 | + float: left; |
| 95 | +} |
| 96 | +div.sidefig div.figure p:nth-of-type(2) { |
| 97 | + font-size: 95%; |
| 98 | + /* border-top: 1px solid black; */ |
| 99 | + background-color: #f9f9ff; |
| 100 | + padding: 1em; |
| 101 | +} |
| 102 | +div.sidefig div.figure img { |
| 103 | + width: 100%; |
| 104 | +} |
| 105 | + |
| 106 | +div.figure img { |
| 107 | + width: 100%; |
| 108 | +} |
| 109 | +span.figure-number { |
| 110 | + font-weight: 500; |
| 111 | +} |
| 112 | + |
| 113 | +/* --- Footnote ------------------------------------------------------------ */ |
| 114 | +div.footpara { |
| 115 | + display: inline-block; |
| 116 | +} |
| 117 | +h2.footnotes { |
| 118 | + font-size: 16px; |
| 119 | + width: 50%; |
| 120 | + border-bottom: 1px solid black; |
| 121 | +} |
| 122 | +p.footpara { |
| 123 | + column-count: 1; |
| 124 | + line-height: 1.25em; |
| 125 | + font-family: "Roboto Condensed", sans-serif; |
| 126 | + margin: 0; |
| 127 | +} |
| 128 | +sup { |
| 129 | + font-size: 0.75em; |
| 130 | + vertical-align: top; |
| 131 | + position: relative; top: -0.5em; |
| 132 | +} |
| 133 | + |
| 134 | +/* --- Block quote --------------------------------------------------------- */ |
| 135 | +blockquote p { |
| 136 | + font-size: 95%; |
| 137 | + line-height: 1.15em; |
| 138 | + column-count: 1; |
| 139 | + padding-top: 1em; |
| 140 | + padding-bottom: 1.5em; |
| 141 | +} |
| 142 | + |
| 143 | +/* --- Source blocks ------------------------------------------------------- */ |
| 144 | +code { |
| 145 | + font-family: "Roboto Mono", sans-serif; |
| 146 | + font-weight: 300; |
| 147 | +} |
| 148 | +pre.example::before { |
| 149 | + display: block; |
| 150 | + background-color: #fffff; |
| 151 | + content: "Output"; |
| 152 | + font-family: "Roboto Condensed", sans-serif; |
| 153 | + font-weight: 400; |
| 154 | + padding-bottom: 0.25em; |
| 155 | +} |
| 156 | + |
| 157 | +pre.example { |
| 158 | + font-size: 95%; |
| 159 | + background-color: #f9f9ff; |
| 160 | + line-height: 1.4em; |
| 161 | + font-family: "Roboto Mono", sans-serif; |
| 162 | + font-weight: 300; |
| 163 | + padding: 0.5em 1em 0.5em 1em; |
| 164 | +} |
| 165 | + |
| 166 | +pre.src { |
| 167 | + font-size: 95%; |
| 168 | + line-height: 1.4em; |
| 169 | + font-family: "Roboto Mono", sans-serif; |
| 170 | + font-weight: 300; |
| 171 | + padding: 0; |
| 172 | + margin: 0; |
| 173 | +} |
| 174 | +div.org-src-container { |
| 175 | + border: .5px solid #555599; |
| 176 | + padding: 0.50em 1.00em 0.75em 1.00em; |
| 177 | + background-color: #f9f9ff; |
| 178 | + margin-bottom: 0.5em; |
| 179 | +} |
| 180 | +label.org-src-name { |
| 181 | + display: block; |
| 182 | + font-family: "Roboto Condensed", sans-serif; |
| 183 | + padding-bottom: .25em; |
| 184 | +} |
| 185 | +span.listing-number { |
| 186 | + font-weight: 500; |
| 187 | +} |
0 commit comments