main.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. body {
  2. margin: 0;
  3. padding: 0;
  4. background: url('../images/bg.png') #0E2252;
  5. background-repeat: no-repeat;
  6. background-attachment: fixed;
  7. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/background.jpg', sizingMethod='scale');
  8. -ms-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/background.jpg', sizingMethod='scale');
  9. background-size: cover;
  10. -moz-background-size: cover;
  11. -webkit-background-size: cover;
  12. display: flex;
  13. flex-direction: row;
  14. align-items: center;
  15. justify-content: space-around;
  16. overflow: hidden;
  17. }
  18. .sider {
  19. display: flex;
  20. flex-direction: column;
  21. padding: 15px;
  22. width: 15%;
  23. height: 95%;
  24. background: rgba(4, 65, 136, 0.6);
  25. z-index: 998;
  26. border-radius: 15px;
  27. }
  28. .header {
  29. width: 100%;
  30. margin: 0 auto;
  31. }
  32. .header p.p1 {
  33. width: 60px;
  34. height: 60px;
  35. margin: 0 auto;
  36. margin-top: 110px;
  37. }
  38. .header p.p2 {
  39. height: 40px;
  40. margin: 0 auto;
  41. text-align: center;
  42. line-height: 40px;
  43. margin-top: 10px;
  44. font-size: 20px;
  45. color: #fec468;
  46. }
  47. .header p.p3 {
  48. height: 40px;
  49. margin: 0 auto;
  50. text-align: center;
  51. line-height: 40px;
  52. font-size: 28px;
  53. color: #bddde6;
  54. }
  55. .contain {
  56. flex: 1;
  57. overflow-y: scroll;
  58. }
  59. .contain::-webkit-scrollbar {
  60. width: 5px;
  61. background-color: #666;
  62. scrollbar-width: thin;
  63. scrollbar-color: #c1c1c1 #eee;
  64. }
  65. .contain::-webkit-scrollbar:hover {
  66. background-color: #666;
  67. }
  68. .contain::-webkit-scrollbar:active {
  69. background-color: #666;
  70. }
  71. .contain::-webkit-scrollbar-thumb {
  72. background-color: #0394C3;
  73. }
  74. .contain ul {
  75. list-style: none;
  76. padding: 0 15px 0 0;
  77. }
  78. .contain ul li {
  79. width: 100%;
  80. height: 40px;
  81. line-height: 40px;
  82. background-image: url('../images/kuang.png');
  83. background-position: center center;
  84. background-repeat: no-repeat;
  85. background-size: 100% 100%;
  86. margin-bottom: 10px;
  87. background-color: transparent;
  88. }
  89. .contain ul li:hover {
  90. background: url('../images/chooseKuang.png') center center no-repeat;
  91. background-size: 100% 100%;
  92. /*background-color: -webkit-linear-gradient(red, blue); /* Safari 5.1 - 6.0 */
  93. /*background-color: -o-linear-gradient(red, blue); /* Opera 11.1 - 12.0 */
  94. /*background-color: -moz-linear-gradient(red, blue); /* Firefox 3.6 - 15 */
  95. /*background-color: linear-gradient(red, blue); /* 标准的语法 */
  96. }
  97. .contain ul li a {
  98. color: #57daff;
  99. display: block;
  100. width: 100%;
  101. height: 100%;
  102. text-align: center;
  103. text-decoration: none;
  104. }
  105. .contain ul li a:hover {
  106. color: #FFF;
  107. }
  108. .contain ul li a:visited {
  109. color: #00EA37;
  110. }
  111. .main {
  112. width: 80%;
  113. height: 95%;
  114. overflow: hidden;
  115. position: relative;
  116. background: rgba(4, 65, 136, 0.6);
  117. border: solid 15px transparent;
  118. border-radius: 15px;
  119. text-align: center;
  120. }
  121. .main iframe {
  122. border-radius: 1px;
  123. }