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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. @import "sh_bright.min.css" (prefers-color-scheme: light);
  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. @media (min-height: 750px) {
  35. #nav {
  36. position: fixed;
  37. top: 0;
  38. left: 0;
  39. }
  40. #wrap {
  41. height: 5em;
  42. }
  43. }
  44. pre {
  45. max-height: 300px;
  46. overflow: scroll;
  47. font-size: 0.9em;
  48. padding: 10px;
  49. margin: 1em;
  50. border-width: 2px;
  51. border-style: solid;
  52. border-radius: 10px;
  53. }
  54. .ascii {
  55. font-size: 0.7em;
  56. line-height: 1;
  57. max-height: max-content;
  58. overflow-y: auto;
  59. font-weight: bold;
  60. width: max-content;
  61. }
  62. .textwrap {
  63. display: flex;
  64. justify-content: space-around;
  65. align-items: center;
  66. flex-wrap: wrap;
  67. }
  68. .listdesc {
  69. font-size: 0.75em;
  70. vertical-align: top;
  71. }
  72. .show-comments {
  73. background: none;
  74. border: none;
  75. font: inherit;
  76. cursor: pointer;
  77. border-bottom-width: 1px;
  78. border-bottom-style: solid;
  79. }
  80. .releasecard {
  81. border-width: 2px;
  82. border-style: solid;
  83. width: max-content;
  84. max-width: 100%;
  85. padding: 0.6em 1em 0em 1em;
  86. border-radius: 10px;
  87. text-align: center;
  88. margin: auto;
  89. }
  90. #home {
  91. font-size: 2.5em;
  92. margin-right: 0.5em;
  93. }
  94. #nav ul {
  95. list-style-type: none;
  96. }
  97. #nav ul li {
  98. display: inline;
  99. margin-right: 0.5em;
  100. }
  101. #nav a:link {
  102. font-weight: bold;
  103. text-decoration: none;
  104. }
  105. #nav a:visited {
  106. font-weight: bold;
  107. text-decoration: none;
  108. }
  109. #footer {
  110. text-align: center;
  111. margin-top: 1em;
  112. font-size: small;
  113. }
  114. #index-avatar {
  115. width: 150px;
  116. height: 150px;
  117. float: right;
  118. border-width: 2px;
  119. border-style: solid;
  120. border-radius: 10px;
  121. background-image: url(https://www.gravatar.com/avatar/8d18fec40a74782052fb4c007d212475?s=150);
  122. margin-left: 2em;
  123. margin-bottom: 1em;
  124. }
  125. #index-twitter-page {
  126. width: 100%;
  127. margin-left: auto;
  128. margin-right: auto;
  129. }
  130. iframe[id^='twitter-widget-'] {
  131. width: 100%;
  132. }
  133. div.fonts {
  134. display: inline;
  135. margin-top: 20px;
  136. margin-left: 23px;
  137. }
  138. span.font-big {
  139. font-size: 0.9em;
  140. }
  141. span.font-small {
  142. font-size: 0.6em;
  143. }
  144. .lightgallery {
  145. display: flex;
  146. justify-content: space-evenly;
  147. align-items: center;
  148. flex-wrap: wrap;
  149. }
  150. .border {
  151. overflow: hidden;
  152. height: max-content;
  153. display: inline-block;
  154. border-radius: 10px;
  155. vertical-align: middle;
  156. margin: 3px 0 3px 0;
  157. border-width: 2px;
  158. border-style: solid;
  159. }
  160. .border .pic {
  161. transition: transform 0.1s;
  162. vertical-align: bottom;
  163. }
  164. .border:hover .pic {
  165. transform: scale(1.1, 1.1);
  166. filter: brightness(75%);
  167. cursor: zoom-in;
  168. }
  169. /* colors */
  170. body, #nav {
  171. background-color: #FFFFFF;
  172. }
  173. .show-comments {
  174. border-bottom-color: #0000CD;
  175. }
  176. a:link, .show-comments {
  177. color: #0000CD;
  178. }
  179. a:visited {
  180. color: #4B0082;
  181. }
  182. body, #nav, #nav a:link, #nav a:visited {
  183. color: #000000;
  184. }
  185. #nav {
  186. border-bottom-color: #32CD32;
  187. }
  188. hr {
  189. color: #32CD32;
  190. }
  191. table, th, td, pre, .border, .releasecard, #index-avatar {
  192. border-color: #32CD32;
  193. }
  194. .releasecard {
  195. background-color: #C0C0C0;
  196. }
  197. #footer, #footer a:link, #footer a:visited {
  198. color: #808080;
  199. }
  200. /* dark mode */
  201. @media (prefers-color-scheme: dark) {
  202. body, #nav {
  203. background-color: #111111;
  204. }
  205. .show-comments {
  206. border-bottom-color: #7B68EE;
  207. }
  208. a:link, .show-comments {
  209. color: #7B68EE;
  210. }
  211. a:visited {
  212. color: #BA55D3;
  213. }
  214. .releasecard {
  215. background-color: #232323;
  216. }
  217. body, #nav, #nav a:link, #nav a:visited {
  218. color: #FFFFFF;
  219. }
  220. #footer, #footer a:link, #footer a:visited {
  221. color: #B0B0B0;
  222. }
  223. }