From d2803970a54b4d18e6d691694adbeaeb630bdcda Mon Sep 17 00:00:00 2001
From: csatari <gergely.csatari@nokia.com>
Date: Sun, 7 May 2017 17:32:44 +0200
Subject: [PATCH] [upstream] Image paddings in the Gerrit slides

The images were overlapping with the title of the slides.
With this change I introduce a new style with a 10 px bottom
padding and add it to every image which is right under a title
of a slide.

Change-Id: Id91bae446819b4edce5faf084c4d954d4cd8e73a
Signed-off-by: csatari <gergely.csatari@nokia.com>
---
 doc/upstream-training/source/slides/_static/custom.css    | 4 ++++
 doc/upstream-training/source/slides/workflow-gerrit.rst   | 6 ++++++
 .../source/slides/workflow-project-status-and-zuul.rst    | 4 +++-
 .../source/slides/workflow-reg-and-accounts.rst           | 8 ++++++++
 4 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/doc/upstream-training/source/slides/_static/custom.css b/doc/upstream-training/source/slides/_static/custom.css
index 6632b7ac..dcdaccd9 100644
--- a/doc/upstream-training/source/slides/_static/custom.css
+++ b/doc/upstream-training/source/slides/_static/custom.css
@@ -67,3 +67,7 @@ a.logabug {
 .fa-bug:hover {
     color: #9A201D;
 }
+
+.image-pad-top {
+  padding-top: 10px
+}
diff --git a/doc/upstream-training/source/slides/workflow-gerrit.rst b/doc/upstream-training/source/slides/workflow-gerrit.rst
index 78d6e0a4..ea84adb3 100644
--- a/doc/upstream-training/source/slides/workflow-gerrit.rst
+++ b/doc/upstream-training/source/slides/workflow-gerrit.rst
@@ -11,12 +11,14 @@ review.openstack.org
 
 .. image:: ./_assets/14-01-review.png
   :width: 100%
+  :class: image-pad-top
 
 gerrit workflow
 ===============
 
 .. image:: ./_assets/14-02-gerrit-workflow.png
   :width: 100%
+  :class: image-pad-top
 
 upload an ssh key
 =================
@@ -25,21 +27,25 @@ upload an ssh key
 
 .. image:: ./_assets/14-03-upload-ssh-key.png
    :width: 85%
+   :class: image-pad-top
 
 invite reviewers
 ================
 
 .. image:: ./_assets/14-11-invite-reviewers.png
   :width: 100%
+  :class: image-pad-top
 
 gerrit patchset history
 =======================
 
 .. image:: ./_assets/14-15-patchset-history.png
   :width: 100%
+  :class: image-pad-top
 
 patchset diffs
 ==============
 
 .. image:: ./_assets/14-17-patchset-diffs.png
   :width: 100%
+  :class: image-pad-top
diff --git a/doc/upstream-training/source/slides/workflow-project-status-and-zuul.rst b/doc/upstream-training/source/slides/workflow-project-status-and-zuul.rst
index b394d561..cb212c0e 100644
--- a/doc/upstream-training/source/slides/workflow-project-status-and-zuul.rst
+++ b/doc/upstream-training/source/slides/workflow-project-status-and-zuul.rst
@@ -67,6 +67,8 @@ Jenkins Failures
 ================
 
 .. image:: ./_assets/workflow-project-status-and-zuul-jenkins-fail.png
+  :class: image-pad-top
+
 
 
 Analysing Jenkins Failures
@@ -88,6 +90,7 @@ Log Output
 ==========
 
 .. image:: ./_assets/workflow-project-status-and-zuul-failure-log.png
+  :class: image-pad-top
 
 Intermittent Failures
 =====================
@@ -102,4 +105,3 @@ Exercise
 - Find how rechecks are categorized
 - Discuss with your table how you would determine you encountered
   one of these bugs
-
diff --git a/doc/upstream-training/source/slides/workflow-reg-and-accounts.rst b/doc/upstream-training/source/slides/workflow-reg-and-accounts.rst
index 60c8f7fa..c06ddf65 100644
--- a/doc/upstream-training/source/slides/workflow-reg-and-accounts.rst
+++ b/doc/upstream-training/source/slides/workflow-reg-and-accounts.rst
@@ -23,42 +23,49 @@ https://www.openstack.org/join/
 
 .. image:: ./_assets/12-join-openstack-org.png
   :width: 100%
+  :class: image-pad-top
 
 http://launchpad.net/
 =====================
 
 .. image:: ./_assets/12-01-launchpad-net.png
   :width: 75%
+  :class: image-pad-top
 
 http://review.openstack.org
 ===========================
 
 .. image:: ./_assets/12-02-review.png
   :width: 100%
+  :class: image-pad-top
 
 Sign In
 =======
 
 .. image:: ./_assets/12-03-signin.png
   :width: 100%
+  :class: image-pad-top
 
 No agreement
 ============
 
 .. image:: ./_assets/12-04-no-agreement.png
   :width: 100%
+  :class: image-pad-top
 
 New agreement
 =============
 
 .. image:: ./_assets/12-05-new-agreement.png
   :width: 100%
+  :class: image-pad-top
 
 Sign the Individual agreement
 =============================
 
 .. image:: ./_assets/12-06-individual-agreement.png
   :width: 100%
+  :class: image-pad-top
 
 Do you work at a company?
 =========================
@@ -77,6 +84,7 @@ Signed agreement
 
 .. image:: ./_assets/12-07-signed-agreement.png
   :width: 100%
+  :class: image-pad-top
 
 Exercise
 ========