diff --git a/_includes/prj_scr.html b/_includes/prj_scr.html index a2e9cda..b4171d5 100644 --- a/_includes/prj_scr.html +++ b/_includes/prj_scr.html @@ -1,11 +1,13 @@ -
- {% if page.category == "ru" %} - - {% else %} - - {% endif %} - {{ scrname }} -
-
{{ scrdesc }}
-
-
+ +
+ {% if page.category == "ru" %} + + {% else %} + + {% endif %} + {{ scrname }} + +
+ {{ scrdesc }} +
+
diff --git a/_posts/2014-07-17-writting-own-completions-p1.html b/_posts/2014-07-17-writting-own-completions-p1.html index a003587..7bf72c6 100644 --- a/_posts/2014-07-17-writting-own-completions-p1.html +++ b/_posts/2014-07-17-writting-own-completions-p1.html @@ -6,7 +6,7 @@ layout: paper tags: linux, development title: Writting own Shell completions. Zsh short: writting-own-completions-p1 -description:
bash_completion
Some basics of creating a completion files for own application are described in these articles. +description:
bash_completion
Some basics of creating a completion files for own application are described in these articles. ---

Preamble

While developing one of my projects I have wanted to add completion files. I have already tried to create these files, but I was too lazy to read some manuals about it.

diff --git a/_posts/2014-07-17-writting-own-completions-p2.html b/_posts/2014-07-17-writting-own-completions-p2.html index decb1a1..8e4d68e 100644 --- a/_posts/2014-07-17-writting-own-completions-p2.html +++ b/_posts/2014-07-17-writting-own-completions-p2.html @@ -6,7 +6,7 @@ layout: paper tags: linux, development title: Writting own Shell completions. Bash short: writting-own-completions-p2 -description:
bash_completion
Some basics of creating a completion files for own application are described in these articles. +description:
bash_completion
Some basics of creating a completion files for own application are described in these articles. ---

Preamble

While developing one of my projects I have wanted to add completion files. I have already tried to create these files, but I was too lazy to read some manuals about it.

diff --git a/about.html b/about.html index e86acb6..cc929ae 100644 --- a/about.html +++ b/about.html @@ -37,7 +37,7 @@ GS/CS d-(+) s: a-- C++++ UL+++>$ P L++ E--- W++ N !o !K w- !O M- !V PS+@ PE Y PG ------END GEEK CODE BLOCK------ {% endhighlight %} -
+
Photo diff --git a/projects/git-etc.html b/projects/git-etc.html index d27295c..8f81443 100644 --- a/projects/git-etc.html +++ b/projects/git-etc.html @@ -165,7 +165,7 @@ systemctl restart git-etc

Screenshots

(Screenshots in Russian, but GUI has English translation.)

-

+

{% assign scrdesc = "Main window" %} {% assign scrname = "git-etc_mainwindow" %} {% include prj_scr.html %} @@ -181,5 +181,5 @@ systemctl restart git-etc {% assign scrdesc = "Roll back window" %} {% assign scrname = "git-etc_rollbackwindow" %} {% include prj_scr.html %} -

+
diff --git a/projects/netctl-gui.html b/projects/netctl-gui.html index ed0bf6c..9cac21b 100644 --- a/projects/netctl-gui.html +++ b/projects/netctl-gui.html @@ -125,7 +125,7 @@ sudo make install

Graphical interface provides by netctl-gui application.

Screenshots

-

+

{% assign scrdesc = "DataEngine" %} {% assign scrname = "netctl-gui_dataengine" %} {% include prj_scr.html %} @@ -159,5 +159,5 @@ sudo make install {% assign scrdesc = "Settings window" %} {% assign scrname = "netctl-gui_settings" %} {% include prj_scr.html %} -

+
diff --git a/projects/oblikuestrategies.html b/projects/oblikuestrategies.html index 98f6a1c..e131663 100644 --- a/projects/oblikuestrategies.html +++ b/projects/oblikuestrategies.html @@ -93,12 +93,12 @@ kbuildsycoca4 &> /dev/null

Graphical user interface

Screenshots

-

+

{% assign scrdesc = "Widget" %} {% assign scrname = "oblikuestrategies_widget" %} {% include prj_scr.html %} {% assign scrdesc = "Configuration window" %} {% assign scrname = "oblikuestrategies_config" %} {% include prj_scr.html %} -

+
diff --git a/projects/pytextmonitor.html b/projects/pytextmonitor.html index fc33898..237aea6 100644 --- a/projects/pytextmonitor.html +++ b/projects/pytextmonitor.html @@ -596,7 +596,7 @@ sudo make install

Graphical user interface

Screenshots

-

+

{% assign scrdesc = "Widget (clickable)" %} {% assign scrname = "pytextmonitor_widget" %} {% include prj_scr.html %} @@ -618,4 +618,4 @@ sudo make install {% assign scrdesc = "Tooltips" %} {% assign scrname = "pytextmonitor_tooltips" %} {% include prj_scr.html %} -

+
diff --git a/resources/css/styles.css b/resources/css/styles.css index df4dec7..30699a8 100644 --- a/resources/css/styles.css +++ b/resources/css/styles.css @@ -1,16 +1,39 @@ /* in-text images */ -.sign { +figure.img { float: right; border: 0px solid #333; padding: 0px; margin: 5px 0px 5px 10px; } -.sign figcaption { +figure.img img { + max-width: 100%; + height: auto; +} +figure.img figcaption { margin: 0px; + font-size: 90%; font-style: italic; text-align: center; } +/* screenshots */ +.thumbnails { + margin: -3em 0 0 -2em; + font-size: 90%; + font-style:italic; + text-align: center; +} +.thumbnail { + display: -moz-inline-box; + display: inline-block; + vertical-align: top; + margin: 3em 0 0 2em; +} +.thumbnail .r { + width: 14em; + float: left; +} + /* spoiler */ .spoiler > input + .box > blockquote { display: none;