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

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