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

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