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