You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

166 lines
2.7 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. @font-face {
  2. font-family: "Fell";
  3. src: url("/IMFePIit29P.ttf");
  4. }
  5. @font-face {
  6. font-family: "Fell Sc";
  7. src: url("/IMFePIsc29P.ttf");
  8. }
  9. body {
  10. background-color: #e1eef2;
  11. margin: 0;
  12. font-family: "Fell";
  13. hyphens: auto;
  14. display: flex;
  15. flex-direction: column;
  16. height: 100%;
  17. width: 100%;
  18. }
  19. .wrapper {
  20. max-width: 70em;
  21. width: 100%;
  22. height: 100%;
  23. margin: 0 auto;
  24. background-color: #FFC63F;
  25. position: relative;
  26. box-sizing: border-box;
  27. padding: 1em;
  28. flex: 1;
  29. }
  30. .items {
  31. list-style: none;
  32. margin: 0;
  33. padding: 0;
  34. }
  35. .items > li {
  36. display: inline-block;
  37. }
  38. .items > li a {
  39. width: min(12vh, 12vw);
  40. height: min(12vh, 12vw);
  41. background: #D66C00;
  42. border-radius: min(7vh, 7vw);
  43. display: block;
  44. border: 3px solid #1a1c1c;
  45. }
  46. .items > li a:hover {
  47. background-color: #f39a3f;
  48. z-index: 1;
  49. }
  50. .items > li.face-up a {
  51. background-color: #ed8112;
  52. background-size: contain;
  53. background-repeat: no-repeat;
  54. background-position: center;
  55. }
  56. .line {
  57. border-bottom: 3px solid #1a1c1c;
  58. height: 1.4em;
  59. text-align: center;
  60. position: absolute;
  61. transform-origin: 0 0;
  62. padding: 0 min(6vh, 6vw);
  63. box-sizing: border-box;
  64. }
  65. @media (min-width: 30em) {
  66. .line {
  67. font-size: 1.2em;
  68. }
  69. }
  70. .fullview {
  71. width: 100%;
  72. height: 100%;
  73. position: fixed;
  74. left: 0;
  75. top: 0;
  76. background-color: #e1eef280;
  77. box-sizing: border-box;
  78. cursor: default;
  79. display: flex;
  80. align-items: center;
  81. justify-content: center;
  82. }
  83. a.fullview {
  84. text-decoration: none;
  85. }
  86. .fullview > div {
  87. font-size: 1.2em;
  88. max-height: 100%;
  89. max-width: 75vh;
  90. background-color: #006680;
  91. padding: 1em;
  92. color: white;
  93. border-radius: 20px;
  94. border: 5px solid #1a1c1c;
  95. box-sizing: border-box;
  96. display: flex;
  97. flex-direction: column;
  98. }
  99. .fullview > div img {
  100. float: right;
  101. width: 7em;
  102. height: 7em;
  103. border-radius: 7em;
  104. border: 3px solid #1a1c1c;
  105. margin-bottom: 1em;
  106. }
  107. h1, .desc {
  108. font-family: "Fell Sc";
  109. margin-left: 0.5rem;
  110. }
  111. /* This wrapper is necessary so that the scrollbar doesn't clip out of
  112. * the rounded border */
  113. .fulltext-wrapper {
  114. flex-grow: 1;
  115. background-color: #99d7e9;
  116. border-radius: 20px;
  117. border: 3px solid #1a1c1c;
  118. color: #1a1c1c;
  119. overflow: hidden;
  120. }
  121. .fulltext {
  122. padding: 0 0.5em;
  123. overflow-y: auto;
  124. height: 100%;
  125. }
  126. .fulltext p {
  127. margin: 0.5em 0;
  128. }
  129. blockquote {
  130. background: #f9f9f9cc;
  131. border-left: .5em solid #1a1c1c66;
  132. margin: .5em;
  133. padding: .5em;
  134. quotes: "\201C""\201D""\2018""\2019";
  135. /* Otherwise the :before is larger than the blockquote and creates a scrollbar in the parent */
  136. min-height: 4em;
  137. }
  138. blockquote:before {
  139. color: #1a1c1c66;
  140. content: open-quote;
  141. font-size: 4em;
  142. line-height: 0.1em;
  143. margin-right: 0.25em;
  144. float: left;
  145. margin-top: 2.5rem;
  146. }
  147. aside {
  148. float: right;
  149. padding: 1em;
  150. }