style.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. body {
  2. font: 13px/1.4 'Helvetica Neue', 'Helvetica','Arial', sans-serif;
  3. color: #333;
  4. }
  5. .container {
  6. width: 520px;
  7. margin: auto;
  8. }
  9. h1 {
  10. border-bottom: 1px solid #d9d9d9;
  11. }
  12. .chart {
  13. float: left;
  14. margin: 10px;
  15. }
  16. .percentage,
  17. .label {
  18. text-align: center;
  19. color: #333;
  20. font-weight: 100;
  21. font-size: 1.2em;
  22. margin-bottom: 0.3em;
  23. }
  24. .credits {
  25. padding-top: 0.5em;
  26. clear: both;
  27. color: #999;
  28. }
  29. .credits a {
  30. color: #333;
  31. }
  32. .dark {
  33. background: #333;
  34. }
  35. .dark .percentage-light,
  36. .dark .label {
  37. text-align: center;
  38. color: #999;
  39. font-weight: 100;
  40. font-size: 1.2em;
  41. margin-bottom: 0.3em;
  42. }
  43. .button {
  44. -webkit-box-shadow: inset 0 0 1px #000, inset 0 1px 0 1px rgba(255,255,255,0.2), 0 1px 1px -1px rgba(0, 0, 0, .5);
  45. -moz-box-shadow: inset 0 0 1px #000, inset 0 1px 0 1px rgba(255,255,255,0.2), 0 1px 1px -1px rgba(0, 0, 0, .5);
  46. box-shadow: inset 0 0 1px #000, inset 0 1px 0 1px rgba(255,255,255,0.2), 0 1px 1px -1px rgba(0, 0, 0, .5);
  47. -webkit-border-radius: 3px;
  48. -moz-border-radius: 3px;
  49. border-radius: 3px;
  50. padding: 6px 20px;
  51. font-weight: bold;
  52. text-transform: uppercase;
  53. display: block;
  54. margin: auto;
  55. max-width: 200px;
  56. text-align: center;
  57. background-color: #5c5c5c;
  58. background-image: -moz-linear-gradient(top, #666666, #4d4d4d);
  59. background-image: -ms-linear-gradient(top, #666666, #4d4d4d);
  60. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#666666), to(#4d4d4d));
  61. background-image: -webkit-linear-gradient(top, #666666, #4d4d4d);
  62. background-image: -o-linear-gradient(top, #666666, #4d4d4d);
  63. background-image: linear-gradient(top, #666666, #4d4d4d);
  64. background-repeat: repeat-x;
  65. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#666666', endColorstr='#4d4d4d', GradientType=0);
  66. color: #ffffff;
  67. text-shadow: 0 1px 1px #333333;
  68. }
  69. .button:hover {
  70. color: #ffffff;
  71. text-decoration: none;
  72. background-color: #616161;
  73. background-image: -moz-linear-gradient(top, #6b6b6b, #525252);
  74. background-image: -ms-linear-gradient(top, #6b6b6b, #525252);
  75. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#6b6b6b), to(#525252));
  76. background-image: -webkit-linear-gradient(top, #6b6b6b, #525252);
  77. background-image: -o-linear-gradient(top, #6b6b6b, #525252);
  78. background-image: linear-gradient(top, #6b6b6b, #525252);
  79. background-repeat: repeat-x;
  80. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6b6b6b', endColorstr='#525252', GradientType=0);
  81. }
  82. .button:active {
  83. background-color: #575757;
  84. background-image: -moz-linear-gradient(top, #616161, #474747);
  85. background-image: -ms-linear-gradient(top, #616161, #474747);
  86. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#616161), to(#474747));
  87. background-image: -webkit-linear-gradient(top, #616161, #474747);
  88. background-image: -o-linear-gradient(top, #616161, #474747);
  89. background-image: linear-gradient(top, #616161, #474747);
  90. background-repeat: repeat-x;
  91. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#616161', endColorstr='#474747', GradientType=0);
  92. -webkit-transform: translate(0, 1px);
  93. -moz-transform: translate(0, 1px);
  94. -ms-transform: translate(0, 1px);
  95. -o-transform: translate(0, 1px);
  96. transform: translate(0, 1px);
  97. }
  98. .button:disabled {
  99. background-color: #dddddd;
  100. background-image: -moz-linear-gradient(top, #e7e7e7, #cdcdcd);
  101. background-image: -ms-linear-gradient(top, #e7e7e7, #cdcdcd);
  102. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e7e7e7), to(#cdcdcd));
  103. background-image: -webkit-linear-gradient(top, #e7e7e7, #cdcdcd);
  104. background-image: -o-linear-gradient(top, #e7e7e7, #cdcdcd);
  105. background-image: linear-gradient(top, #e7e7e7, #cdcdcd);
  106. background-repeat: repeat-x;
  107. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e7e7e7', endColorstr='#cdcdcd', GradientType=0);
  108. color: #939393;
  109. text-shadow: 0 1px 1px #fff;
  110. }