PHP Classes

File: demo/misc/example1.css

Recommend this page to a friend!
  Classes of Koala Yeung   Widgetfy   demo/misc/example1.css   Download  
File: demo/misc/example1.css
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Widgetfy
Generate HTML to embed video content of given URL
Author: By
Last change: Update of demo/misc/example1.css
Date: 2 months ago
Size: 1,231 bytes
 

Contents

Class file image Download
/** * declarations */ body { font-family: sans-serif; } h1 { font-size: 1.4em; } #content, h1 { max-width: 640px; margin: 0 auto; } .videoblock { margin: 20px auto; box-shadow: 2px 2px 14px #AAA; border: solid 1px #CCC; border-radius: 4px; background-color: #EEE; } .videoblock h2 { font-size: 1.2em; padding: 10px 20px; margin: 0; } .videoblock .debug-info { display: none; } /** * main demo style */ .videoblock { max-width: 640px; } .videoblock-dynamic .wrap-scale-width iframe, .videoblock-dynamic .wrap-scale-width embed, .videoblock-dynamic .wrap-scale-width object, .videoblock-dynamic .wrap-scale-width video { position: relative; width: 100%; } .videoblock-dynamic .wrap-scale-width-height { position: relative; padding-top: 25px; height: 0; } .videoblock-dynamic .wrap-scale-width-height iframe, .videoblock-dynamic .wrap-scale-width-height embed, .videoblock-dynamic .wrap-scale-width-height object, .videoblock-dynamic .wrap-scale-width-height video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } /** * site specific fixes */ .fb-post, .fb-post iframe[style], .fb-post span, .fb-comments, .fb-comments iframe[style], .fb-comments span { width: 100% !important; }