information.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>诊断指南</title>
  6. <style>
  7. *{
  8. margin: 0;
  9. padding: 0;
  10. }
  11. ul,li{
  12. list-style: none;
  13. }
  14. table{
  15. border-collapse: collapse;
  16. border-spacing: 0;
  17. }
  18. body{
  19. font-size: 14px;
  20. overflow-y: scroll;
  21. font-family: '微软雅黑', '宋体';
  22. background: #dde2ea;
  23. height: 100%;
  24. color: #505050;
  25. line-height: 28px;
  26. }
  27. h1{
  28. margin: 0 77px 0px 210px;
  29. font-size: 32px;
  30. }
  31. h2{
  32. font-size: 22px;
  33. position: absolute;
  34. top: -12px;
  35. background: #fff;
  36. padding-right: 6px;
  37. }
  38. .content{
  39. position: relative;
  40. height: 550px;
  41. }
  42. .infos{
  43. height: 100%;
  44. overflow: auto;
  45. padding: 0 60px 0 0;
  46. }
  47. .infos>div{
  48. margin-left: 210px;
  49. }
  50. .title{
  51. position: relative;
  52. height:24px;
  53. margin: 30px 0 13px;
  54. }
  55. .line{
  56. border-bottom: 1px dashed #ccc;
  57. }
  58. .container{
  59. width: 76%;
  60. overflow: hidden;
  61. background: #fff;
  62. margin: 0 auto;
  63. padding: 30px 0 30px 24px;
  64. }
  65. .anchors{
  66. width: 160px;
  67. position: absolute;
  68. left: 15px;
  69. top: 0;
  70. margin-right: 14px;
  71. overflow: auto;
  72. }
  73. .anchors ul{
  74. padding: 15px 18px;
  75. border-radius: 4px;
  76. border: 1px solid #eee;
  77. background-color: #eee;
  78. line-height: 17px;
  79. }
  80. .anchors li{
  81. position: relative;
  82. border-left: 2px solid #ccc;
  83. }
  84. .anchors .anchor-line{
  85. height: 15px;
  86. width: 0;
  87. border-left: 2px solid #ccc;
  88. /* background-color: #ccc; */
  89. }
  90. .anchors .anchor-line:last-child{
  91. display: none;
  92. }
  93. .anchors i{
  94. position: absolute;
  95. display: inline-block;
  96. width: 8px;
  97. height: 8px;
  98. border-radius: 5px;
  99. border: 1px solid #ccc;
  100. background-color: #eee;
  101. left: -5px;
  102. top: 5px;
  103. }
  104. .anchors a{
  105. display: inline-block;
  106. position: relative;
  107. top: 0;
  108. left: 0;
  109. width: calc(100% - 20px);
  110. padding-left: 10px;
  111. text-decoration: none;
  112. font-size: 13px;
  113. font-weight: 400;
  114. color: #000;
  115. word-wrap: break-word;
  116. }
  117. .anchors .active a{
  118. color: #267FD7!important;
  119. font-weight: 700!important;
  120. }
  121. .anchors .active i{
  122. background: #267FD7;
  123. }
  124. a:visited{
  125. color:#000
  126. }
  127. </style>
  128. </head>
  129. <body>
  130. <div class="container">
  131. <h1></h1>
  132. <div class="content">
  133. <div class="infos"></div>
  134. <div class="anchors">
  135. <ul></ul>
  136. </div>
  137. </div>
  138. </div>
  139. <!-- <script src="./js/jquery-1.9.1.min.js"></script>
  140. <script src="./js/information.js"></script> -->
  141. </body>
  142. </html>