1
0

style.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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. #super-secret-pong-game {
  84. background-color: #000;
  85. height: 200px;
  86. width: 400px;
  87. overflow: hidden;
  88. }
  89. #super-secret-pong-score {
  90. position: relative;
  91. color: #fff;
  92. top: 4px;
  93. right: 4px;
  94. text-align: center;
  95. }
  96. .super-secret-pong-paddle {
  97. position: relative;
  98. background-color: #fff;
  99. height: 32px;
  100. width: 2px;
  101. }
  102. #super-secret-pong-left-paddle {
  103. left: 16px;
  104. }
  105. #super-secret-pong-right-paddle {
  106. left: 382px;
  107. }
  108. #super-secret-pong-ball {
  109. position: relative;
  110. background-color: #fff;
  111. height: 4px;
  112. width: 4px;
  113. }
  114. .draggable {
  115. top: 20%;
  116. left: 20%;
  117. }
  118. .hidden {
  119. display: none;
  120. }
  121. .btn {
  122. cursor: pointer;
  123. }
  124. .logo {
  125. width: 3vh;
  126. }
  127. .dock-icon {
  128. font-size: 6vh;
  129. line-height: 0;
  130. }
  131. .closed {
  132. filter: grayscale(100%);
  133. }