From 665139660a2cec16a71efeb10dc5fabcaade3750 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 18 May 2014 20:30:27 +0200 Subject: [PATCH] Make embedded videos look better. (better margin data) --- view/global.css | 10 ++++++++++ view/templates/oembed_video.tpl | 2 +- view/theme/vier/style.css | 5 +++-- view/theme/vier/templates/nav.tpl | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/view/global.css b/view/global.css index 769cfe818f..c643281354 100644 --- a/view/global.css +++ b/view/global.css @@ -57,12 +57,22 @@ span.connector { .type-link img, .type-video img { } +.type-video .embed_video { + margin: 0em; +} + .type-link span.oembed + br, .type-video span.oembed + br, .type-link a + br, .type-video a + br, .type-link img + br, .type-video img + br{ display: none; } +.embed_video { + float:left; + margin: 1em; + position: relative; +} + /* Shared Messages */ .shared_header { height: 32px; diff --git a/view/templates/oembed_video.tpl b/view/templates/oembed_video.tpl index bdfa11509f..214f67f721 100644 --- a/view/templates/oembed_video.tpl +++ b/view/templates/oembed_video.tpl @@ -3,7 +3,7 @@ * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN * *}} - +
diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index c66b01bfb7..4a6a3fb9de 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -1737,7 +1737,7 @@ h2 { width: 780px; } #profile-jot-wrapper { - margin-bottom: 20px; + margin-bottom: 10px; } /** buttons **/ @@ -1899,7 +1899,7 @@ ul.tabs a { padding-right: 10px; padding-top: 5px; padding-bottom: 5px; - margin-bottom: 10px; + margin-bottom: 0px; } div.pager, .birthday-notice, .comment-edit-submit-wrapper .fakelink { @@ -2147,6 +2147,7 @@ blockquote { /* font-size: large; */ font-size: larger; font-weight: bold; + display: block; } /* ================== */ diff --git a/view/theme/vier/templates/nav.tpl b/view/theme/vier/templates/nav.tpl index 8932e7306c..b573149679 100644 --- a/view/theme/vier/templates/nav.tpl +++ b/view/theme/vier/templates/nav.tpl @@ -113,7 +113,7 @@
  • {2} {3}
  • {{* -- 2.39.5