My static website generator using poole https://www.xythobuz.de
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

style.css 7.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  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. /* gradients from https://cesque.com/gaydient/ */
  287. #nav::after {
  288. content: "";
  289. height: 2px;
  290. width: 100%;
  291. display: block;
  292. background: linear-gradient(to right, rgb(237, 34, 36), rgb(243, 91, 34), rgb(249, 150, 33), rgb(245, 193, 30), rgb(241, 235, 27) 27%, rgb(241, 235, 27), rgb(241, 235, 27) 33%, rgb(99, 199, 32), rgb(12, 155, 73), rgb(33, 135, 141), rgb(57, 84, 165), rgb(97, 55, 155), rgb(147, 40, 142));
  293. }
  294. ._sh_lines {
  295. border-right-color: #32CD32;
  296. }
  297. hr {
  298. background: linear-gradient(to right, rgb(85, 205, 252), rgb(179, 157, 233), rgb(247, 168, 184), rgb(246, 216, 221), rgb(255, 255, 255) 45%, rgb(255, 255, 255), rgb(255, 255, 255) 55%, rgb(246, 216, 221), rgb(247, 168, 184), rgb(179, 157, 233), rgb(85, 205, 252));
  299. height: 2px;
  300. border: none;
  301. }
  302. table, th, td, ._sh, .ascii, .border, .releasecard, #index-avatar, .collapsecontent {
  303. border-color: #32CD32;
  304. }
  305. s {
  306. text-decoration-color: #FF0000;
  307. }
  308. .releasecard, .collapse {
  309. background-color: #C0C0C0;
  310. }
  311. #footer, #footer a:link, #footer a:visited {
  312. color: #808080;
  313. }
  314. .clip-btn {
  315. font-size: 1em;
  316. margin-left: 1em;
  317. }
  318. .collapseactive, .collapse:hover {
  319. background-color: #999999;
  320. }
  321. blockquote {
  322. background: #DEDEDE;
  323. border-left-color: #444444;
  324. }
  325. blockquote:before, blockquote:after {
  326. color: #444444;
  327. }
  328. /* dark mode */
  329. @media (prefers-color-scheme: dark) {
  330. body, #nav, .collapsecontent {
  331. background-color: #111111;
  332. }
  333. .show-comments {
  334. border-bottom-color: #7B68EE;
  335. }
  336. a:link, .show-comments {
  337. color: #7B68EE;
  338. }
  339. a:visited {
  340. color: #BA55D3;
  341. }
  342. .releasecard, .collapse {
  343. background-color: #232323;
  344. }
  345. body, #nav, #nav a:link, #nav a:visited {
  346. color: #FFFFFF;
  347. }
  348. #footer, #footer a:link, #footer a:visited {
  349. color: #B0B0B0;
  350. }
  351. .ascii, ._sh {
  352. background-color: #000000;
  353. }
  354. .clip-btn {
  355. background-color: #232323;
  356. color: #FFFFFF;
  357. }
  358. .commento-profile-button {
  359. fill: #FFFFFF;
  360. }
  361. #commento-textarea-root, .commento-guest-details {
  362. color: #FFFFFF !important;
  363. background-color: #232323 !important;
  364. border-color: #B0B0B0 !important;
  365. border-width: 2px !important;
  366. }
  367. #commento-footer, .commento-markdown-button {
  368. display: none !important;
  369. }
  370. .commento-card {
  371. background-color: #232323 !important;
  372. }
  373. .commento-name, .commento-permalink, [id^=commento-comment-text] p {
  374. color: #FFFFFF !important;
  375. }
  376. .collapseactive, .collapse:hover {
  377. background-color: #424242;
  378. }
  379. blockquote {
  380. background: #252525;
  381. border-left-color: #888888;
  382. }
  383. blockquote:before, blockquote:after {
  384. color: #888888;
  385. }
  386. }