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

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