1
0

style.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. :root {
  2. --bg-color: #a1c6e0;
  3. --txt-color: #1d4058;
  4. }
  5. body {
  6. margin: 0;
  7. padding: 0;
  8. background-image: url(../images/bg.jpg);
  9. background-size: cover;
  10. background-position-y: 10%;
  11. font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  12. width: 100%;
  13. height: 100%;
  14. overflow: hidden;
  15. }
  16. div {
  17. position: absolute;
  18. border-radius: 1vh;
  19. padding: 1vh;
  20. background-color: var(--bg-color);
  21. color: var(--txt-color);
  22. text-align: center;
  23. }
  24. div .header {
  25. height: 3vh;
  26. background-color: var(--txt-color);
  27. color: var(--bg-color);
  28. margin: -1vh;
  29. padding: 1vh;
  30. border-top-left-radius: 1vh;
  31. border-top-right-radius: 1vh;
  32. display: flex;
  33. justify-content: space-between;
  34. align-items: center;
  35. cursor: grab;
  36. }
  37. div img {
  38. max-height: 40vh;
  39. border-radius: 1vh;
  40. }
  41. div a {
  42. text-decoration: underline dashed 2px;
  43. color: var(--txt-color);
  44. }
  45. #topbar-div {
  46. display: flex;
  47. justify-content: space-between;
  48. align-items: center;
  49. top: 1vh;
  50. left: 1vh;
  51. right: 1vh;
  52. height: 3vh;
  53. z-index: 1;
  54. }
  55. #dock-div {
  56. display: flex;
  57. flex-direction: column;
  58. top: 16vh;
  59. left: -9vh;
  60. bottom: 16vh;
  61. width: 8vh;
  62. transition: all 1s;
  63. z-index: 1;
  64. }
  65. #dock-div:hover {
  66. left: 1vh;
  67. }
  68. #booklist-div {
  69. max-width: 20%;
  70. }
  71. #current-book {
  72. background-color: #dfdfdf;
  73. }
  74. #current-book-metadata {
  75. line-height: 0;
  76. }
  77. #next-book-btn {
  78. text-align: left;
  79. }
  80. #previous-book-btn {
  81. text-align: right;
  82. }
  83. .draggable {
  84. top: 20%;
  85. left: 20%;
  86. }
  87. .hidden {
  88. display: none;
  89. }
  90. .btn {
  91. cursor: pointer;
  92. }
  93. .logo {
  94. width: 3vh;
  95. }
  96. .dock-icon {
  97. font-size: 6vh;
  98. line-height: 0;
  99. }
  100. .closed {
  101. filter: grayscale(100%);
  102. }