[guadec-web] sponsors: Remove unwated style properties from <p> element added by WP
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web] sponsors: Remove unwated style properties from <p> element added by WP
- Date: Fri, 14 Jun 2013 15:38:31 +0000 (UTC)
commit f6915744399c08b8004ae33d4d28bcd676680df2
Author: Rui Matos <tiagomatos gmail com>
Date: Fri Jun 14 17:36:39 2013 +0200
sponsors: Remove unwated style properties from <p> element added by WP
WP automatically adds a <p> element around the <img>s so we have to
remove the generic p styling in this case as it causes things to not
be vertically centered.
wordcamp-base/style.css | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/wordcamp-base/style.css b/wordcamp-base/style.css
index 040ab59..2802f00 100644
--- a/wordcamp-base/style.css
+++ b/wordcamp-base/style.css
@@ -1628,6 +1628,11 @@ h1, h2, h3, h4, h5, h6, #site-title, #site-description, #access .menu, #access d
padding: 20px 20px;
}
+.sponsors-row p {
+ margin-bottom: 0px !important;
+ line-height: 0px !important;
+}
+
.image {
position: relative;
margin-bottom: 20px;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]