My static website generator using poole https://www.xythobuz.de
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

style.css 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. @import "sh_bright.min.css";
  2. @import "sh_darkness.min.css" (prefers-color-scheme: dark);
  3. body {
  4. font-size: 1.2em;
  5. font-family: 'Droid Sans', sans-serif;
  6. margin: 0px;
  7. padding: 0px;
  8. }
  9. table {
  10. margin: auto;
  11. border-collapse: collapse;
  12. }
  13. table, th, td {
  14. border-width: 1px;
  15. border-style: solid;
  16. }
  17. th, td {
  18. padding-left: 0.5em;
  19. padding-right: 0.5em;
  20. padding-top: 0.2em;
  21. padding-bottom: 0.2em;
  22. }
  23. #nav {
  24. border-bottom-style: solid;
  25. border-bottom-width: 2px;
  26. width: 100%;
  27. z-index: 2;
  28. }
  29. #content {
  30. width: 75%;
  31. margin-left: auto;
  32. margin-right: auto;
  33. }
  34. a.anchor {
  35. display: block;
  36. position: relative;
  37. visibility: hidden;
  38. top: -60px;
  39. }
  40. @media (min-height: 750px) {
  41. #nav {
  42. position: fixed;
  43. top: 0;
  44. left: 0;
  45. }
  46. #wrap {
  47. height: 5em;
  48. }
  49. a.anchor {
  50. top: -175px;
  51. }
  52. }
  53. pre {
  54. max-height: 300px;
  55. overflow: auto;
  56. font-size: 0.9em;
  57. padding: 10px;
  58. margin: 1em;
  59. border-width: 2px;
  60. border-style: solid;
  61. border-radius: 10px;
  62. resize: vertical;
  63. }
  64. /* allow resizing larger than max-height */
  65. pre[style*="height"] {
  66. max-height: unset;
  67. }
  68. .ascii {
  69. font-size: 0.7em;
  70. line-height: 1;
  71. max-height: max-content;
  72. overflow-y: auto;
  73. font-weight: bold;
  74. width: max-content;
  75. }
  76. .textwrap {
  77. display: flex;
  78. justify-content: space-around;
  79. align-items: center;
  80. flex-wrap: wrap;
  81. }
  82. .listdesc {
  83. font-size: 0.75em;
  84. vertical-align: top;
  85. }
  86. .show-comments {
  87. background: none;
  88. border: none;
  89. font: inherit;
  90. cursor: pointer;
  91. }
  92. .releasecard {
  93. border-width: 2px;
  94. border-style: solid;
  95. width: max-content;
  96. max-width: 100%;
  97. padding: 0.6em 1em 0em 1em;
  98. border-radius: 10px;
  99. text-align: center;
  100. margin: auto;
  101. }
  102. #home {
  103. font-size: 2.5em;
  104. margin-right: 0.5em;
  105. }
  106. #nav ul {
  107. list-style-type: none;
  108. }
  109. #nav ul li {
  110. display: inline;
  111. margin-right: 0.5em;
  112. }
  113. a:link, a:visited {
  114. text-decoration: none;
  115. }
  116. a:link:hover, a:visited:hover, .show-comments:hover {
  117. text-decoration: underline;
  118. }
  119. #nav a:link, #nav a:visited {
  120. font-weight: bold;
  121. }
  122. #footer {
  123. text-align: center;
  124. margin-top: 1em;
  125. font-size: small;
  126. }
  127. #index-avatar {
  128. width: 150px;
  129. height: 150px;
  130. float: right;
  131. border-width: 2px;
  132. border-style: solid;
  133. border-radius: 10px;
  134. background-image: url(https://www.gravatar.com/avatar/8d18fec40a74782052fb4c007d212475?s=150);
  135. margin-left: 2em;
  136. margin-bottom: 1em;
  137. }
  138. div.fonts {
  139. display: inline;
  140. margin-top: 20px;
  141. margin-left: 23px;
  142. }
  143. span.font-big {
  144. font-size: 0.9em;
  145. }
  146. span.font-small {
  147. font-size: 0.6em;
  148. }
  149. .lightgallery {
  150. display: flex;
  151. justify-content: space-evenly;
  152. align-items: center;
  153. flex-wrap: wrap;
  154. }
  155. .border {
  156. overflow: hidden;
  157. height: max-content;
  158. display: inline-block;
  159. border-radius: 10px;
  160. vertical-align: middle;
  161. margin: 3px 0 3px 0;
  162. border-width: 2px;
  163. border-style: solid;
  164. }
  165. .border .pic {
  166. transition: transform 0.1s;
  167. vertical-align: bottom;
  168. }
  169. .border:hover .pic {
  170. transform: scale(1.1, 1.1);
  171. filter: brightness(75%);
  172. cursor: zoom-in;
  173. }
  174. /* colors */
  175. body, #nav {
  176. background-color: #FFFFFF;
  177. }
  178. .show-comments {
  179. border-bottom-color: #0000CD;
  180. }
  181. a:link, .show-comments {
  182. color: #0000CD;
  183. }
  184. a:visited {
  185. color: #4B0082;
  186. }
  187. body, #nav, #nav a:link, #nav a:visited {
  188. color: #000000;
  189. }
  190. #nav {
  191. border-bottom-color: #32CD32;
  192. }
  193. hr {
  194. color: #32CD32;
  195. }
  196. table, th, td, pre, .border, .releasecard, #index-avatar {
  197. border-color: #32CD32;
  198. }
  199. .releasecard {
  200. background-color: #C0C0C0;
  201. }
  202. #footer, #footer a:link, #footer a:visited {
  203. color: #808080;
  204. }
  205. /* dark mode */
  206. @media (prefers-color-scheme: dark) {
  207. body, #nav {
  208. background-color: #111111;
  209. }
  210. .show-comments {
  211. border-bottom-color: #7B68EE;
  212. }
  213. a:link, .show-comments {
  214. color: #7B68EE;
  215. }
  216. a:visited {
  217. color: #BA55D3;
  218. }
  219. .releasecard {
  220. background-color: #232323;
  221. }
  222. body, #nav, #nav a:link, #nav a:visited {
  223. color: #FFFFFF;
  224. }
  225. #footer, #footer a:link, #footer a:visited {
  226. color: #B0B0B0;
  227. }
  228. pre {
  229. background-color: #000000;
  230. }
  231. }