main.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. @font-face {
  2. font-family: league-spartan;
  3. src: url("/static/leaguespartan-bold.ttf");
  4. }
  5. body, html {
  6. width: 100%;
  7. margin: 0em;
  8. background-color: #eee;
  9. font-family: league-spartan, sans-serif;
  10. font-size: 18pt;
  11. }
  12. @media (orientation: landscape) {
  13. .all {
  14. display: grid;
  15. grid-template-columns: 16em auto;
  16. grid-template-rows: 1fr auto 1fr;
  17. text-align: justify;
  18. }
  19. .header {
  20. grid-column: 1 / span 2;
  21. }
  22. .menu {
  23. grid-column: 1;
  24. display: flex;
  25. flex-direction: column;
  26. font-size: 20pt;
  27. }
  28. .menu > a {
  29. padding: 0.5em 0em;
  30. }
  31. .contents {
  32. grid-column: 2;
  33. display: flex;
  34. justify-content: center;
  35. }
  36. .footer {
  37. grid-column: 1 / span 2;
  38. }
  39. .maintext {
  40. width: 80%;
  41. }
  42. .work {
  43. font-size: 24pt;
  44. }
  45. }
  46. @media (orientation: portrait) {
  47. body {
  48. font-size: 24pt;
  49. }
  50. .all {
  51. width: 100%;
  52. display: flex;
  53. flex-direction: column;
  54. align-items: stretch;
  55. }
  56. .menu {
  57. width: 90%;
  58. display: flex;
  59. flex-direction: row;
  60. justify-content: space-between;
  61. }
  62. .maintext {
  63. padding: 1em 2em;
  64. margin-left: auto;
  65. margin-right: auto;
  66. }
  67. .work {
  68. font-size: 28pt;
  69. padding: 0.5em 0em;
  70. }
  71. }
  72. .header {
  73. padding: 20px;
  74. text-transform: uppercase;
  75. }
  76. .sitename {
  77. margin: 0px;
  78. font-size: 24pt;
  79. letter-spacing: 4px;
  80. padding-left: 40px;
  81. color: #ccc;
  82. padding-right: 80px;
  83. margin-top: -40px;
  84. text-align: right;
  85. }
  86. .title {
  87. margin-left: 40px;
  88. margin-top: -40px;
  89. letter-spacing: 4px;
  90. }
  91. .contents {
  92. line-height: 1.5;
  93. font-family: "Helvetica", "Arial", sans-serif;
  94. }
  95. .menu {
  96. text-transform: uppercase;
  97. letter-spacing: 2px;
  98. padding-top: 5px;
  99. padding-bottom: 5px;
  100. margin-left: auto;
  101. margin-right: auto;
  102. }
  103. a:link {
  104. text-decoration: none;
  105. color: #cc3366;
  106. }
  107. a:visited {
  108. color: #993366;
  109. }
  110. .footer {
  111. text-align: center;
  112. letter-spacing: 4px;
  113. text-transform: uppercase;
  114. }
  115. pre {
  116. text-indent: 0px;
  117. padding-left: 20px;
  118. }
  119. .quote {
  120. padding: 20px;
  121. margin-top: 20px;
  122. margin-bottom: 20px;
  123. width: 75%;
  124. margin-left: auto;
  125. margin-right: auto;
  126. border-bottom: 2px solid #000;
  127. }
  128. .quotelink {
  129. margin-top: 10px;
  130. text-align: right;
  131. font-size: 12pt;
  132. }
  133. .link {
  134. padding: 20px;
  135. margin-top: 20px;
  136. margin-bottom: 20px;
  137. width: 75%;
  138. margin-left: auto;
  139. margin-right: auto;
  140. }
  141. .permalink {
  142. margin-top: 10px;
  143. text-align: right;
  144. font-size: 12pt;
  145. }
  146. .author p {
  147. display: inline;
  148. }