style.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. @font-face {
  2. font-family:B612;
  3. font-style:normal;
  4. src:url(./B612-Regular.woff2) format("woff2"),url(./B612-Regular.woff) format("woff")
  5. }
  6. @font-face {
  7. font-family:B612;
  8. font-style:italic;
  9. src:url(./B612-Italic.woff2) format("woff2"),url(./B612-Italic.woff) format("woff")
  10. }
  11. @font-face {
  12. font-family:B612;
  13. font-style:normal;
  14. font-weight:700;
  15. src:url(./B612-Bold.woff2) format("woff2"),url(./B612-Bold.woff) format("woff")
  16. }
  17. @font-face {
  18. font-family:B612;
  19. font-style:italic;
  20. font-weight:700;
  21. src:url(./B612-BoldItalic.woff2) format("woff2"),url(./B612-BoldItalic.woff) format("woff")
  22. }
  23. html {
  24. font-family: Optima, Candara, Calibri, Arial, sans-serif;
  25. font-family: B612, sans-serif;
  26. line-height: 1.5;
  27. font-size: 12pt;
  28. }
  29. html, input, textarea, .awesomplete > ul, .awesomplete > ul > li {
  30. background: hsl(30, 0%, 93%);
  31. color: hsl(30, 50%, 44%);
  32. }
  33. body, .awesomplete > ul > li:hover {
  34. background: hsl(30, 50%, 93%);
  35. }
  36. button, .btn, a:any-link {
  37. color: hsl(115, 100%, 25%);
  38. text-decoration: none;
  39. }
  40. a img {
  41. background: hsl(115, 50%, 55%);
  42. }
  43. h2 {
  44. font-size: 2.5em;
  45. margin: 0;
  46. }
  47. h3 {
  48. font-size: 1.2em;
  49. margin: 3ex 0 .1ex 0;
  50. }
  51. .btn.disabled {
  52. color: hsla(115, 100%, 25%, 0.2);
  53. background: hsla(30, 80%, 80%, 0.4);
  54. pointer-events: none;
  55. }
  56. body {
  57. min-height: 500px;
  58. margin: auto;
  59. max-width: 45rem;
  60. padding: 1ex;
  61. }
  62. #footer {
  63. margin-top: 2.5ex;
  64. }
  65. .manytags body {
  66. max-width: initial;
  67. }
  68. #do-post {
  69. margin-top: -1rem;
  70. }
  71. form, table {
  72. margin: 1ex 0;
  73. }
  74. table {
  75. margin-top: 2ex;
  76. }
  77. ol {
  78. list-style: none;
  79. padding: 0;
  80. }
  81. ol > li {
  82. margin: 2ex 0;
  83. clear: both;
  84. }
  85. ol > li:nth-of-type(odd) {
  86. background: hsl(30, 45%, 90%);
  87. }
  88. ol > li > h3 img {
  89. float: right;
  90. border: 1px dotted black;
  91. max-width: 120px;
  92. max-height: 120px;
  93. display: none;
  94. }
  95. p {
  96. -webkit-hyphens: auto;
  97. -moz-hyphens: auto;
  98. hyphens: auto;
  99. margin: .2ex 0;
  100. overflow-wrap: break-word;
  101. overflow: hidden;
  102. word-break: break-word;
  103. word-wrap: break-word;
  104. }
  105. p#tags {
  106. line-height: 1;
  107. }
  108. img.qrcode {
  109. width: 27px;
  110. height: 27px;
  111. }
  112. .btn, button, input, textarea {
  113. border-radius: 4px;
  114. border: 1px solid darkgrey;
  115. min-height: 3.5ex;
  116. }
  117. input, textarea {
  118. font: inherit;
  119. margin: .5ex 0;
  120. padding: 0 1ex;
  121. width: 97%;
  122. }
  123. button, .btn {
  124. background: hsl(30, 80%, 80%);
  125. padding: 1ex;
  126. }
  127. button {
  128. font: inherit;
  129. min-width: 14ex;
  130. padding: .5ex;
  131. }
  132. button[name='delete_edit'] { background: hsla(0, 99%, 50%, 0.75); }
  133. table {
  134. width: 100%;
  135. }
  136. .text-left { text-align: left; }
  137. .text-right { text-align: right; }
  138. .text-center { text-align: center; }
  139. /* https://www.w3schools.com/Css/css_float.asp */
  140. .clearfix::after {
  141. content: "";
  142. clear: both;
  143. display: table;
  144. }
  145. @media only screen and (max-width: 600px) {
  146. .hidden-xs { display: none; }
  147. }
  148. .hidden-logged-in { display:initial; }
  149. .logged-in .hidden-logged-in { display:none; }
  150. .visible-logged-in { display:none; }
  151. .logged-in .visible-logged-in { display:initial; }
  152. .hidden-logged-out { display:initial; }
  153. .logged-out .hidden-logged-out { display:none; }
  154. .visible-logged-out { display:none; }
  155. .logged-out .visible-logged-out { display:initial; }
  156. /* This is a workaround for Browsers that insert additional br tags.
  157. * See http://purl.mro.name/safari-xslt-br-bug */
  158. .rendered.type-text br { display:none; }
  159. .rendered.type-text br.br { display:inline; }
  160. div.awesomplete { display: block; }
  161. .awesomplete > ul > li[aria-selected="true"] {
  162. background: hsl(30, 60%, 83%);
  163. }
  164. .awesomplete mark, .awesomplete li:hover mark, .awesomplete li[aria-selected="true"] mark {
  165. background: inherit;
  166. color: inherit;
  167. text-decoration: underline;
  168. }
  169. @media (prefers-color-scheme: dark) {
  170. html, input, textarea, .awesomplete > ul, .awesomplete > ul > li {
  171. background-color: hsl(0,0%,23%);
  172. color: hsl(30, 60%, 60%);
  173. }
  174. body, .awesomplete > ul > li:hover {
  175. background: hsl(30, 0%, 25%);
  176. }
  177. ol > li:nth-of-type(2n+1) {
  178. background-color: hsl(0,0%,23%);
  179. }
  180. .btn, button, a:any-link {
  181. color: hsl(115, 50%, 45%);
  182. }
  183. .btn, button {
  184. background: hsla(30, 60%, 60%, 0.40);
  185. }
  186. .btn, button, input, textarea {
  187. border-color: #777;
  188. }
  189. .btn.disabled {
  190. background: hsla(30, 60%, 60%, 0.05);
  191. color: hsla(115, 50%, 42%, 0.2);
  192. }
  193. .awesomplete > ul > li[aria-selected="true"] {
  194. background: hsl(30, 60%, 23%);
  195. }
  196. img {
  197. filter: grayscale(30%);
  198. }
  199. }