123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- /*
- Copyright (C) 2021 Kevin "The Nuclear" Bloom <nuclearkev@dragora.org>
- This file is part of libre-RPN (LR).
- LR is free software: you can redistribute it and/or modify
- it under the terms of the 2-Clause BSD License.
- LR is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- 2-Clause BSD License for more details.
- You should have received a copy of the 2-Clause BSD License
- along with LR. If not, see <https://opensource.org/licenses/BSD-2-Clause>.
- */
- * {
- font-family: "Open Sans";
- margin: 0;
- overflow: hidden;
- text-align: center;
- border-radius: 0;
- }
- html {
- font-size: 10px;
- }
- #app {
- margin-top: 51px;
- position: absolute;
- height: 100%;
- display: flex;
- flex-direction: column;
- width: 100%;
- }
- #directions {
- bottom: 20px;
- left: 0;
- right: 0;
- position: fixed;
- font-weight: bold;
- width: 100%;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- #left_center_right {
- display: flex;
- width: 70px;
- justify-content: space-around;
- }
- #input {
- bottom: 75px; /*bottom: 15px*/
- left: 0;
- right: 0;
- position: fixed;
- font-weight: bold;
- line-height: 2rem;
- font-size: 18px;
- width: 100%;
- display: flex;
- justify-content: center;
- }
- #operand {
- width: 90%;
- border: solid 1px;
- height: 20px;
- padding: 5px;
- margin-left: 10px;
- margin-right: 10px;
- text-align: left;
- }
- #navigator {
- bottom: 0;
- left: 0;
- right: 0;
- position: fixed;
- font-weight: bold;
- background: #ddd;
- line-height: 2rem;
- font-size: 15px;
- display: flex;
- justify-content: space-between;
- flex-shrink: 0;
- }
- #navigator span{
- display: inline-block;
- }
- #left {
- text-align: left;
- /* float: left; */
- width: 33.333%;
- margin-left: 5px;
- }
- #right {
- text-align: right;
- /* float: right */
- width: 33.333%;
- margin-right: 5px;
- }
- #middle {
- width: 33.333%;
- text-align: middle;
- }
- header#title {
- position: fixed;
- top: 2.6rem;
- width: 100%;
- flex-shrink: 0;
- }
- header h1 {
- line-height: 2.5rem;
- background: #02a30f;
- color: #fff;
- padding: 0 1rem;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- font-weight: 300
- }
- body,html{
- background-color:#fafafa;
- }
- #stack {
- padding-left: 5px;
- padding-right: 5px;
- overflow: auto;
- height: auto;
- width: calc(100% - 30px);
- display: flex;
- flex-direction: column;
- justify-content: flex-end;
- align-items: flex-start;
- bottom: 110px; /*bottom: 45px*/
- position: fixed;
- left: 10px;
- top: 0;
- font-size: 18px;
- }
- .stack-item {
- width: 100%;
- border-top: 1px dotted;
- }
- .inner-stack-item {
- text-align: start;
- overflow-wrap: anywhere;
- margin: unset;
- margin-right: 30px;
- }
- .menu {
- height: calc(100% - 10px);
- width: 100%;
- margin-bottom: 45px;
- display: none;
- }
- .menuItem {
- font-size: 14px;
- padding: 5px;
- }
- .active {
- background-color: gray;
- color: white;
- width: 100%;
- height: 25px;
- font-size: 16px;
- padding: 5px;
- }
- .menu-content {
- /* margin-top: 25px; */
- /* overflow-y: scroll; */
- }
- .verse {
- margin-bottom: 5px;
- cursor: pointer;
- }
- .verse sup {
- margin-right: 3px;
- }
- .jumped-to-verse {
- background-color: #fafafa;
- transition: background-color 1s ease-in;
- }
- .active-verse {
- background-color: yellow;
- }
- #end {
- height: 2.3rem;
- width: 100%;
- }
- #query-container {
- display: flex;
- justify-content: center;
- width: 100%
- }
- #query-textbox {
- width: 40%;
- margin-left: 5px;
- margin-right: 5px;
- }
- #query-chap {
- width: 15%;
- margin-left: 5px;
- margin-right: 5px;
- }
- #query-verse {
- width: 15%;
- margin-left: 5px;
- margin-right: 5px;
- }
|