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

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