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

style.css 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  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: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, 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. s {
  24. text-decoration-thickness: 0.2em;
  25. }
  26. s:hover {
  27. text-decoration: none;
  28. }
  29. #nav {
  30. border-bottom-style: solid;
  31. border-bottom-width: 2px;
  32. width: 100%;
  33. z-index: 2;
  34. }
  35. #navbar {
  36. margin-top: 0px;
  37. padding-top: 1em;
  38. }
  39. #content {
  40. width: 75%;
  41. margin-left: auto;
  42. margin-right: auto;
  43. }
  44. a.anchor {
  45. display: block;
  46. position: relative;
  47. visibility: hidden;
  48. top: -60px;
  49. }
  50. @media (min-height: 750px) {
  51. #nav {
  52. position: fixed;
  53. top: 0;
  54. left: 0;
  55. }
  56. #wrap {
  57. height: 5em;
  58. }
  59. a.anchor {
  60. top: -175px;
  61. }
  62. }
  63. ._sh {
  64. max-height: 300px;
  65. overflow: auto;
  66. font-size: 0.9em;
  67. padding: 10px;
  68. margin: 1em;
  69. border-width: 2px;
  70. border-style: solid;
  71. border-radius: 10px;
  72. resize: vertical;
  73. }
  74. .sh_sourceCode, pre {
  75. margin: 0 0;
  76. }
  77. /* allow resizing larger than max-height */
  78. ._sh[style*="height"] {
  79. max-height: unset;
  80. }
  81. ._sh_lines {
  82. text-align: right;
  83. float: left;
  84. margin: 0 0.5em 0 0;
  85. padding: 0 0.5em 0 0;
  86. border-right-width: 1px;
  87. border-right-style: solid;
  88. }
  89. ._sh_lines span {
  90. display: block;
  91. font-family: monospace;
  92. }
  93. .ascii {
  94. overflow: auto;
  95. padding: 10px;
  96. margin: 1em;
  97. border-width: 2px;
  98. border-style: solid;
  99. border-radius: 10px;
  100. font-size: 0.7em;
  101. line-height: 1;
  102. max-height: max-content;
  103. font-weight: bold;
  104. width: max-content;
  105. }
  106. .textwrap {
  107. display: flex;
  108. justify-content: space-around;
  109. align-items: center;
  110. flex-wrap: wrap;
  111. }
  112. .listdesc {
  113. font-size: 0.75em;
  114. vertical-align: top;
  115. }
  116. .show-comments {
  117. background: none;
  118. border: none;
  119. font: inherit;
  120. cursor: pointer;
  121. }
  122. .releasecard {
  123. border-width: 2px;
  124. border-style: solid;
  125. width: max-content;
  126. max-width: 100%;
  127. padding: 0.6em 1em 0em 1em;
  128. border-radius: 10px;
  129. text-align: center;
  130. margin: auto;
  131. }
  132. #home {
  133. font-size: 2.5em;
  134. margin-right: 0.5em;
  135. }
  136. #nav ul {
  137. list-style-type: none;
  138. }
  139. #nav ul li {
  140. display: inline;
  141. margin-right: 0.5em;
  142. }
  143. a:link, a:visited {
  144. text-decoration: none;
  145. }
  146. a:link:hover, a:visited:hover, .show-comments:hover {
  147. text-decoration: underline;
  148. }
  149. #nav a:link, #nav a:visited {
  150. font-weight: bold;
  151. }
  152. #footer {
  153. text-align: center;
  154. margin-top: 1em;
  155. font-size: small;
  156. }
  157. #index-avatar {
  158. width: 150px;
  159. height: 150px;
  160. float: right;
  161. border-width: 2px;
  162. border-style: solid;
  163. border-radius: 10px;
  164. margin-left: 2em;
  165. margin-bottom: 1em;
  166. }
  167. div.fonts {
  168. display: inline;
  169. margin-top: 20px;
  170. margin-left: 23px;
  171. }
  172. span.font-big {
  173. font-size: 0.9em;
  174. }
  175. span.font-small {
  176. font-size: 0.6em;
  177. }
  178. .lightgallery {
  179. display: flex;
  180. justify-content: space-evenly;
  181. align-items: center;
  182. flex-wrap: wrap;
  183. }
  184. .border {
  185. overflow: hidden;
  186. height: max-content;
  187. display: inline-block;
  188. border-radius: 10px;
  189. vertical-align: middle;
  190. margin: 3px 0 3px 0;
  191. border-width: 2px;
  192. border-style: solid;
  193. }
  194. .border .pic {
  195. transition: transform 0.1s;
  196. vertical-align: bottom;
  197. }
  198. .border:hover .pic {
  199. transform: scale(1.1, 1.1);
  200. filter: brightness(75%);
  201. cursor: zoom-in;
  202. }
  203. .collapse {
  204. cursor: pointer;
  205. padding: 15px;
  206. }
  207. .collapse:after {
  208. content: '\002B';
  209. font-weight: bold;
  210. float: right;
  211. margin-left: 5px;
  212. }
  213. .collapseactive:after {
  214. content: "\2212";
  215. }
  216. .collapsecontent {
  217. padding: 0;
  218. margin: 15px;
  219. max-height: 0;
  220. overflow: hidden;
  221. transition: max-height 0.8s ease-out;
  222. border-width: 0px;
  223. border-style: solid;
  224. border-radius: 10px;
  225. }
  226. /* colors */
  227. body, #nav, .collapsecontent {
  228. background-color: #FFFFFF;
  229. }
  230. .show-comments {
  231. border-bottom-color: #0000CD;
  232. }
  233. a:link, .show-comments {
  234. color: #0000CD;
  235. }
  236. a:visited {
  237. color: #4B0082;
  238. }
  239. body, #nav, #nav a:link, #nav a:visited {
  240. color: #000000;
  241. }
  242. #nav {
  243. border-bottom-color: #32CD32;
  244. }
  245. ._sh_lines {
  246. border-right-color: #32CD32;
  247. }
  248. hr {
  249. color: #32CD32;
  250. }
  251. table, th, td, ._sh, .ascii, .border, .releasecard, #index-avatar, .collapsecontent {
  252. border-color: #32CD32;
  253. }
  254. s {
  255. text-decoration-color: #FF0000;
  256. }
  257. .releasecard, .collapse {
  258. background-color: #C0C0C0;
  259. }
  260. #footer, #footer a:link, #footer a:visited {
  261. color: #808080;
  262. }
  263. .clip-btn {
  264. font-size: 1em;
  265. margin-left: 1em;
  266. }
  267. .collapseactive, .collapse:hover {
  268. background-color: #999999;
  269. }
  270. /* dark mode */
  271. @media (prefers-color-scheme: dark) {
  272. body, #nav, .collapsecontent {
  273. background-color: #111111;
  274. }
  275. .show-comments {
  276. border-bottom-color: #7B68EE;
  277. }
  278. a:link, .show-comments {
  279. color: #7B68EE;
  280. }
  281. a:visited {
  282. color: #BA55D3;
  283. }
  284. .releasecard, .collapse {
  285. background-color: #232323;
  286. }
  287. body, #nav, #nav a:link, #nav a:visited {
  288. color: #FFFFFF;
  289. }
  290. #footer, #footer a:link, #footer a:visited {
  291. color: #B0B0B0;
  292. }
  293. .ascii, ._sh {
  294. background-color: #000000;
  295. }
  296. .clip-btn {
  297. background-color: #232323;
  298. color: #FFFFFF;
  299. }
  300. .commento-profile-button {
  301. fill: #FFFFFF;
  302. }
  303. #commento-textarea-root, .commento-guest-details {
  304. color: #FFFFFF !important;
  305. background-color: #232323 !important;
  306. border-color: #B0B0B0 !important;
  307. border-width: 2px !important;
  308. }
  309. #commento-footer, .commento-markdown-button {
  310. display: none !important;
  311. }
  312. .commento-card {
  313. background-color: #232323 !important;
  314. }
  315. .commento-name, .commento-permalink, [id^=commento-comment-text] p {
  316. color: #FFFFFF !important;
  317. }
  318. .collapseactive, .collapse:hover {
  319. background-color: #424242;
  320. }
  321. }