site.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. html, body {
  2. min-width: 100vw;
  3. min-height: 100vh;
  4. }
  5. body {
  6. background-color: black;
  7. color: snow;
  8. }
  9. a:hover {
  10. font-weight: 500;
  11. }
  12. .title-page a {
  13. font-size: min(6vw,40px);
  14. animation: 3s ease-out 0s 1 fadeIn;
  15. color: snow;
  16. }
  17. .title-page a:hover {
  18. color: snow;
  19. }
  20. .shift-left {
  21. margin-right: 60%;
  22. text-align: end;
  23. text-overflow: ellipsis;
  24. white-space: nowrap;
  25. overflow: hidden;
  26. }
  27. .shift-right {
  28. margin-left: 60%;
  29. text-overflow: ellipsis;
  30. white-space: nowrap;
  31. overflow: hidden;
  32. }
  33. .title-page>h1 {
  34. font-size: 12vw;
  35. height: 12vh+12vw;
  36. font-family: "Times New Roman", Times, serif;
  37. text-align: center;
  38. padding-left: 7vw;
  39. padding-bottom: 5vw;
  40. }
  41. .lift {
  42. display: inline-block;
  43. }
  44. .lift.anim {
  45. animation: 3s ease-out 0s 1 slideDown;
  46. }
  47. .drop {
  48. display: inline-block;
  49. position: relative;
  50. transform: translateY(50%);
  51. }
  52. .drop.anim {
  53. animation: 3s ease-out 0s 1 slideInFromRight;
  54. }
  55. .title-desc {
  56. animation: 6s ease-out 0s 1 fadeIn;
  57. }
  58. @keyframes slideDown {
  59. 0% {
  60. transform: translate(50%);
  61. opacity: 0.0;
  62. }
  63. 50% {
  64. transform: translateY(50%);
  65. opacity: 0.0;
  66. }
  67. 100% {
  68. transform: translateY(0);
  69. opacity: 1.0;
  70. }
  71. }
  72. @keyframes slideInFromRight {
  73. 0% {
  74. transform: translate(50%, 50%);
  75. opacity: 0.0;
  76. }
  77. 50% {
  78. transform: translate(50%, 50%);
  79. opacity: 0.0;
  80. }
  81. 100% {
  82. transform: translateY(0, 50%);
  83. opacity: 1.0;
  84. }
  85. }
  86. @keyframes fadeIn {
  87. 0% {
  88. opacity: 0.0;
  89. }
  90. 50% {
  91. opacity: 0.0;
  92. }
  93. 100% {
  94. opacity: 1.0;
  95. }
  96. }
  97. .title-page p {
  98. font-size: max(16px, 1vw);
  99. }
  100. .list h1 {
  101. font-size: max(2.5vw, 40px);
  102. }
  103. .list p {
  104. font-size: max(2vw, 30px);
  105. }
  106. .list li {
  107. font-size: max(1.5vw, 25px);
  108. }
  109. @media only screen and (max-width: 500px) {
  110. .list .date {
  111. display: none;
  112. }
  113. }
  114. .page {
  115. background-color: floralwhite;
  116. /* background-image: linear-gradient(to right,rgba(0,0,0,1) 0%, rgba(255,255,255,1) 3%, rgba(255,255,255,1) 97%, rgba(0,0,0,1) 100%); */
  117. width: 100%;
  118. color: black;
  119. filter: drop-shadow(0 0 30px white);
  120. }
  121. .page article {
  122. min-height: 95vh;
  123. padding-left: 5%;
  124. padding-right: 5%;
  125. padding-top: 2vh;
  126. padding-bottom: 3vh;
  127. }
  128. .page a {
  129. color: black;
  130. }
  131. .page a:hover {
  132. color: black;
  133. }
  134. .header {
  135. width: 100%;
  136. display: none;
  137. }
  138. .header .page {
  139. filter: none;
  140. padding-bottom: 5vh;
  141. }
  142. @media only screen and (min-width: 993px) {
  143. .header.large {
  144. display: initial;
  145. }
  146. }
  147. @media only screen and (min-width: 768px) and (max-width: 992px) {
  148. .header.medium {
  149. display: initial;
  150. }
  151. }
  152. @media only screen and (max-width: 767px) {
  153. .header.small {
  154. display: initial;
  155. }
  156. }
  157. .navbar {
  158. padding-left: 10px;
  159. }
  160. nav span, nav a {
  161. font-size: max(30px,2vw);
  162. }
  163. nav.bg-dark span, nav.bg-dark a {
  164. color: ivory;
  165. }
  166. nav .logo {
  167. text-decoration: none;
  168. }
  169. nav .logo:hover {
  170. font-weight: initial;
  171. }
  172. nav .spacer {
  173. margin-left: 1vw;
  174. margin-right: 1vw;
  175. }
  176. .footer {
  177. margin-top: 5vh;
  178. }