From: W. Trevor King Date: Wed, 22 May 2013 00:14:30 +0000 (-0400) Subject: beige.css: Treat objects (SVG) and videos like images X-Git-Tag: thesis-v1.0~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=85e62409c13554482e76ecf4838d96784ec3012f;p=reveal.js.git beige.css: Treat objects (SVG) and videos like images With the same borders, etc. Principle of least surprise ;). --- diff --git a/css/theme/beige.css b/css/theme/beige.css index 21dddad..05ca34a 100644 --- a/css/theme/beige.css +++ b/css/theme/beige.css @@ -80,7 +80,7 @@ body { /********************************************* * IMAGES *********************************************/ -.reveal section img { +.reveal section img, .reveal section object, .reveal section video { margin: 15px 0px; background: rgba(255, 255, 255, 0.12); border: 4px solid #FFFFFF; @@ -91,7 +91,7 @@ body { -o-transition: all .2s linear; transition: all .2s linear; } -.reveal a:hover img { +.reveal a:hover img, .reveal a:hover object, .reveal a:hover video { background: rgba(255, 255, 255, 0.2); border-color: #8b743d; box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }