/css/demo.css

https://bitbucket.org/cnanney/apple-style-flip-counter/ · CSS · 25 lines · 15 code · 1 blank · 9 comment · 0 complexity · 22e064924d59aa59629f7c2e1444a639 MD5 · raw file

  1. /*
  2. Styling the demo page and all the controls.
  3. You don't need any of this to make the counter work.
  4. I know it's messy... it's a demo.
  5. */
  6. body{font-family:verdana}
  7. p{line-height:16px;margin:0 0 5px}
  8. #wrapper{float:right;position:relative;left:-50%;margin-top:30px}
  9. #flip-counter{position:relative;left:50%;clear:both}
  10. .clear{clear:both}
  11. #demo_controls{padding:0;width:700px;margin:20px auto;list-style-type:none}
  12. #demo_controls li{width:700px;text-align:center;margin:0 0 20px;font-weight:bold;font-size:13px}
  13. .demo_widget{width:700px;margin-top:10px}
  14. .demo_button{margin-top:10px}
  15. .auto_off_controls{display:none}
  16. a.expand:link, a.expand:visited, a.expand:active, a.expand.hover{text-decoration:none;font-size:10px;color:#aaa}
  17. a.back:link, a.back:visited, a.back:active, a.back.hover{text-decoration:underline;font-size:10px;color:#333;display:block;margin-top:4px}
  18. .explain{width:680px;margin:10px auto 0;padding:10px;font-weight:normal;font-size:12px;background:#eee;border:1px solid #666;text-align:center}
  19. .toggle{display:none}
  20. code{font-weight:bold;margin:0 0 5px;display:block}