pockit.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. :root {
  2. --bg: #252525;
  3. --fg: #ffffff;
  4. --fg-5: #ccc;
  5. --gray-6: #4f4f4f;
  6. --gray-5: #404040;
  7. --gray-4: #333;
  8. --gray-3: #252525;
  9. --card-border: #396690;
  10. }
  11. @font-face {
  12. font-family: 'Finlandica';
  13. src: url('/fonts/Finlandica-Regular.otf')
  14. }
  15. body {
  16. background-color: var(--bg);
  17. color: var(--fg);
  18. font-family: 'Finlandica';
  19. font-size: 18px;
  20. margin: 0;
  21. }
  22. /* Buttons */
  23. button {
  24. background-color: var(--gray-4);
  25. border: 1px solid var(--gray-5);
  26. padding: 0.25em;
  27. color: var(--fg-5);
  28. font-size: 18px;
  29. }
  30. button:hover {
  31. background-color: var(--gray-6);
  32. }
  33. a {
  34. text-decoration: underline;
  35. }
  36. a:hover {
  37. text-decoration: none;
  38. }
  39. .text-center {
  40. text-align: center;
  41. }
  42. .actions {
  43. display: flex;
  44. }
  45. .actions-row {
  46. display: flex;
  47. flex-flow: row;
  48. width: 100%;
  49. justify-content: center;
  50. }
  51. .action {
  52. display: flex;
  53. flex-flow: column;
  54. text-align: center;
  55. position: relative;
  56. background-color: transparent;
  57. border-radius: 10px;
  58. padding: 1em;
  59. transition: 100ms;
  60. }
  61. .action:hover {
  62. background-color: rgba(255, 255, 255, 0.3);
  63. }
  64. .action > img {
  65. max-width: 128px;
  66. margin-top: 1em;
  67. }
  68. .action > a {
  69. display: block;
  70. width: 100%;
  71. height: 100%;
  72. color: var(--fg);
  73. }
  74. .stretched-link {
  75. position: absolute;
  76. width: 100%;
  77. height: 100%;
  78. top: 0;
  79. left: 0;
  80. z-index: 1;
  81. }
  82. /* Breadcrumbs */
  83. .breadcrumb {
  84. padding: 0 .5rem;
  85. }
  86. .breadcrumb ul {
  87. display: flex;
  88. flex-wrap: wrap;
  89. list-style: none;
  90. margin: 0;
  91. padding: 0;
  92. }
  93. .breadcrumb li:not(:last-child)::after {
  94. display: inline-block;
  95. margin: 0 .25rem;
  96. content: "→";
  97. color: #808080;
  98. }
  99. .breadcrumb-item a {
  100. color: #006DFF;
  101. }
  102. .breadcrumb-item.active {
  103. color: #808080;
  104. }
  105. /* End Breadcrumbs */
  106. /* Cards */
  107. .card {
  108. border: 2px solid var(--card-border);
  109. border-radius: 15px;
  110. background-color: #2f2f2f;
  111. padding: 1em;
  112. margin: 2em auto;
  113. width: 80%;
  114. }
  115. .card.error {
  116. background-color: #4B2224;
  117. border-color: red;
  118. color: #f9fbf8;
  119. }
  120. /* End Cards */
  121. /* Forms */
  122. .form-control-container {
  123. margin: 1em auto;
  124. position: relative;
  125. display: grid;
  126. grid-template-columns: 50% 50%;
  127. }
  128. label {
  129. padding: 0.5em;
  130. }
  131. .form-control {
  132. padding: 0.5em;
  133. background-color: var(--bg);
  134. color: var(--fg);
  135. outline: none;
  136. border: 1.5px solid transparent;
  137. border-radius: 5px;
  138. font-size: 14pt;
  139. }
  140. .form-control:focus {
  141. border: 1.5px solid var(--card-border);
  142. box-shadow: 0px 0px 2px 2px var(--card-border);
  143. }
  144. .form-control:hover {
  145. box-shadow: 0px 0px 2px 2px var(--card-border);
  146. }
  147. /* End Forms */