Styles for images

This commit is contained in:
Yann Esposito (Yogsototh) 2019-07-14 10:26:15 +02:00
parent 2525d63244
commit 47c76d20fb
Signed by untrusted user who does not match committer: yogsototh
GPG Key ID: 7B19A4C650D59646
4 changed files with 36 additions and 62 deletions

View File

@ -3,6 +3,5 @@
#+EMAIL: yann.esposito@gmail.com
#+begin_archive
@@html:<li>@@ @@html:<span class="archive-item"><span class="archive-date">@@ 2019-07-12: @@html:</span>@@ [[file:posts/draft-professional-lessons-and-opinions.org][Professional Lessons and Opinions]] @@html:</span>@@ @@html:</li>@@
@@html:<li>@@ @@html:<span class="archive-item"><span class="archive-date">@@ 2019-07-07: @@html:</span>@@ [[file:posts/2019-07-04-static-org-publish.org][Static blog with org-mode]] @@html:</span>@@ @@html:</li>@@
#+end_archive

View File

@ -14,7 +14,14 @@ body {
-moz-hyphens:auto;
-ms-hyphens:auto;
}
#preamble {
border-bottom: solid 1px rgba(255,255,255,0);
}
#postamble {
border-top: solid 1px rgba(255,255,255,0);
}
#preamble,#postamble {
padding: 10px 0;
opacity: 0.5;
}
#preamble:focus,#postamble:focus,
@ -37,7 +44,7 @@ p, section, header, footer {
h1, h2, h3, h4, h5, h6,
pre, code, blockquote,
p, ul, ol, section, header, footer, .figure {
p, ul, ol, section, header, .figure {
margin-top: 20px;
margin-bottom: 20px;
}
@ -133,6 +140,11 @@ img {
max-height: 800px;
margin: 20px auto;
}
p > img, li > img {
max-height: 1em;
margin: 0;
vertical-align: middle;
}
footer {
font-size: 0.8em;
}
@ -203,6 +215,10 @@ a:hover, a:active, a:focus { color: #b58900; }
thead { background-color: #073642;
color: #93a1a1; }
tr:hover { background-color: #073642; }
#postamble:hover, #preamble:hover {
background-color: #002b36;
border-color: #073642;
}
h1 { color: #6c71c4;}
h2 { color: #d33682;}
h3 { color: #dc322f;}

View File

@ -132,6 +132,25 @@ Bad too wide table...
- level 2 item
- level 2 item
**** Image test
an image:
#+CAPTION: Testing include an image
#+NAME: fig:test-image
#+ATTR_HTML: The Experiment
[[../assets/img/a.png]]
We could try inline image
[[../assets/img/a.png]]
just to check.
- [[../assets/img/a.png]] item with img
- [[../assets/img/a.png]] item with img
- [[../assets/img/a.png]] item with img
- [[../assets/img/a.png]] item with img
***** TODO todo
****** IN-PROGRESS in-progress
******* IN-REVIEW in-review

View File

@ -1,60 +0,0 @@
#+TITLE: Professional Lessons and Opinions
#+AUTHOR: Yann Esposito
#+EMAIL: yann.esposito@gmail.com
#+DATE: 2019-07-04
#+KEYWORDS: programming, blog, org-mode
#+DESCRIPTION: Different divagations about my experiences in the professional world of Software Developper
#+begin_comment
How to choose a programming language/paradigm to write with.
- programming is about making the program do what you want it to do.
- not much told, lot harder, and not as natural/intuitive; a program should not
do something you do not want it to do.
- programming paradigms, functional is superior because it better fit all
real-life scenarios.
- in Machine Learning, Kolmogorov complexity. Object Oriented is worse than
Functional programming to represent naturally many real life problems.
What did I learned? Is it a set of specific knowledges or can we discover great
common principles?
- restart from zero, tabula rasa, what is programming?
#+end_comment
I could talk to much about that.
But a few short written down lessons.
If you want to reach productivity and not necessarily enlightenment.
You have to stop learning and use what you know well.
And do not try to use things you don't know.
In particular, most programming languages/ide/workflow/utils/tools have basic
and advanced features.
If want want to produce and deliver in time. Your best bet is to limit yourselve to
a minimal set of features that give you enough power of combination instead of
looking for a super generic strong solution.
Clojure for example has:
- functions
- higher-level functions
- destructuring
- defmethods
- protocols
- macros
- atoms, agents, core.async
- Java FFI
In fact, writing a fully working app you only need, basic data structure (edn) and functions.
That's it.
I was part of a team that created an advanced full featured app using only those.
No magic, just taking care of the state and not writting spaggethi code.
* How I choose
- Functional programming is superior to imperative and object oriented
languages