diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2018-09-23 23:18:58 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2018-09-23 23:18:58 +0200 |
| commit | 1b230c12799a47a8fa610b3f7c4c7f77a3bc08b6 (patch) | |
| tree | f6336afdeeb3a77c2e4574946773fb144c20c2f6 | |
| parent | 0585aac76e5ffe0a1891b9c6235a9d16e8d219a7 (diff) | |
| download | mitjafelicijan.com-1b230c12799a47a8fa610b3f7c4c7f77a3bc08b6.tar.gz | |
content update
| -rw-r--r-- | slides/presentations/example/default.pug | 13 | ||||
| -rw-r--r-- | slides/presentations/example/drawing1.svg | 76 | ||||
| -rw-r--r-- | slides/vendor/slides.css | 24 |
3 files changed, 75 insertions, 38 deletions
diff --git a/slides/presentations/example/default.pug b/slides/presentations/example/default.pug index f9c6452..c84446d 100644 --- a/slides/presentations/example/default.pug +++ b/slides/presentations/example/default.pug | |||
| @@ -21,6 +21,19 @@ section | |||
| 21 | li Brute force solutions we make are usually not optimized | 21 | li Brute force solutions we make are usually not optimized |
| 22 | 22 | ||
| 23 | 23 | ||
| 24 | section | ||
| 25 | h3 Grid example | ||
| 26 | div.grid.col-1-1 | ||
| 27 | div Lipsum | ||
| 28 | div Lipsum | ||
| 29 | |||
| 30 | div.grid.col-2-1 | ||
| 31 | div Lipsum | ||
| 32 | div Lipsum | ||
| 33 | |||
| 34 | div.grid.col-1-2 | ||
| 35 | div Lipsum | ||
| 36 | div Lipsum | ||
| 24 | 37 | ||
| 25 | section | 38 | section |
| 26 | h2 Basic linear algebra | 39 | h2 Basic linear algebra |
diff --git a/slides/presentations/example/drawing1.svg b/slides/presentations/example/drawing1.svg index 8b119c3..19212c3 100644 --- a/slides/presentations/example/drawing1.svg +++ b/slides/presentations/example/drawing1.svg | |||
| @@ -134,7 +134,7 @@ | |||
| 134 | inkscape:collect="always"> | 134 | inkscape:collect="always"> |
| 135 | <path | 135 | <path |
| 136 | id="path865" | 136 | id="path865" |
| 137 | style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1" | 137 | style="fill:#464646;fill-opacity:1;fill-rule:evenodd;stroke:#464646;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1" |
| 138 | d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z" | 138 | d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z" |
| 139 | transform="scale(-0.6)" | 139 | transform="scale(-0.6)" |
| 140 | inkscape:connector-curvature="0" /> | 140 | inkscape:connector-curvature="0" /> |
| @@ -192,11 +192,11 @@ | |||
| 192 | borderopacity="1.0" | 192 | borderopacity="1.0" |
| 193 | inkscape:pageopacity="0.0" | 193 | inkscape:pageopacity="0.0" |
| 194 | inkscape:pageshadow="2" | 194 | inkscape:pageshadow="2" |
| 195 | inkscape:zoom="0.35" | 195 | inkscape:zoom="1.979899" |
| 196 | inkscape:cx="1458.2046" | 196 | inkscape:cx="327.73013" |
| 197 | inkscape:cy="49.527687" | 197 | inkscape:cy="146.30044" |
| 198 | inkscape:document-units="px" | 198 | inkscape:document-units="px" |
| 199 | inkscape:current-layer="layer1" | 199 | inkscape:current-layer="g5731" |
| 200 | showgrid="false" | 200 | showgrid="false" |
| 201 | units="px" | 201 | units="px" |
| 202 | inkscape:window-width="2188" | 202 | inkscape:window-width="2188" |
| @@ -221,44 +221,44 @@ | |||
| 221 | inkscape:groupmode="layer" | 221 | inkscape:groupmode="layer" |
| 222 | id="layer1" | 222 | id="layer1" |
| 223 | transform="translate(0,-217.625)"> | 223 | transform="translate(0,-217.625)"> |
| 224 | <g | ||
| 225 | id="g821" | ||
| 226 | transform="matrix(0.49999998,0,0,0.49999998,-4.3467258,163.76079)"> | ||
| 227 | <path | ||
| 228 | inkscape:connector-curvature="0" | ||
| 229 | id="path815" | ||
| 230 | d="M 20.78869,256.93453 H 254.37797" | ||
| 231 | style="fill:none;stroke:#c4c4c4;stroke-width:1.32291663;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> | ||
| 232 | <path | ||
| 233 | style="fill:none;stroke:#c4c4c4;stroke-width:1.32291663;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" | ||
| 234 | d="M 30.710565,264.77753 V 110.56325" | ||
| 235 | id="path817" | ||
| 236 | inkscape:connector-curvature="0" /> | ||
| 237 | </g> | ||
| 238 | <path | 224 | <path |
| 239 | style="fill:none;stroke:#464646;stroke-width:0.66145831;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow2Mend)" | 225 | style="fill:none;stroke:#c4c4c4;stroke-width:0.79374999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" |
| 240 | d="m 54.900685,267.10673 40.56029,-23.95034" | 226 | d="M 1.2851185,292.22805 H 129.30504" |
| 227 | id="path815" | ||
| 228 | inkscape:connector-curvature="0" /> | ||
| 229 | <path | ||
| 230 | inkscape:connector-curvature="0" | ||
| 231 | id="path817" | ||
| 232 | d="M 5.7168896,296.14955 V 219.04241" | ||
| 233 | style="fill:none;stroke:#c4c4c4;stroke-width:0.79374999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> | ||
| 234 | <path | ||
| 235 | style="fill:none;stroke:#464646;stroke-width:0.79375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow2Mend)" | ||
| 236 | d="M 40.314366,280.70642 95.214838,247.11607" | ||
| 241 | id="path817-3" | 237 | id="path817-3" |
| 242 | inkscape:connector-curvature="0" /> | 238 | inkscape:connector-curvature="0" /> |
| 243 | <g | 239 | <g |
| 244 | id="g5181" | 240 | id="g5181" |
| 245 | transform="matrix(0.49999998,0,0,0.49999998,-32.127975,143.25559)"> | 241 | transform="matrix(1.186197,0,0,1.186197,-183.6456,-2.4153968)"> |
| 246 | <text | 242 | <g |
| 247 | id="text1674" | 243 | id="g5731" |
| 248 | y="218.75893" | 244 | transform="translate(-2.3658212,2.929112)"> |
| 249 | x="210.91072" | 245 | <text |
| 250 | style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332" | 246 | xml:space="preserve" |
| 251 | xml:space="preserve"><tspan | 247 | style="font-style:normal;font-weight:normal;font-size:5.09894657px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.12747367" |
| 252 | style="stroke-width:0.26458332" | 248 | x="210.89255" |
| 253 | y="218.75893" | 249 | y="218.83659" |
| 254 | x="210.91072" | 250 | id="text1674"><tspan |
| 255 | id="tspan1672" | 251 | sodipodi:role="line" |
| 256 | sodipodi:role="line">a</tspan></text> | 252 | id="tspan1672" |
| 257 | <path | 253 | x="210.89255" |
| 258 | inkscape:connector-curvature="0" | 254 | y="218.83659" |
| 259 | id="path3398" | 255 | style="stroke-width:0.12747367;font-weight:bold">a</tspan></text> |
| 260 | d="m 210.87566,211.20648 h 5.76209" | 256 | <path |
| 261 | style="fill:none;stroke:#000000;stroke-width:0.5291667;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Send)" /> | 257 | style="fill:none;stroke:#000000;stroke-width:0.32239249;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Send)" |
| 258 | d="m 210.87566,215.19789 h 2.77612" | ||
| 259 | id="path3398" | ||
| 260 | inkscape:connector-curvature="0" /> | ||
| 261 | </g> | ||
| 262 | </g> | 262 | </g> |
| 263 | </g> | 263 | </g> |
| 264 | </svg> | 264 | </svg> |
diff --git a/slides/vendor/slides.css b/slides/vendor/slides.css index 6330956..b8ed0b3 100644 --- a/slides/vendor/slides.css +++ b/slides/vendor/slides.css | |||
| @@ -132,6 +132,30 @@ q { | |||
| 132 | padding: 100px 0 30px 0; | 132 | padding: 100px 0 30px 0; |
| 133 | } | 133 | } |
| 134 | 134 | ||
| 135 | /*grid*/ | ||
| 136 | .grid { | ||
| 137 | display: grid; | ||
| 138 | grid-column-gap: 20px; | ||
| 139 | grid-row-gap: 20px; | ||
| 140 | text-align: left; | ||
| 141 | } | ||
| 142 | |||
| 143 | .grid>* { | ||
| 144 | border: 0px dotted black; | ||
| 145 | } | ||
| 146 | |||
| 147 | .col-1-1 { | ||
| 148 | grid-template-columns: 1fr 1fr; | ||
| 149 | } | ||
| 150 | |||
| 151 | .col-1-2 { | ||
| 152 | grid-template-columns: 1fr 2fr; | ||
| 153 | } | ||
| 154 | |||
| 155 | .col-2-1 { | ||
| 156 | grid-template-columns: 2fr 1fr; | ||
| 157 | } | ||
| 158 | |||
| 135 | /* aligments */ | 159 | /* aligments */ |
| 136 | .left { | 160 | .left { |
| 137 | text-align: left; | 161 | text-align: left; |
