My static website generator using poole https://www.xythobuz.de
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

style.css 7.3KB

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