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

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