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 8.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  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. width: 100%;
  31. z-index: 2;
  32. }
  33. #navbar {
  34. margin-top: 0px;
  35. padding-top: 1em;
  36. }
  37. #content {
  38. width: 95%;
  39. margin-left: auto;
  40. margin-right: auto;
  41. }
  42. a.anchor {
  43. display: block;
  44. position: relative;
  45. visibility: hidden;
  46. top: -60px;
  47. }
  48. @media (min-height: 750px) {
  49. #nav {
  50. position: fixed;
  51. top: 0;
  52. left: 0;
  53. }
  54. #wrap {
  55. height: 5em;
  56. }
  57. a.anchor {
  58. top: -175px;
  59. }
  60. }
  61. @media (min-width: 1000px) {
  62. #content {
  63. width: 75%;
  64. }
  65. }
  66. @media (min-width: 1500px) {
  67. #content {
  68. width: 50%;
  69. }
  70. #navbar {
  71. position: relative;
  72. left: 12.5%;
  73. width: 75%;
  74. }
  75. }
  76. ._sh {
  77. max-height: 300px;
  78. overflow: auto;
  79. font-size: 0.9em;
  80. padding: 10px;
  81. margin: 1em;
  82. border-width: 2px;
  83. border-style: solid;
  84. border-radius: 10px;
  85. resize: vertical;
  86. }
  87. .sh_sourceCode, pre {
  88. margin: 0 0;
  89. }
  90. /* allow resizing larger than max-height */
  91. ._sh[style*="height"] {
  92. max-height: unset;
  93. }
  94. ._sh_lines {
  95. text-align: right;
  96. float: left;
  97. margin: 0 0.5em 0 0;
  98. padding: 0 0.5em 0 0;
  99. border-right-width: 1px;
  100. border-right-style: solid;
  101. }
  102. ._sh_lines span {
  103. display: block;
  104. font-family: monospace;
  105. }
  106. .ascii {
  107. overflow: auto;
  108. padding: 10px;
  109. margin: 1em;
  110. border-width: 2px;
  111. border-style: solid;
  112. border-radius: 10px;
  113. font-size: 0.7em;
  114. line-height: 1;
  115. max-height: max-content;
  116. font-weight: bold;
  117. width: max-content;
  118. }
  119. .textwrap {
  120. display: flex;
  121. justify-content: space-around;
  122. align-items: center;
  123. flex-wrap: wrap;
  124. }
  125. .listdesc {
  126. font-size: 0.75em;
  127. vertical-align: top;
  128. }
  129. .show-comments {
  130. background: none;
  131. border: none;
  132. font: inherit;
  133. cursor: pointer;
  134. }
  135. .releasecard {
  136. border-width: 2px;
  137. border-style: solid;
  138. width: max-content;
  139. max-width: 100%;
  140. padding: 0.6em 1em 0em 1em;
  141. border-radius: 10px;
  142. text-align: center;
  143. margin: auto;
  144. }
  145. #home {
  146. font-size: 2.5em;
  147. margin-right: 0.5em;
  148. }
  149. #nav ul {
  150. list-style-type: none;
  151. }
  152. #nav ul li {
  153. display: inline;
  154. margin-right: 0.5em;
  155. }
  156. a:link, a:visited {
  157. text-decoration: none;
  158. }
  159. a:link:hover, a:visited:hover, .show-comments:hover {
  160. text-decoration: underline;
  161. }
  162. #nav a:link, #nav a:visited {
  163. font-weight: bold;
  164. }
  165. #footer {
  166. text-align: center;
  167. margin-top: 1em;
  168. font-size: small;
  169. }
  170. #index-avatar {
  171. width: 150px;
  172. height: 150px;
  173. float: right;
  174. border-width: 2px;
  175. border-style: solid;
  176. border-radius: 10px;
  177. margin-left: 2em;
  178. margin-bottom: 1em;
  179. }
  180. div.fonts {
  181. display: inline;
  182. margin-top: 20px;
  183. margin-left: 23px;
  184. }
  185. span.font-big {
  186. font-size: 0.9em;
  187. }
  188. span.font-small {
  189. font-size: 0.6em;
  190. }
  191. .lightgallery {
  192. display: flex;
  193. justify-content: space-evenly;
  194. align-items: center;
  195. flex-wrap: wrap;
  196. }
  197. .border {
  198. overflow: hidden;
  199. height: max-content;
  200. display: inline-block;
  201. border-radius: 10px;
  202. vertical-align: middle;
  203. margin: 3px 0 3px 0;
  204. border-width: 2px;
  205. border-style: solid;
  206. }
  207. .border .pic {
  208. transition: transform 0.1s;
  209. vertical-align: bottom;
  210. }
  211. .border:hover .pic {
  212. transform: scale(1.1, 1.1);
  213. filter: brightness(75%);
  214. cursor: zoom-in;
  215. }
  216. .border .picthumb {
  217. position: absolute;
  218. top: 50%;
  219. left: 50%;
  220. transform: translate(-50%, -50%);
  221. transition: transform 0.1s;
  222. }
  223. .border:hover .picthumb {
  224. transform: translate(-50%, -50%) scale(1.1, 1.1);
  225. filter: brightness(75%);
  226. cursor: zoom-in;
  227. }
  228. .collapse {
  229. cursor: pointer;
  230. padding: 15px;
  231. }
  232. .collapse:after {
  233. content: '\002B';
  234. font-weight: bold;
  235. float: right;
  236. margin-left: 5px;
  237. }
  238. .collapseactive:after {
  239. content: "\2212";
  240. }
  241. .collapsecontent {
  242. padding: 0;
  243. margin: 15px;
  244. max-height: 0;
  245. overflow: hidden;
  246. transition: max-height 0.1s ease-out;
  247. border-width: 0px;
  248. border-style: solid;
  249. border-radius: 10px;
  250. }
  251. blockquote {
  252. position: relative;
  253. padding: 1em 0.5em;
  254. border-left-width: 10px;
  255. border-left-style: solid;
  256. }
  257. blockquote:before {
  258. position: absolute;
  259. content: open-quote;
  260. font-size: 4em;
  261. }
  262. blockquote:before {
  263. position: absolute;
  264. content: open-quote;
  265. font-size: 4em;
  266. }
  267. blockquote p {
  268. margin: 0 0 0 2em;
  269. }
  270. /* colors */
  271. body, #nav, .collapsecontent {
  272. background-color: #FFFFFF;
  273. }
  274. .show-comments {
  275. border-bottom-color: #0000CD;
  276. }
  277. a:link, .show-comments {
  278. color: #0000CD;
  279. }
  280. a:visited {
  281. color: #4B0082;
  282. }
  283. body, #nav, #nav a:link, #nav a:visited {
  284. color: #000000;
  285. }
  286. #nav::after {
  287. content: "";
  288. height: 2px;
  289. width: 100%;
  290. display: block;
  291. background: linear-gradient(
  292. 90deg,
  293. rgba(255, 0, 0, 1) 0%,
  294. rgba(255, 154, 0, 1) 10%,
  295. rgba(208, 222, 33, 1) 20%,
  296. rgba( 79, 220, 74, 1) 30%,
  297. rgba( 63, 218, 216, 1) 40%,
  298. rgba( 47, 201, 226, 1) 50%,
  299. rgba( 28, 127, 238, 1) 60%,
  300. rgba( 95, 21, 242, 1) 70%,
  301. rgba(186, 12, 248, 1) 80%,
  302. rgba(251, 7, 217, 1) 90%,
  303. rgba(255, 0, 0, 1) 100%
  304. );
  305. }
  306. ._sh_lines {
  307. border-right-color: #32CD32;
  308. }
  309. hr {
  310. background: linear-gradient(
  311. 90deg,
  312. rgba(255, 0, 0, 1) 0%,
  313. rgba(255, 154, 0, 1) 10%,
  314. rgba(208, 222, 33, 1) 20%,
  315. rgba( 79, 220, 74, 1) 30%,
  316. rgba( 63, 218, 216, 1) 40%,
  317. rgba( 47, 201, 226, 1) 50%,
  318. rgba( 28, 127, 238, 1) 60%,
  319. rgba( 95, 21, 242, 1) 70%,
  320. rgba(186, 12, 248, 1) 80%,
  321. rgba(251, 7, 217, 1) 90%,
  322. rgba(255, 0, 0, 1) 100%
  323. );
  324. height: 2px;
  325. border: none;
  326. }
  327. table, th, td, ._sh, .ascii, .border, .releasecard, #index-avatar, .collapsecontent {
  328. border-color: #32CD32;
  329. }
  330. s {
  331. text-decoration-color: #FF0000;
  332. }
  333. .releasecard, .collapse {
  334. background-color: #C0C0C0;
  335. }
  336. #footer, #footer a:link, #footer a:visited {
  337. color: #808080;
  338. }
  339. .clip-btn {
  340. font-size: 1em;
  341. margin-left: 1em;
  342. }
  343. .collapseactive, .collapse:hover {
  344. background-color: #999999;
  345. }
  346. blockquote {
  347. background: #DEDEDE;
  348. border-left-color: #444444;
  349. }
  350. blockquote:before, blockquote:after {
  351. color: #444444;
  352. }
  353. /* dark mode */
  354. @media (prefers-color-scheme: dark) {
  355. body, #nav, .collapsecontent {
  356. background-color: #111111;
  357. }
  358. .show-comments {
  359. border-bottom-color: #7B68EE;
  360. }
  361. a:link, .show-comments {
  362. color: #7B68EE;
  363. }
  364. a:visited {
  365. color: #BA55D3;
  366. }
  367. .releasecard, .collapse {
  368. background-color: #232323;
  369. }
  370. body, #nav, #nav a:link, #nav a:visited {
  371. color: #FFFFFF;
  372. }
  373. #footer, #footer a:link, #footer a:visited {
  374. color: #B0B0B0;
  375. }
  376. .ascii, ._sh {
  377. background-color: #000000;
  378. }
  379. .clip-btn {
  380. background-color: #232323;
  381. color: #FFFFFF;
  382. }
  383. .commento-profile-button {
  384. fill: #FFFFFF;
  385. }
  386. #commento-textarea-root, .commento-guest-details {
  387. color: #FFFFFF !important;
  388. background-color: #232323 !important;
  389. border-color: #B0B0B0 !important;
  390. border-width: 2px !important;
  391. }
  392. #commento-footer, .commento-markdown-button {
  393. display: none !important;
  394. }
  395. .commento-card {
  396. background-color: #232323 !important;
  397. }
  398. .commento-name, .commento-permalink, [id^=commento-comment-text] p {
  399. color: #FFFFFF !important;
  400. }
  401. .collapseactive, .collapse:hover {
  402. background-color: #424242;
  403. }
  404. blockquote {
  405. background: #252525;
  406. border-left-color: #888888;
  407. }
  408. blockquote:before, blockquote:after {
  409. color: #888888;
  410. }
  411. }