[gimp-help-2] [css] Reduce mediaobject/caption distance
- From: Ulf-D. Ehlert <ulfehlert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-help-2] [css] Reduce mediaobject/caption distance
- Date: Sat, 2 Oct 2010 17:08:57 +0000 (UTC)
commit aac03334e81a92d114920c6f4ca93b9f5f8b3a1f
Author: Ulf-D. Ehlert <ulfehlert svn gnome org>
Date: Mon Sep 27 18:29:41 2010 +0200
[css] Reduce mediaobject/caption distance
stylesheets/gimp-help-screen.css | 10 ++++++++--
stylesheets/gimp22.css | 9 ++++++++-
2 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/stylesheets/gimp-help-screen.css b/stylesheets/gimp-help-screen.css
index 6030f26..6cae233 100644
--- a/stylesheets/gimp-help-screen.css
+++ b/stylesheets/gimp-help-screen.css
@@ -255,11 +255,17 @@ div.informalfigure p.title b,div.informalexample p.title b,div.informaltable p.t
div.informalequation {
padding-left: 4em;
}
-/* TODO/CHECK: padding twice, is this correct/intended? */
.mediaobject .caption,.mediaobject .caption p {
text-align: center;
+}
+.mediaobject .caption {
padding-top: 0.5em;
- padding-bottom: 0.5em;
+}
+.mediaobject .caption p {
+ padding-top: 0;
+}
+.figure .mediaobject .caption {
+ padding-top: 0.75em;
}
.simplesect .mediaobject {
padding-top: 0.5em;
diff --git a/stylesheets/gimp22.css b/stylesheets/gimp22.css
index b92cbf0..833a952 100644
--- a/stylesheets/gimp22.css
+++ b/stylesheets/gimp22.css
@@ -244,8 +244,15 @@
}
.mediaobject .caption,.mediaobject .caption p {
text-align: center;
+ }
+ .mediaobject .caption {
padding-top: 0.5em;
- padding-bottom: 0.5em;
+ }
+ .mediaobject .caption p {
+ padding-top: 0;
+ }
+ .figure .mediaobject .caption p {
+ padding-top: 0.75em;
}
.simplesect .mediaobject {
padding-top: 0.5em;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]