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.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516
  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. ul ul {
  157. font-size: 0.75em;
  158. margin-bottom: 1em;
  159. }
  160. a:link, a:visited {
  161. text-decoration: none;
  162. }
  163. a:link:hover, a:visited:hover, .show-comments:hover {
  164. text-decoration: underline;
  165. }
  166. #nav a:link, #nav a:visited {
  167. font-weight: bold;
  168. }
  169. #footer {
  170. text-align: center;
  171. margin-top: 1em;
  172. margin-bottom: 1em;
  173. font-size: small;
  174. }
  175. #index-avatar {
  176. width: 150px;
  177. height: 150px;
  178. float: right;
  179. border-width: 2px;
  180. border-style: solid;
  181. border-radius: 10px;
  182. margin-left: 2em;
  183. margin-bottom: 1em;
  184. }
  185. div.fonts {
  186. display: inline;
  187. margin-top: 20px;
  188. margin-left: 23px;
  189. }
  190. span.font-big {
  191. font-size: 0.9em;
  192. }
  193. span.font-small {
  194. font-size: 0.6em;
  195. }
  196. .lightgallery {
  197. display: flex;
  198. justify-content: space-evenly;
  199. align-items: center;
  200. flex-wrap: wrap;
  201. }
  202. .border {
  203. overflow: hidden;
  204. height: max-content;
  205. display: inline-block;
  206. border-radius: 10px;
  207. vertical-align: middle;
  208. margin: 3px 0 3px 0;
  209. border-width: 2px;
  210. border-style: solid;
  211. }
  212. .border .pic {
  213. transition: transform 0.1s;
  214. vertical-align: bottom;
  215. }
  216. .border:hover .pic {
  217. transform: scale(1.1, 1.1);
  218. filter: brightness(75%);
  219. cursor: zoom-in;
  220. }
  221. .border .picthumb {
  222. position: absolute;
  223. top: 50%;
  224. left: 50%;
  225. transform: translate(-50%, -50%);
  226. transition: transform 0.1s;
  227. }
  228. .border:hover .picthumb {
  229. transform: translate(-50%, -50%) scale(1.1, 1.1);
  230. filter: brightness(75%);
  231. cursor: zoom-in;
  232. }
  233. .collapse {
  234. cursor: pointer;
  235. padding: 15px;
  236. }
  237. .collapse:after {
  238. content: '\002B';
  239. font-weight: bold;
  240. float: right;
  241. margin-left: 5px;
  242. }
  243. .collapseactive:after {
  244. content: "\2212";
  245. }
  246. .collapsecontent {
  247. padding: 0;
  248. margin: 15px;
  249. max-height: 0;
  250. overflow: hidden;
  251. transition: max-height 0.1s ease-out;
  252. border-width: 0px;
  253. border-style: solid;
  254. border-radius: 10px;
  255. }
  256. blockquote {
  257. position: relative;
  258. padding: 1em 0.5em;
  259. border-left-width: 10px;
  260. border-left-style: solid;
  261. }
  262. blockquote:before {
  263. position: absolute;
  264. content: open-quote;
  265. font-size: 4em;
  266. }
  267. blockquote:before {
  268. position: absolute;
  269. content: open-quote;
  270. font-size: 4em;
  271. }
  272. blockquote p {
  273. margin: 0 0 0 2em;
  274. }
  275. /* colors */
  276. body, #nav, .collapsecontent {
  277. background-color: #FFFFFF;
  278. }
  279. .show-comments {
  280. border-bottom-color: #0000CD;
  281. }
  282. a:link, .show-comments {
  283. color: #0000CD;
  284. }
  285. a:visited {
  286. color: #4B0082;
  287. }
  288. body, #nav, #nav a:link, #nav a:visited {
  289. color: #000000;
  290. }
  291. #nav::after {
  292. content: "";
  293. height: 0.25em;
  294. width: 100%;
  295. display: block;
  296. background: linear-gradient(
  297. to right,
  298. rgb(228, 3, 3) 0%,
  299. rgb(228, 3, 3) 16.65%,
  300. rgb(255, 140, 0) 16.65%,
  301. rgb(255, 140, 0) 33.3%,
  302. rgb(255, 237, 0) 33.3%,
  303. rgb(255, 237, 0) 50%,
  304. rgb(0, 128, 38) 50%,
  305. rgb(0, 128, 38) 66.6%,
  306. rgb(0, 76, 255) 66.6%,
  307. rgb(0, 76, 255) 83.25%,
  308. rgb(115, 41, 130) 83.25%,
  309. rgb(115, 41, 130) 100%
  310. );
  311. }
  312. ._sh_lines {
  313. border-right-color: #32CD32;
  314. }
  315. hr {
  316. border: none;
  317. height: 0.25em;
  318. background: linear-gradient(
  319. to right,
  320. rgb(214, 2, 112) 0%,
  321. rgb(214, 2, 112) 40%,
  322. rgb(155, 79, 150) 40%,
  323. rgb(155, 79, 150) 60%,
  324. rgb(0, 56, 168) 60%,
  325. rgb(0, 56, 168) 100%
  326. );
  327. }
  328. #footbar {
  329. border: none;
  330. height: 0.25em;
  331. background: linear-gradient(
  332. to right,
  333. rgb(91, 206, 250) 0%,
  334. rgb(91, 206, 250) 20%,
  335. rgb(245, 169, 184) 20%,
  336. rgb(245, 169, 184) 40%,
  337. rgb(255, 255, 255) 40%,
  338. rgb(255, 255, 255) 60%,
  339. rgb(245, 169, 184) 60%,
  340. rgb(245, 169, 184) 80%,
  341. rgb(91, 206, 250) 80%,
  342. rgb(91, 206, 250) 100%
  343. );
  344. }
  345. table, th, td, ._sh, .ascii, .border, .releasecard, #index-avatar, .collapsecontent {
  346. border-color: #32CD32;
  347. }
  348. s {
  349. text-decoration-color: #FF0000;
  350. }
  351. .releasecard, .collapse {
  352. background-color: #C0C0C0;
  353. }
  354. #footer, #footer a:link, #footer a:visited {
  355. color: #808080;
  356. }
  357. .clip-btn {
  358. font-size: 1em;
  359. margin-left: 1em;
  360. }
  361. .collapseactive, .collapse:hover {
  362. background-color: #999999;
  363. }
  364. blockquote {
  365. background: #DEDEDE;
  366. border-left-color: #444444;
  367. }
  368. blockquote:before, blockquote:after {
  369. color: #444444;
  370. }
  371. /* dark mode */
  372. @media (prefers-color-scheme: dark) {
  373. body, #nav, .collapsecontent {
  374. background-color: #111111;
  375. }
  376. .show-comments {
  377. border-bottom-color: #7B68EE;
  378. }
  379. a:link, .show-comments {
  380. color: #7B68EE;
  381. }
  382. a:visited {
  383. color: #BA55D3;
  384. }
  385. .releasecard, .collapse {
  386. background-color: #232323;
  387. }
  388. body, #nav, #nav a:link, #nav a:visited {
  389. color: #FFFFFF;
  390. }
  391. #footer, #footer a:link, #footer a:visited {
  392. color: #B0B0B0;
  393. }
  394. .ascii, ._sh {
  395. background-color: #000000;
  396. }
  397. .clip-btn {
  398. background-color: #232323;
  399. color: #FFFFFF;
  400. }
  401. .commento-profile-button {
  402. fill: #FFFFFF;
  403. }
  404. #commento-textarea-root, .commento-guest-details {
  405. color: #FFFFFF !important;
  406. background-color: #232323 !important;
  407. border-color: #B0B0B0 !important;
  408. border-width: 2px !important;
  409. }
  410. #commento-footer, .commento-markdown-button {
  411. display: none !important;
  412. }
  413. .commento-card {
  414. background-color: #232323 !important;
  415. }
  416. .commento-name, .commento-permalink, [id^=commento-comment-text] p {
  417. color: #FFFFFF !important;
  418. }
  419. .collapseactive, .collapse:hover {
  420. background-color: #424242;
  421. }
  422. blockquote {
  423. background: #252525;
  424. border-left-color: #888888;
  425. }
  426. blockquote:before, blockquote:after {
  427. color: #888888;
  428. }
  429. }