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.2 kB

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