My static website generator using poole https://www.xythobuz.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

style.css 7.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448
  1. @import "/css/sh_bright.min.css";
  2. @import "/css/sh_darkness.min.css" (prefers-color-scheme: dark);
  3. body {
  4. font-size: 1.2em;
  5. font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  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. .border .picthumb {
  204. position: absolute;
  205. top: 50%;
  206. left: 50%;
  207. transform: translate(-50%, -50%);
  208. transition: transform 0.1s;
  209. }
  210. .border:hover .picthumb {
  211. transform: translate(-50%, -50%) scale(1.1, 1.1);
  212. filter: brightness(75%);
  213. cursor: zoom-in;
  214. }
  215. .collapse {
  216. cursor: pointer;
  217. padding: 15px;
  218. }
  219. .collapse:after {
  220. content: '\002B';
  221. font-weight: bold;
  222. float: right;
  223. margin-left: 5px;
  224. }
  225. .collapseactive:after {
  226. content: "\2212";
  227. }
  228. .collapsecontent {
  229. padding: 0;
  230. margin: 15px;
  231. max-height: 0;
  232. overflow: hidden;
  233. transition: max-height 0.8s ease-out;
  234. border-width: 0px;
  235. border-style: solid;
  236. border-radius: 10px;
  237. }
  238. blockquote {
  239. position: relative;
  240. padding: 1em 0.5em;
  241. border-left-width: 10px;
  242. border-left-style: solid;
  243. }
  244. blockquote:before {
  245. position: absolute;
  246. content: open-quote;
  247. font-size: 4em;
  248. }
  249. blockquote:before {
  250. position: absolute;
  251. content: open-quote;
  252. font-size: 4em;
  253. }
  254. blockquote p {
  255. margin: 0 0 0 2em;
  256. }
  257. /* colors */
  258. body, #nav, .collapsecontent {
  259. background-color: #FFFFFF;
  260. }
  261. .show-comments {
  262. border-bottom-color: #0000CD;
  263. }
  264. a:link, .show-comments {
  265. color: #0000CD;
  266. }
  267. a:visited {
  268. color: #4B0082;
  269. }
  270. body, #nav, #nav a:link, #nav a:visited {
  271. color: #000000;
  272. }
  273. #nav {
  274. border-bottom-color: #32CD32;
  275. }
  276. ._sh_lines {
  277. border-right-color: #32CD32;
  278. }
  279. hr {
  280. color: #32CD32;
  281. }
  282. table, th, td, ._sh, .ascii, .border, .releasecard, #index-avatar, .collapsecontent {
  283. border-color: #32CD32;
  284. }
  285. s {
  286. text-decoration-color: #FF0000;
  287. }
  288. .releasecard, .collapse {
  289. background-color: #C0C0C0;
  290. }
  291. #footer, #footer a:link, #footer a:visited {
  292. color: #808080;
  293. }
  294. .clip-btn {
  295. font-size: 1em;
  296. margin-left: 1em;
  297. }
  298. .collapseactive, .collapse:hover {
  299. background-color: #999999;
  300. }
  301. blockquote {
  302. background: #DEDEDE;
  303. border-left-color: #444444;
  304. }
  305. blockquote:before, blockquote:after {
  306. color: #444444;
  307. }
  308. /* dark mode */
  309. @media (prefers-color-scheme: dark) {
  310. body, #nav, .collapsecontent {
  311. background-color: #111111;
  312. }
  313. .show-comments {
  314. border-bottom-color: #7B68EE;
  315. }
  316. a:link, .show-comments {
  317. color: #7B68EE;
  318. }
  319. a:visited {
  320. color: #BA55D3;
  321. }
  322. .releasecard, .collapse {
  323. background-color: #232323;
  324. }
  325. body, #nav, #nav a:link, #nav a:visited {
  326. color: #FFFFFF;
  327. }
  328. #footer, #footer a:link, #footer a:visited {
  329. color: #B0B0B0;
  330. }
  331. .ascii, ._sh {
  332. background-color: #000000;
  333. }
  334. .clip-btn {
  335. background-color: #232323;
  336. color: #FFFFFF;
  337. }
  338. .commento-profile-button {
  339. fill: #FFFFFF;
  340. }
  341. #commento-textarea-root, .commento-guest-details {
  342. color: #FFFFFF !important;
  343. background-color: #232323 !important;
  344. border-color: #B0B0B0 !important;
  345. border-width: 2px !important;
  346. }
  347. #commento-footer, .commento-markdown-button {
  348. display: none !important;
  349. }
  350. .commento-card {
  351. background-color: #232323 !important;
  352. }
  353. .commento-name, .commento-permalink, [id^=commento-comment-text] p {
  354. color: #FFFFFF !important;
  355. }
  356. .collapseactive, .collapse:hover {
  357. background-color: #424242;
  358. }
  359. blockquote {
  360. background: #252525;
  361. border-left-color: #888888;
  362. }
  363. blockquote:before, blockquote:after {
  364. color: #888888;
  365. }
  366. }