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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  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. #nav {
  24. border-bottom-style: solid;
  25. border-bottom-width: 2px;
  26. width: 100%;
  27. z-index: 2;
  28. }
  29. #navbar {
  30. margin-top: 0px;
  31. padding-top: 1em;
  32. }
  33. #content {
  34. width: 75%;
  35. margin-left: auto;
  36. margin-right: auto;
  37. }
  38. a.anchor {
  39. display: block;
  40. position: relative;
  41. visibility: hidden;
  42. top: -60px;
  43. }
  44. @media (min-height: 750px) {
  45. #nav {
  46. position: fixed;
  47. top: 0;
  48. left: 0;
  49. }
  50. #wrap {
  51. height: 5em;
  52. }
  53. a.anchor {
  54. top: -175px;
  55. }
  56. }
  57. ._sh {
  58. max-height: 300px;
  59. overflow: auto;
  60. font-size: 0.9em;
  61. padding: 10px;
  62. margin: 1em;
  63. border-width: 2px;
  64. border-style: solid;
  65. border-radius: 10px;
  66. resize: vertical;
  67. }
  68. .sh_sourceCode, pre {
  69. margin: 0 0;
  70. }
  71. /* allow resizing larger than max-height */
  72. ._sh[style*="height"] {
  73. max-height: unset;
  74. }
  75. ._sh_lines {
  76. text-align: right;
  77. float: left;
  78. margin: 0 0.5em 0 0;
  79. padding: 0 0.5em 0 0;
  80. border-right-width: 1px;
  81. border-right-style: solid;
  82. }
  83. ._sh_lines span {
  84. display: block;
  85. font-family: monospace;
  86. }
  87. .ascii {
  88. overflow: auto;
  89. padding: 10px;
  90. margin: 1em;
  91. border-width: 2px;
  92. border-style: solid;
  93. border-radius: 10px;
  94. font-size: 0.7em;
  95. line-height: 1;
  96. max-height: max-content;
  97. font-weight: bold;
  98. width: max-content;
  99. }
  100. .textwrap {
  101. display: flex;
  102. justify-content: space-around;
  103. align-items: center;
  104. flex-wrap: wrap;
  105. }
  106. .listdesc {
  107. font-size: 0.75em;
  108. vertical-align: top;
  109. }
  110. .show-comments {
  111. background: none;
  112. border: none;
  113. font: inherit;
  114. cursor: pointer;
  115. }
  116. .releasecard {
  117. border-width: 2px;
  118. border-style: solid;
  119. width: max-content;
  120. max-width: 100%;
  121. padding: 0.6em 1em 0em 1em;
  122. border-radius: 10px;
  123. text-align: center;
  124. margin: auto;
  125. }
  126. #home {
  127. font-size: 2.5em;
  128. margin-right: 0.5em;
  129. }
  130. #nav ul {
  131. list-style-type: none;
  132. }
  133. #nav ul li {
  134. display: inline;
  135. margin-right: 0.5em;
  136. }
  137. a:link, a:visited {
  138. text-decoration: none;
  139. }
  140. a:link:hover, a:visited:hover, .show-comments:hover {
  141. text-decoration: underline;
  142. }
  143. #nav a:link, #nav a:visited {
  144. font-weight: bold;
  145. }
  146. #footer {
  147. text-align: center;
  148. margin-top: 1em;
  149. font-size: small;
  150. }
  151. #index-avatar {
  152. width: 150px;
  153. height: 150px;
  154. float: right;
  155. border-width: 2px;
  156. border-style: solid;
  157. border-radius: 10px;
  158. margin-left: 2em;
  159. margin-bottom: 1em;
  160. }
  161. div.fonts {
  162. display: inline;
  163. margin-top: 20px;
  164. margin-left: 23px;
  165. }
  166. span.font-big {
  167. font-size: 0.9em;
  168. }
  169. span.font-small {
  170. font-size: 0.6em;
  171. }
  172. .lightgallery {
  173. display: flex;
  174. justify-content: space-evenly;
  175. align-items: center;
  176. flex-wrap: wrap;
  177. }
  178. .border {
  179. overflow: hidden;
  180. height: max-content;
  181. display: inline-block;
  182. border-radius: 10px;
  183. vertical-align: middle;
  184. margin: 3px 0 3px 0;
  185. border-width: 2px;
  186. border-style: solid;
  187. }
  188. .border .pic {
  189. transition: transform 0.1s;
  190. vertical-align: bottom;
  191. }
  192. .border:hover .pic {
  193. transform: scale(1.1, 1.1);
  194. filter: brightness(75%);
  195. cursor: zoom-in;
  196. }
  197. .collapse {
  198. cursor: pointer;
  199. padding: 15px;
  200. }
  201. .collapse:after {
  202. content: '\002B';
  203. font-weight: bold;
  204. float: right;
  205. margin-left: 5px;
  206. }
  207. .collapseactive:after {
  208. content: "\2212";
  209. }
  210. .collapsecontent {
  211. padding: 0;
  212. margin: 15px;
  213. max-height: 0;
  214. overflow: hidden;
  215. transition: max-height 0.8s ease-out;
  216. border-width: 0px;
  217. border-style: solid;
  218. border-radius: 10px;
  219. }
  220. /* colors */
  221. body, #nav, .collapsecontent {
  222. background-color: #FFFFFF;
  223. }
  224. .show-comments {
  225. border-bottom-color: #0000CD;
  226. }
  227. a:link, .show-comments {
  228. color: #0000CD;
  229. }
  230. a:visited {
  231. color: #4B0082;
  232. }
  233. body, #nav, #nav a:link, #nav a:visited {
  234. color: #000000;
  235. }
  236. #nav {
  237. border-bottom-color: #32CD32;
  238. }
  239. ._sh_lines {
  240. border-right-color: #32CD32;
  241. }
  242. hr {
  243. color: #32CD32;
  244. }
  245. table, th, td, ._sh, .ascii, .border, .releasecard, #index-avatar, .collapsecontent {
  246. border-color: #32CD32;
  247. }
  248. .releasecard, .collapse {
  249. background-color: #C0C0C0;
  250. }
  251. #footer, #footer a:link, #footer a:visited {
  252. color: #808080;
  253. }
  254. .clip-btn {
  255. font-size: 1em;
  256. margin-left: 1em;
  257. }
  258. .collapseactive, .collapse:hover {
  259. background-color: #999999;
  260. }
  261. /* dark mode */
  262. @media (prefers-color-scheme: dark) {
  263. body, #nav, .collapsecontent {
  264. background-color: #111111;
  265. }
  266. .show-comments {
  267. border-bottom-color: #7B68EE;
  268. }
  269. a:link, .show-comments {
  270. color: #7B68EE;
  271. }
  272. a:visited {
  273. color: #BA55D3;
  274. }
  275. .releasecard, .collapse {
  276. background-color: #232323;
  277. }
  278. body, #nav, #nav a:link, #nav a:visited {
  279. color: #FFFFFF;
  280. }
  281. #footer, #footer a:link, #footer a:visited {
  282. color: #B0B0B0;
  283. }
  284. .ascii, ._sh {
  285. background-color: #000000;
  286. }
  287. .clip-btn {
  288. background-color: #232323;
  289. color: #FFFFFF;
  290. }
  291. .commento-profile-button {
  292. fill: #FFFFFF;
  293. }
  294. #commento-textarea-root, .commento-guest-details {
  295. color: #FFFFFF !important;
  296. background-color: #232323 !important;
  297. border-color: #B0B0B0 !important;
  298. border-width: 2px !important;
  299. }
  300. #commento-footer, .commento-markdown-button {
  301. display: none !important;
  302. }
  303. .commento-card {
  304. background-color: #232323 !important;
  305. }
  306. .commento-name, .commento-permalink, [id^=commento-comment-text] p {
  307. color: #FFFFFF !important;
  308. }
  309. .collapseactive, .collapse:hover {
  310. background-color: #424242;
  311. }
  312. }