You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

master.css 3.0 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. @import url('https://fonts.googleapis.com/css?family=Titillium+Web|Noto+Sans');
  2. html,
  3. body {
  4. font-family: 'Titillium Web', 'Segoe UI', Tahoma, Helvetica, sans-serif;
  5. font-display: optional;
  6. height: 100%;
  7. font-size: 15px;
  8. scroll-behavior: smooth;
  9. }
  10. p,
  11. li,
  12. .toc {
  13. text-rendering: optimizeLegibility;
  14. line-height: 160%;
  15. }
  16. img {
  17. box-shadow: 0px 0px 3px 0px rgb(66, 66, 66);
  18. max-width: 95% !important;
  19. margin-top: 15px;
  20. margin-bottom: 15px;
  21. }
  22. article.content p{
  23. -webkit-transition: all .75s ease-in-out;
  24. transition: all .75s ease-in-out;
  25. }
  26. article.content h1,
  27. article.content h2,
  28. article.content h3,
  29. article.content h4,
  30. article.content h5,
  31. article.content h6{
  32. -webkit-transition: all .25s ease-in-out;
  33. transition: all .25s ease-in-out;
  34. }
  35. h1,
  36. h2,
  37. h3,
  38. h4,
  39. h5,
  40. h6 {
  41. font-family: 'Noto Sans', Verdana, Geneva, Tahoma, sans-serif;
  42. line-height: 130%;
  43. }
  44. .sideaffix {
  45. line-height: 140%;
  46. }
  47. header .navbar {
  48. border-width: 0 0 0px;
  49. border-radius: 0;
  50. }
  51. body .toc {
  52. background-color: inherit;
  53. overflow: visible;
  54. }
  55. select {
  56. display: inline-block;
  57. overflow: auto;
  58. -webkit-box-sizing: border-box;
  59. box-sizing: border-box;
  60. margin: 0;
  61. padding: 0 30px 0 6px;
  62. vertical-align: middle;
  63. height: 28px;
  64. border: 1px solid #e3e3e3;
  65. line-height: 16px;
  66. outline: 0;
  67. text-overflow: ellipsis;
  68. -webkit-appearance: none;
  69. -moz-appearance: none;
  70. cursor: pointer;
  71. background-image: linear-gradient(45deg, transparent 50%, #707070 0), linear-gradient(135deg, #707070 50%, transparent 0);
  72. background-position: calc(100% - 13px) 11px, calc(100% - 8px) 11px;
  73. background-size: 5px 5px, 5px 6px;
  74. background-repeat: no-repeat;
  75. }
  76. /*
  77. Following code are fetched or modified from
  78. the Materialize project.
  79. The MIT License (MIT)
  80. Copyright (c) 2014-2018 Materialize
  81. https://github.com/Dogfalo/materialize
  82. */
  83. /* all collapse container */
  84. .collapse-container.last-modified {
  85. margin: 0.5rem 0 1rem 0;
  86. }
  87. /* header */
  88. .collapse-container.last-modified>:nth-child(odd):focus {
  89. outline: 0;
  90. }
  91. .collapse-container.last-modified>:nth-child(odd) {
  92. display: -webkit-box;
  93. display: -webkit-flex;
  94. display: -ms-flexbox;
  95. display: flex;
  96. cursor: pointer;
  97. -webkit-tap-highlight-color: transparent;
  98. line-height: 1.5;
  99. padding: 0.75rem;
  100. background-image: none;
  101. border: 0px;
  102. }
  103. /* body */
  104. .collapse-container.last-modified>:nth-child(even) {
  105. display: none;
  106. -webkit-box-sizing: border-box;
  107. box-sizing: border-box;
  108. padding: 1rem;
  109. border: 0px;
  110. }
  111. /* nav bar */
  112. .nav {
  113. margin: 0;
  114. }
  115. .nav li {
  116. -webkit-transition: background-color .3s, color .3s;
  117. transition: background-color .3s, color .3s;
  118. }
  119. .nav a {
  120. -webkit-transition: background-color .3s, color .3s;
  121. transition: background-color .3s, color .3s;
  122. cursor: pointer;
  123. }
  124. /* arrow */
  125. span.arrow-d{
  126. top: 6px; position: relative;
  127. }
  128. span.arrow-r{
  129. top: 6px; position: relative;
  130. }