style.css 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. body {
  2. font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
  3. padding: 0;
  4. margin: 0;
  5. }
  6. #main {
  7. background: #f5ffff;
  8. border-collapse: collapse;
  9. text-align: left;
  10. }
  11. #main th {
  12. border-top: 1px solid #777777;
  13. border-bottom: 1px solid #777777;
  14. box-shadow: inset 0 1px 0 #999999, inset 0 -1px 0 #999999;
  15. background: linear-gradient(#9595b6, #5a567f);
  16. color: white;
  17. padding: 10px 15px;
  18. position: relative;
  19. cursor: pointer;
  20. }
  21. #main th:after {
  22. content: "";
  23. display: block;
  24. position: absolute;
  25. left: 0;
  26. top: 25%;
  27. height: 25%;
  28. width: 100%;
  29. background: linear-gradient(rgba(255, 255, 255, 0), rgba(255,255,255,.08));
  30. }
  31. #main tr:nth-child(odd) {
  32. background: #ebf3f9;
  33. }
  34. #main th:first-child {
  35. border-left: 1px solid #777777;
  36. border-bottom: 1px solid #777777;
  37. box-shadow: inset 1px 1px 0 #999999, inset 0 -1px 0 #999999;
  38. }
  39. #main th:last-child {
  40. border-right: 1px solid #777777;
  41. border-bottom: 1px solid #777777;
  42. box-shadow: inset -1px 1px 0 #999999, inset 0 -1px 0 #999999;
  43. }
  44. #main td {
  45. border: 1px solid #e3eef7;
  46. padding: 10px 15px;
  47. position: relative;
  48. transition: all 0.5s ease;
  49. cursor: pointer;
  50. }
  51. #main tbody:hover td {
  52. color: transparent;
  53. text-shadow: 0 0 3px #a09f9d;
  54. }
  55. #main tbody:hover tr:hover td {
  56. color: #444444;
  57. text-shadow: none;
  58. }
  59. .information {
  60. position: absolute;
  61. top: 30px;
  62. right: 100px;
  63. display: none;
  64. width: 440px;
  65. height: auto;
  66. padding: 10px;
  67. border: 1px solid black;
  68. border-radius: 3px;
  69. background-color: rgba(23, 183, 237, .5);
  70. font-size: 15px;
  71. }