My static website generator using poole https://www.xythobuz.de
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

style.css 4.2KB

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