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.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  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. border-bottom-width: 1px;
  92. border-bottom-style: solid;
  93. }
  94. .releasecard {
  95. border-width: 2px;
  96. border-style: solid;
  97. width: max-content;
  98. max-width: 100%;
  99. padding: 0.6em 1em 0em 1em;
  100. border-radius: 10px;
  101. text-align: center;
  102. margin: auto;
  103. }
  104. #home {
  105. font-size: 2.5em;
  106. margin-right: 0.5em;
  107. }
  108. #nav ul {
  109. list-style-type: none;
  110. }
  111. #nav ul li {
  112. display: inline;
  113. margin-right: 0.5em;
  114. }
  115. #nav a:link {
  116. font-weight: bold;
  117. text-decoration: none;
  118. }
  119. #nav a:visited {
  120. font-weight: bold;
  121. text-decoration: none;
  122. }
  123. #footer {
  124. text-align: center;
  125. margin-top: 1em;
  126. font-size: small;
  127. }
  128. #index-avatar {
  129. width: 150px;
  130. height: 150px;
  131. float: right;
  132. border-width: 2px;
  133. border-style: solid;
  134. border-radius: 10px;
  135. background-image: url(https://www.gravatar.com/avatar/8d18fec40a74782052fb4c007d212475?s=150);
  136. margin-left: 2em;
  137. margin-bottom: 1em;
  138. }
  139. div.fonts {
  140. display: inline;
  141. margin-top: 20px;
  142. margin-left: 23px;
  143. }
  144. span.font-big {
  145. font-size: 0.9em;
  146. }
  147. span.font-small {
  148. font-size: 0.6em;
  149. }
  150. .lightgallery {
  151. display: flex;
  152. justify-content: space-evenly;
  153. align-items: center;
  154. flex-wrap: wrap;
  155. }
  156. .border {
  157. overflow: hidden;
  158. height: max-content;
  159. display: inline-block;
  160. border-radius: 10px;
  161. vertical-align: middle;
  162. margin: 3px 0 3px 0;
  163. border-width: 2px;
  164. border-style: solid;
  165. }
  166. .border .pic {
  167. transition: transform 0.1s;
  168. vertical-align: bottom;
  169. }
  170. .border:hover .pic {
  171. transform: scale(1.1, 1.1);
  172. filter: brightness(75%);
  173. cursor: zoom-in;
  174. }
  175. /* colors */
  176. body, #nav {
  177. background-color: #FFFFFF;
  178. }
  179. .show-comments {
  180. border-bottom-color: #0000CD;
  181. }
  182. a:link, .show-comments {
  183. color: #0000CD;
  184. }
  185. a:visited {
  186. color: #4B0082;
  187. }
  188. body, #nav, #nav a:link, #nav a:visited {
  189. color: #000000;
  190. }
  191. #nav {
  192. border-bottom-color: #32CD32;
  193. }
  194. hr {
  195. color: #32CD32;
  196. }
  197. table, th, td, pre, .border, .releasecard, #index-avatar {
  198. border-color: #32CD32;
  199. }
  200. .releasecard {
  201. background-color: #C0C0C0;
  202. }
  203. #footer, #footer a:link, #footer a:visited {
  204. color: #808080;
  205. }
  206. /* dark mode */
  207. @media (prefers-color-scheme: dark) {
  208. body, #nav {
  209. background-color: #111111;
  210. }
  211. .show-comments {
  212. border-bottom-color: #7B68EE;
  213. }
  214. a:link, .show-comments {
  215. color: #7B68EE;
  216. }
  217. a:visited {
  218. color: #BA55D3;
  219. }
  220. .releasecard {
  221. background-color: #232323;
  222. }
  223. body, #nav, #nav a:link, #nav a:visited {
  224. color: #FFFFFF;
  225. }
  226. #footer, #footer a:link, #footer a:visited {
  227. color: #B0B0B0;
  228. }
  229. pre {
  230. background-color: #000000;
  231. }
  232. }