|
| 1 | +/* Originally coming from: https://github.com/jpetazzo/container.training/blob/master/slides/workshop.css */ |
| 2 | + |
| 3 | +@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic); |
| 4 | +@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic); |
| 5 | + |
| 6 | +@import url('https://fonts.googleapis.com/css?family=Inconsolata:400,700'); |
| 7 | +@import url('https://fonts.googleapis.com/css?family=Open+Sans'); |
| 8 | + |
| 9 | +/* Fonts! Sizes! And a bit of color. */ |
| 10 | +.remark-slide-content { |
| 11 | + font-family: 'Droid Serif'; |
| 12 | + font-size: 25px !important; |
| 13 | +} |
| 14 | + |
| 15 | +.emoji { |
| 16 | + font-family: 'EmojiOne Color'; |
| 17 | +} |
| 18 | + |
| 19 | +h1, h2, h3, h4, h5, h6 { |
| 20 | + font-family: 'Droid Serif'; |
| 21 | + font-weight: bold; |
| 22 | + font-size: 45px !important; |
| 23 | + margin-top: 0.5em; |
| 24 | +} |
| 25 | + |
| 26 | +code { |
| 27 | + font-family: 'Inconsolata'; |
| 28 | + font-size: 110%; |
| 29 | + background-color: #ccc; |
| 30 | +} |
| 31 | +code.remark-code { |
| 32 | + font-size: 100%; |
| 33 | +} |
| 34 | +.exercise ul li code.remark-code.hljs.bash { |
| 35 | + padding: 0; |
| 36 | +} |
| 37 | + |
| 38 | +/* For print! Borrowed from https://github.com/gnab/remark/issues/50 */ |
| 39 | +@page { |
| 40 | + size: 1210px 681px; |
| 41 | + margin: 0; |
| 42 | + } |
| 43 | + |
| 44 | +@media print { |
| 45 | + .remark-slide-scaler { |
| 46 | + width: 100% !important; |
| 47 | + height: 100% !important; |
| 48 | + transform: scale(1) !important; |
| 49 | + top: 0 !important; |
| 50 | + left: 0 !important; |
| 51 | + } |
| 52 | +} |
| 53 | + |
| 54 | +/* Don't change things below this unless you know what you're doing! */ |
| 55 | + |
| 56 | +/* put slide numbers in top-right corner instead of bottom-right */ |
| 57 | +div.remark-slide-number { |
| 58 | + top: 6px; |
| 59 | + left: unset; |
| 60 | + bottom: unset; |
| 61 | + right: 6px; |
| 62 | +} |
| 63 | + |
| 64 | +.debug { |
| 65 | + font-family: monospace; |
| 66 | + position: absolute; |
| 67 | + left: 0px; |
| 68 | + right: 0px; |
| 69 | + bottom: 0px; |
| 70 | + color: white; |
| 71 | + background-color: black; |
| 72 | + opacity: 0; |
| 73 | +} |
| 74 | +.debug a { |
| 75 | + color: white; |
| 76 | +} |
| 77 | +.debug:hover { |
| 78 | + opacity: 1; |
| 79 | +} |
| 80 | + |
| 81 | +a { |
| 82 | + text-decoration: none; |
| 83 | + color: blue; |
| 84 | +} |
| 85 | + |
| 86 | +.remark-slide-content { padding: 1em 2.5em 1em 2.5em; } |
| 87 | + |
| 88 | +.footnote { |
| 89 | + position: absolute; |
| 90 | + bottom: 1em; |
| 91 | +} |
| 92 | +span.footnote { |
| 93 | + bottom: 2em; |
| 94 | +} |
| 95 | + |
| 96 | +.red { color: #fa0000; } |
| 97 | +.gray { color: #ccc; } |
| 98 | +.small { font-size: 70%; } |
| 99 | +.big { font-size: 140%; } |
| 100 | +.underline { text-decoration: underline; } |
| 101 | +.strike { text-decoration: line-through; } |
| 102 | + |
| 103 | +/* On pic slides, zoom images as big as possible */ |
| 104 | +div.pic { |
| 105 | + padding: 0; |
| 106 | + vertical-align: middle; |
| 107 | +} |
| 108 | +div.pic p { |
| 109 | + margin: 0; |
| 110 | +} |
| 111 | +div.pic img { |
| 112 | + display: block; |
| 113 | + margin: auto; |
| 114 | + max-width: 1210px; |
| 115 | + max-height: 550px; |
| 116 | +} |
| 117 | +div.pic h1, div.pic h2, div.title h1, div.title h2 { |
| 118 | + text-align: center; |
| 119 | +} |
| 120 | + |
| 121 | +/* Center images that are on title slides */ |
| 122 | +div.title img { |
| 123 | + display: block; |
| 124 | + margin: auto; |
| 125 | + max-width: 1210px; |
| 126 | + max-height: 420px; /* Arbitrary value to have so space for the title */ |
| 127 | +} |
| 128 | +div.title { |
| 129 | + vertical-align: middle; |
| 130 | +} |
| 131 | +div.title > p:first-child { |
| 132 | + text-align: center; |
| 133 | + font-size: 300%; |
| 134 | +} |
| 135 | + |
| 136 | +div.pic span.interstitial img { |
| 137 | + width: 100%; |
| 138 | + max-height: unset; |
| 139 | + max-width: unset; |
| 140 | +} |
| 141 | + |
| 142 | +/* "Normal" images (not on title or pic slides) shouldn't be too big */ |
| 143 | +div img { |
| 144 | + max-width: 1210px; |
| 145 | + max-height: 250px; |
| 146 | +} |
| 147 | + |
| 148 | +.nav { |
| 149 | + text-align: center; |
| 150 | + position: absolute; |
| 151 | + left: 0; |
| 152 | + right: 0; |
| 153 | + bottom: 25px; |
| 154 | + font-size: 150%; |
| 155 | +} |
| 156 | + |
| 157 | +.warning { |
| 158 | + background-image: url("images/warning.png"); |
| 159 | + background-size: 1.5em; |
| 160 | + padding-left: 2em; |
| 161 | + padding-top: 0.2em; |
| 162 | + padding-bottom: 0.2em; |
| 163 | + background-repeat: no-repeat; |
| 164 | + background-position: left; |
| 165 | +} |
| 166 | +.exercise { |
| 167 | + background-color: #eee; |
| 168 | + background-image: url("images/keyboard.png"); |
| 169 | + background-size: 1.4em; |
| 170 | + background-repeat: no-repeat; |
| 171 | + background-position: 0.2em 0.2em; |
| 172 | + border: 2px dotted black; |
| 173 | +} |
| 174 | +.exercise:before { |
| 175 | + content: "Hands-on exercise"; |
| 176 | + margin-left: 1.8em; |
| 177 | +} |
| 178 | + |
| 179 | +li p { line-height: 1.25em; } |
| 180 | + |
| 181 | +div.extra-details { |
| 182 | + background-image: url("images/extra-details.png"); |
| 183 | + background-position: 0.5% 1%; |
| 184 | + background-size: 4%; |
| 185 | +} |
| 186 | + |
| 187 | +/* This is used only for the history slide (the only table in this doc) */ |
| 188 | +td { |
| 189 | + padding: 0.1em 0.5em; |
| 190 | + background: #eee; |
| 191 | +} |
0 commit comments