Changeset - 84cb9a2b8532
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 8 years ago 2015-12-18 19:57:00
bkuhn@ebb.org
Sizing class for images on the blog.
1 file changed with 9 insertions and 0 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/css/conservancy.css
Show inline comments
...
 
@@ -455,24 +455,33 @@ body.conservancy-blog video {
 
    margin-bottom: .7em;
 
}
 

	
 
/* In older firefox/iceweasel, the above did not work.  The below is a legacy
 
** hack, and requires you to remember to put class="small-right" and class="medium-right"
 
*/
 

	
 
video.small-right {
 
    float: right;
 
    height: auto !important;
 
    width: 25% !important;
 
    max-width:50%;
 
    margin-left: .7em;
 
    margin-bottom: .4em;
 
}
 

	
 
video.medium-right {
 
    float: right;
 
    height: auto !important;
 
    width: 50% !important;
 
    max-width: 75%;
 
    margin-left: .7em;
 
    margin-bottom: .7em;
 
}
 

	
 
img.blog-right {
 
    float: right;
 
    padding-left: 1em;
 
    margin: .25em;
 
    min-width: 8%;
 
    max-width: 30%;
 
    width: auto;
 
}
0 comments (0 inline, 0 general)