You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
1.3 KiB

11 years ago
  1. /*******************************
  2. Shapes Example
  3. *******************************/
  4. #example .demo.shape {
  5. }
  6. #example .demo.shape .side {
  7. width: 250px;
  8. height: 250px;
  9. -webkit-box-sizing: border-box;
  10. -moz-box-sizing: border-box;
  11. -ms-box-sizing: border-box;
  12. box-sizing: border-box;
  13. background-color: #E6E6E6;
  14. color: #FFFFFF;
  15. -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
  16. -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
  17. box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
  18. }
  19. #example .demo.shape .side img {
  20. display: block;
  21. margin: 0px auto;
  22. max-width: 100%;
  23. max-height: 100%;
  24. }
  25. #example .demo.shape .heroku.side {
  26. background-color: #695EE7;
  27. }
  28. #example .demo.shape .jira.side {
  29. background-color: #98B5E9;
  30. }
  31. #example .demo.shape .quirky.side {
  32. background-color: #67336F;
  33. }
  34. #example .demo.shape .side b {
  35. display: block;
  36. position: absolute;
  37. top: 50%;
  38. width: 100%;
  39. font-size: 80px;
  40. margin-top: -48px;
  41. text-align: center;
  42. }
  43. #example .demo.rectangle.shape .side {
  44. width: 450px;
  45. height: 150px;
  46. }
  47. #example .irregular.shape .heroku.side {
  48. background-color: #695EE7;
  49. width: 100px;
  50. height: 300px;
  51. }
  52. #example .irregular.shape .jira.side {
  53. background-color: #98B5E9;
  54. width: 100px;
  55. height: 100px;
  56. }
  57. #example .irregular.shape .quirky.side {
  58. background-color: #67336F;
  59. width: 500px;
  60. height: 100px;
  61. }