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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  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. blockquote {
  227. position: relative;
  228. padding: 1em 0.5em;
  229. border-left-width: 10px;
  230. border-left-style: solid;
  231. }
  232. blockquote:before {
  233. position: absolute;
  234. content: open-quote;
  235. font-size: 4em;
  236. }
  237. blockquote:before {
  238. position: absolute;
  239. content: open-quote;
  240. font-size: 4em;
  241. }
  242. blockquote p {
  243. margin: 0 0 0 2em;
  244. }
  245. /* colors */
  246. body, #nav, .collapsecontent {
  247. background-color: #FFFFFF;
  248. }
  249. .show-comments {
  250. border-bottom-color: #0000CD;
  251. }
  252. a:link, .show-comments {
  253. color: #0000CD;
  254. }
  255. a:visited {
  256. color: #4B0082;
  257. }
  258. body, #nav, #nav a:link, #nav a:visited {
  259. color: #000000;
  260. }
  261. #nav {
  262. border-bottom-color: #32CD32;
  263. }
  264. ._sh_lines {
  265. border-right-color: #32CD32;
  266. }
  267. hr {
  268. color: #32CD32;
  269. }
  270. table, th, td, ._sh, .ascii, .border, .releasecard, #index-avatar, .collapsecontent {
  271. border-color: #32CD32;
  272. }
  273. s {
  274. text-decoration-color: #FF0000;
  275. }
  276. .releasecard, .collapse {
  277. background-color: #C0C0C0;
  278. }
  279. #footer, #footer a:link, #footer a:visited {
  280. color: #808080;
  281. }
  282. .clip-btn {
  283. font-size: 1em;
  284. margin-left: 1em;
  285. }
  286. .collapseactive, .collapse:hover {
  287. background-color: #999999;
  288. }
  289. blockquote {
  290. background: #DEDEDE;
  291. border-left-color: #444444;
  292. }
  293. blockquote:before, blockquote:after {
  294. color: #444444;
  295. }
  296. /* dark mode */
  297. @media (prefers-color-scheme: dark) {
  298. body, #nav, .collapsecontent {
  299. background-color: #111111;
  300. }
  301. .show-comments {
  302. border-bottom-color: #7B68EE;
  303. }
  304. a:link, .show-comments {
  305. color: #7B68EE;
  306. }
  307. a:visited {
  308. color: #BA55D3;
  309. }
  310. .releasecard, .collapse {
  311. background-color: #232323;
  312. }
  313. body, #nav, #nav a:link, #nav a:visited {
  314. color: #FFFFFF;
  315. }
  316. #footer, #footer a:link, #footer a:visited {
  317. color: #B0B0B0;
  318. }
  319. .ascii, ._sh {
  320. background-color: #000000;
  321. }
  322. .clip-btn {
  323. background-color: #232323;
  324. color: #FFFFFF;
  325. }
  326. .commento-profile-button {
  327. fill: #FFFFFF;
  328. }
  329. #commento-textarea-root, .commento-guest-details {
  330. color: #FFFFFF !important;
  331. background-color: #232323 !important;
  332. border-color: #B0B0B0 !important;
  333. border-width: 2px !important;
  334. }
  335. #commento-footer, .commento-markdown-button {
  336. display: none !important;
  337. }
  338. .commento-card {
  339. background-color: #232323 !important;
  340. }
  341. .commento-name, .commento-permalink, [id^=commento-comment-text] p {
  342. color: #FFFFFF !important;
  343. }
  344. .collapseactive, .collapse:hover {
  345. background-color: #424242;
  346. }
  347. blockquote {
  348. background: #252525;
  349. border-left-color: #888888;
  350. }
  351. blockquote:before, blockquote:after {
  352. color: #888888;
  353. }
  354. }