main.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. /*
  2. Copyright (C) 2021 Kevin "The Nuclear" Bloom <nuclearkev@dragora.org>
  3. This file is part of libre-RPN (LR).
  4. LR is free software: you can redistribute it and/or modify
  5. it under the terms of the 2-Clause BSD License.
  6. LR is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. 2-Clause BSD License for more details.
  10. You should have received a copy of the 2-Clause BSD License
  11. along with LR. If not, see <https://opensource.org/licenses/BSD-2-Clause>.
  12. */
  13. * {
  14. font-family: "Open Sans";
  15. margin: 0;
  16. overflow: hidden;
  17. text-align: center;
  18. border-radius: 0;
  19. }
  20. html {
  21. font-size: 10px;
  22. }
  23. #app {
  24. margin-top: 51px;
  25. position: absolute;
  26. height: 100%;
  27. display: flex;
  28. flex-direction: column;
  29. width: 100%;
  30. }
  31. #directions {
  32. bottom: 20px;
  33. left: 0;
  34. right: 0;
  35. position: fixed;
  36. font-weight: bold;
  37. width: 100%;
  38. display: flex;
  39. flex-direction: column;
  40. justify-content: center;
  41. align-items: center;
  42. }
  43. #left_center_right {
  44. display: flex;
  45. width: 70px;
  46. justify-content: space-around;
  47. }
  48. #input {
  49. bottom: 75px; /*bottom: 15px*/
  50. left: 0;
  51. right: 0;
  52. position: fixed;
  53. font-weight: bold;
  54. line-height: 2rem;
  55. font-size: 18px;
  56. width: 100%;
  57. display: flex;
  58. justify-content: center;
  59. }
  60. #operand {
  61. width: 90%;
  62. border: solid 1px;
  63. height: 20px;
  64. padding: 5px;
  65. margin-left: 10px;
  66. margin-right: 10px;
  67. text-align: left;
  68. }
  69. #navigator {
  70. bottom: 0;
  71. left: 0;
  72. right: 0;
  73. position: fixed;
  74. font-weight: bold;
  75. background: #ddd;
  76. line-height: 2rem;
  77. font-size: 15px;
  78. display: flex;
  79. justify-content: space-between;
  80. flex-shrink: 0;
  81. }
  82. #navigator span{
  83. display: inline-block;
  84. }
  85. #left {
  86. text-align: left;
  87. /* float: left; */
  88. width: 33.333%;
  89. margin-left: 5px;
  90. }
  91. #right {
  92. text-align: right;
  93. /* float: right */
  94. width: 33.333%;
  95. margin-right: 5px;
  96. }
  97. #middle {
  98. width: 33.333%;
  99. text-align: middle;
  100. }
  101. header#title {
  102. position: fixed;
  103. top: 2.6rem;
  104. width: 100%;
  105. flex-shrink: 0;
  106. }
  107. header h1 {
  108. line-height: 2.5rem;
  109. background: #02a30f;
  110. color: #fff;
  111. padding: 0 1rem;
  112. overflow: hidden;
  113. text-overflow: ellipsis;
  114. white-space: nowrap;
  115. font-weight: 300
  116. }
  117. body,html{
  118. background-color:#fafafa;
  119. }
  120. #stack {
  121. padding-left: 5px;
  122. padding-right: 5px;
  123. overflow: auto;
  124. height: auto;
  125. width: calc(100% - 30px);
  126. display: flex;
  127. flex-direction: column;
  128. justify-content: flex-end;
  129. align-items: flex-start;
  130. bottom: 110px; /*bottom: 45px*/
  131. position: fixed;
  132. left: 10px;
  133. top: 0;
  134. font-size: 18px;
  135. }
  136. .stack-item {
  137. width: 100%;
  138. border-top: 1px dotted;
  139. }
  140. .inner-stack-item {
  141. text-align: start;
  142. overflow-wrap: anywhere;
  143. margin: unset;
  144. margin-right: 30px;
  145. }
  146. .menu {
  147. height: calc(100% - 10px);
  148. width: 100%;
  149. margin-bottom: 45px;
  150. display: none;
  151. }
  152. .menuItem {
  153. font-size: 14px;
  154. padding: 5px;
  155. }
  156. .active {
  157. background-color: gray;
  158. color: white;
  159. width: 100%;
  160. height: 25px;
  161. font-size: 16px;
  162. padding: 5px;
  163. }
  164. .menu-content {
  165. /* margin-top: 25px; */
  166. /* overflow-y: scroll; */
  167. }
  168. .verse {
  169. margin-bottom: 5px;
  170. cursor: pointer;
  171. }
  172. .verse sup {
  173. margin-right: 3px;
  174. }
  175. .jumped-to-verse {
  176. background-color: #fafafa;
  177. transition: background-color 1s ease-in;
  178. }
  179. .active-verse {
  180. background-color: yellow;
  181. }
  182. #end {
  183. height: 2.3rem;
  184. width: 100%;
  185. }
  186. #query-container {
  187. display: flex;
  188. justify-content: center;
  189. width: 100%
  190. }
  191. #query-textbox {
  192. width: 40%;
  193. margin-left: 5px;
  194. margin-right: 5px;
  195. }
  196. #query-chap {
  197. width: 15%;
  198. margin-left: 5px;
  199. margin-right: 5px;
  200. }
  201. #query-verse {
  202. width: 15%;
  203. margin-left: 5px;
  204. margin-right: 5px;
  205. }