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

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