main.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517
  1. /*-----------主体内容-----------*/
  2. .container {
  3. padding: 2em 1em 1.5em;
  4. }
  5. .Content h3 {
  6. font-size: 1.6rem;
  7. margin: 0 0 1em 0;
  8. padding-bottom: 0.3125rem;
  9. letter-spacing: 0.125rem;
  10. }
  11. .Content h4 {
  12. font-size: 1.5rem;
  13. margin: 0 0 1em 0;
  14. padding-bottom: 0.3125rem;
  15. letter-spacing: 0.125rem;
  16. }
  17. .Content h1,
  18. .Content h2,
  19. .Content h3,
  20. .Content h4,
  21. .Content h5,
  22. .Content h6 {
  23. word-break: break-all;
  24. }
  25. p {
  26. text-indent: 2em;
  27. font-size: 1.125rem;
  28. text-align: justify;
  29. line-height: 2.0625rem;
  30. padding-bottom: 0.3125rem;
  31. word-break: break-all;
  32. }
  33. .page_btn {
  34. width: 80%;
  35. margin: 0 auto;
  36. padding-top: 1em;
  37. padding-bottom: 3em;
  38. position: relative;
  39. z-index: 9999;
  40. }
  41. .btn-prev,
  42. .btn-next {
  43. width: 49%;
  44. text-align: center;
  45. height: 2.5rem;
  46. border-radius: 0.5rem;
  47. margin-bottom: 1.25rem;
  48. }
  49. /* 主体为表格的样式 */
  50. .table {
  51. /* background-color: transparent; */
  52. border: none;
  53. font-size: 1.125rem;
  54. margin: 1.25rem auto;
  55. box-sizing: border-box;
  56. vertical-align: middle;
  57. text-align: center;
  58. }
  59. .td,
  60. .th {
  61. margin: 0;
  62. padding: 0;
  63. vertical-align: middle;
  64. text-align: center;
  65. }
  66. .caption, .secCaption {
  67. font-size: 1.25rem;
  68. border-bottom: none;
  69. box-sizing: border-box;
  70. padding-bottom: 0.625rem;
  71. font-weight: bold;
  72. }
  73. .caption{
  74. text-align: center;
  75. }
  76. .secCaption {
  77. text-align: right;
  78. font-weight: normal;
  79. }
  80. .table td,
  81. .table th {
  82. text-align: center;
  83. border: 0.0625rem solid #444444;
  84. font-weight: normal;
  85. box-sizing: border-box;
  86. padding: 0.8rem 0.5rem;
  87. line-height: 1.875rem;
  88. }
  89. .table th {
  90. font-size: 1.25rem;
  91. }
  92. .table td {
  93. color: #646363;
  94. }
  95. .tbody .td,
  96. .tbody .th {
  97. /* background-color: transparent; */
  98. border-bottom: 0.0625rem solid #444444;
  99. border-top: 0.0625rem solid #444444;
  100. padding: 0.5625rem;
  101. box-sizing: border-box;
  102. }
  103. .tfoot .td,
  104. .tfoot .th {
  105. font-weight: bold;
  106. padding: 0.25rem 0.5rem 0.375rem 0.5625rem;
  107. text-align: center;
  108. }
  109. /* 斜线 */
  110. /* th单元格 */
  111. .slash-wrap {
  112. position: relative;
  113. box-sizing: border-box;
  114. }
  115. .slash {
  116. position: absolute;
  117. display: block;
  118. top: 0;
  119. left: 0;
  120. /* 斜边边长 */
  121. /* Math.sqrt(Math.pow(width, 2) + Math.pow(height, 2)) */
  122. /* Math.sqrt(Math.pow(150, 2) + Math.pow(80, 2)) = 170 */
  123. /* width:170px; */
  124. /* 动态设置 */
  125. height: 0.0625rem;
  126. background-color: #444444;
  127. /* 旋转角度计算公式 */
  128. /* Math.atan(height / width) * 180 / Math.PI */
  129. /* Math.atan(80 / 150) * 180 / Math.PI = 28.072486935852954 */
  130. /* transform: rotate(28.072486935852954deg); */
  131. /* 动态设置 */
  132. transform-origin: top left;
  133. }
  134. /* 左下角文字 */
  135. .left {
  136. position: absolute;
  137. /* 左下角 left:0; bottom: 0; */
  138. left: 0.5rem;
  139. bottom: 0.3rem;
  140. }
  141. /* 右上角文字 */
  142. .right {
  143. position: absolute;
  144. /* 右上角 right:0; top: 0; */
  145. right: 0.5rem;
  146. top: 0.3rem;
  147. }
  148. /* 规则制度table 特殊样式*/
  149. .rule.table td{
  150. border-left: 0;
  151. border-right: 0;
  152. }
  153. .rule .th {
  154. font-weight: bold;
  155. padding: 0.125rem 0.5rem;
  156. text-align: center;
  157. border-left: 0;
  158. border-right: 0;
  159. }
  160. .rule .th:nth-of-type(1) {
  161. max-width: 3.125rem;
  162. }
  163. .rule .th:nth-of-type(4) {
  164. max-width: 11.25rem;
  165. }
  166. .rule .tbody .td:nth-of-type(2) {
  167. text-align: left;
  168. }
  169. .rule .caption{
  170. border-bottom: 0.0625rem solid #444444;
  171. text-align: right;
  172. }
  173. /*-----------主体内容 end-----------*/
  174. /*-----------顶部nav-----------*/
  175. .nav-top {
  176. position: fixed;
  177. top: 0px;
  178. width: 100%;
  179. height: 2.8125rem;
  180. z-index: 100;
  181. }
  182. .nav_container {
  183. width: 9.375rem;
  184. margin-left: 0.5rem;
  185. height: 100%;
  186. display: flex;
  187. align-items: center;
  188. }
  189. .nav_return {
  190. width: 1.45rem;
  191. height: 1.45rem;
  192. margin-right: 0.375rem;
  193. }
  194. .dark-icon-navleft {
  195. background: url(../img/left_round.png);
  196. background-size: contain;
  197. }
  198. .light-icon-navleft {
  199. background: url(../img/left_round_n.png);
  200. background-size: contain;
  201. }
  202. /*-----------顶部nav end-----------*/
  203. /*-----------顶部--目录 start-----------*/
  204. .top_mulu_box {
  205. cursor: pointer;
  206. position: fixed;
  207. z-index: 10;
  208. right: 0;
  209. left: 0;
  210. width: 100%;
  211. height: 2em;
  212. padding: 0 0.625rem;
  213. border-bottom: 0;
  214. display: flex;
  215. align-items: center;
  216. justify-content: space-between;
  217. }
  218. .top_left,
  219. .top_right,
  220. .top_center {
  221. height: 100%;
  222. display: flex;
  223. align-items: center;
  224. }
  225. .top_left {
  226. justify-content: flex-start;
  227. width: 3.75rem;
  228. }
  229. .top_right {
  230. justify-content: flex-end;
  231. }
  232. .top_center {
  233. justify-content: center;
  234. width: calc(100% - 3.75rem);
  235. }
  236. .top_left_icon {
  237. line-height: 2em;
  238. margin-left: -0.5rem;
  239. font-size: 0.875rem;
  240. width: 1.25rem;
  241. height: 1.25rem;
  242. }
  243. .top_left_text {
  244. font-size: 1rem;
  245. }
  246. .top_center_text {
  247. font-size: 1rem;
  248. display: inline-block;
  249. white-space: nowrap;
  250. overflow: hidden;
  251. text-overflow: ellipsis;
  252. }
  253. /*-----------顶部--目录 end-----------*/
  254. /*-----------底部导航-----------*/
  255. .nav-bottom {
  256. position: fixed;
  257. bottom: 0;
  258. width: 100%;
  259. height: 4.375rem;
  260. text-align: center;
  261. margin: 0 auto;
  262. z-index: 9999;
  263. }
  264. .btn-mulu,
  265. .btn_Aa,
  266. .btn-extra {
  267. width: 32%;
  268. display: inline-block;
  269. }
  270. .mulu,
  271. .Aa,
  272. .extra {
  273. width: 2rem;
  274. margin: 0 auto;
  275. text-align: center;
  276. position: relative;
  277. }
  278. .bottom-icon {
  279. position: absolute;
  280. width: 1.25rem;
  281. height: 1.25rem;
  282. }
  283. .dark-icon-mulu {
  284. background: url(../img/mulu.png);
  285. background-size: contain;
  286. }
  287. .light-icon-mulu {
  288. background: url(../img/mulu_n.png);
  289. background-size: contain;
  290. }
  291. .dark-icon-Aa {
  292. background: url(../img/Aa.png);
  293. background-size: contain;
  294. }
  295. .light-icon-Aa {
  296. background: url(../img/Aa_n.png);
  297. background-size: contain;
  298. }
  299. .dark-icon-extra {
  300. background: url(../img/set.png);
  301. background-size: contain;
  302. }
  303. .dark-icon-extra.act {
  304. background: url(../img/set_n.png);
  305. background-size: contain;
  306. }
  307. .light-icon-extra {
  308. background: url(../img/set1.png);
  309. background-size: contain;
  310. }
  311. .light-icon-extra.act {
  312. background: url(../img/set1_n.png);
  313. background-size: contain;
  314. }
  315. .text_mulu,
  316. .text_Aa,
  317. .text_extra {
  318. position: absolute;
  319. top: 1.375rem;
  320. font-size: 0.75rem;
  321. }
  322. /*-----------底部导航 end-----------*/
  323. /*-----------其他功能栏-----------*/
  324. .extraPop {}
  325. /*-----------字体功能栏-----------*/
  326. .fontPop {}
  327. .fontPop,
  328. .extraPop {
  329. position: fixed;
  330. bottom: 4.375rem;
  331. width: 100%;
  332. height: 5.125rem;
  333. font-size: 0.9375rem;
  334. z-index: 10005;
  335. display: flex;
  336. flex-wrap: wrap;
  337. justify-content: center;
  338. align-items: center;
  339. }
  340. .fontItem {
  341. height: 3.125rem;
  342. width: 100%;
  343. display: flex;
  344. justify-content: space-between;
  345. align-items: center;
  346. }
  347. .fontItemTitle {
  348. width: 6.625rem;
  349. text-align: center;
  350. }
  351. .fontItemCons {
  352. width: calc(100% - 6.625rem);
  353. height: 100%;
  354. display: flex;
  355. justify-content: space-between;
  356. align-items: center;
  357. padding-right: 1.25rem;
  358. }
  359. .bk-item {
  360. width: 1.875rem;
  361. height: 100%;
  362. display: flex;
  363. flex-wrap: wrap;
  364. justify-content: center;
  365. align-items: center;
  366. font-size: 0.75rem;
  367. }
  368. .bk-container {
  369. background-size: contain;
  370. width: 1.5625rem;
  371. height: 1.5625rem;
  372. border: 0.0625rem #8C8C8C solid;
  373. border-radius: 0.9375rem;
  374. box-sizing: border-box;
  375. }
  376. .bk-container-current {
  377. border: 0.125rem #00A5F6 solid;
  378. }
  379. /*-----------字体功能栏 end-----------*/
  380. .index-img {
  381. width: 100%;
  382. height: 100%;
  383. }
  384. /*-----------图片样式 start----------*/
  385. .my-img {
  386. width: 100%;
  387. margin: 0 auto;
  388. display: block;
  389. }
  390. .fy-div {
  391. width: 100%;
  392. height: 70vh;
  393. margin: 0 auto;
  394. display: flex;
  395. justify-content: center;
  396. align-items: center;
  397. }
  398. .fy-img {
  399. width: 28.75rem;
  400. height: 9.8125rem;
  401. display: block;
  402. }
  403. /*-----------图片样式 end----------*/
  404. /*-----------底部导航的目录栏 start-----------*/
  405. .muluBox {
  406. position: fixed;
  407. width: 100%;
  408. height: 100%;
  409. z-index: 99999;
  410. }
  411. .muluMask {
  412. width: 100%;
  413. background: #000;
  414. opacity: 0.4;
  415. position: absolute;
  416. top: 0;
  417. bottom: 0;
  418. }
  419. .muluCons {
  420. width: 100%;
  421. height: 80%;
  422. position: absolute;
  423. bottom: 0;
  424. overflow-y: auto;
  425. }
  426. .muluTitle {
  427. height: 1.875rem;
  428. display: flex;
  429. justify-content: space-between;
  430. align-items: center;
  431. padding: 0 0.9375rem;
  432. }
  433. .list-li-a {
  434. text-align: left;
  435. }
  436. /*-----------目录栏 end-----------*/
  437. .notScroll {
  438. overflow: hidden;
  439. }