main.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. @font-face {
  2. font-family: 'Inconsolata';
  3. font-style: normal;
  4. font-weight: 400;
  5. src: url('../fonts/inconsolata/Inconsolata-Regular.ttf');
  6. }
  7. @font-face {
  8. font-family: 'Inconsolata';
  9. font-style: normal;
  10. font-weight: 700;
  11. src: url('../fonts/inconsolata/Inconsolata-Bold.ttf');
  12. }
  13. body {
  14. background-color: #222222;
  15. color: #ffe1ff;
  16. padding-left: 20px;
  17. padding-right: 20px;
  18. max-width: 1024px;
  19. margin-left: auto;
  20. margin-right: auto;
  21. font-family: 'Inconsolata', monospace;
  22. display: flex;
  23. flex-direction: column;
  24. font-size: 14pt;
  25. min-width: 500px;
  26. }
  27. .main-wrapper {
  28. flex: 1;
  29. /* This is used to make the footer "flush" with the rest of the page */
  30. min-height: 95.5vh;
  31. }
  32. a {
  33. color: #ff67ff;
  34. text-decoration: none;
  35. transition: text-shadow .22s;
  36. }
  37. a:hover {
  38. text-shadow: 0px 0px 2px #ffb0fe;
  39. }
  40. a:visited {
  41. color: #ff35fd;
  42. text-decoration: none;
  43. }
  44. div.header-logo-wrapper {
  45. text-align: center;
  46. }
  47. div.navbar-menu {
  48. display: flex;
  49. flex-direction: row;
  50. justify-content: space-around;
  51. margin-left: auto;
  52. margin-right: auto;
  53. padding: 8px;
  54. font-size: 1.25em;
  55. margin-bottom: 5px;
  56. }
  57. div.small-navbar {
  58. max-width: 500px;
  59. padding: 5px;
  60. }
  61. div.big-navbar {
  62. max-width: 700px;
  63. padding-bottom: 16px;
  64. }
  65. div.navbar-menu a {
  66. color: #ffe2ff;
  67. text-decoration: none;
  68. transition: text-shadow .3s;
  69. text-shadow: 0px 0px 3px #4f4f4f;
  70. }
  71. div.navbar-menu a:hover {
  72. text-shadow: 0px 0px 3px #ffffff;
  73. }
  74. div.content-box {
  75. border-radius: 5px;
  76. border: 3px solid #685f68;
  77. background: #312f31;
  78. padding: 10px;
  79. padding-left: 30px;
  80. padding-right: 30px;
  81. margin-bottom: 10px;
  82. }
  83. .bigger-text {
  84. font-size: 16pt;
  85. }
  86. /* Not super sold on these */
  87. h1 {
  88. color: #ffffff;
  89. font-size: 1.5em;
  90. text-align: center;
  91. font-family: 'Inconsolata', monospace;
  92. }
  93. h2 {
  94. color: #ffffff;
  95. font-size: 1.25em;
  96. text-align: center;
  97. font-family: 'Inconsolata', monospace;
  98. }
  99. h1.title {
  100. text-align: left;
  101. }
  102. .footer {
  103. font-size: 10pt;
  104. text-align: center;
  105. }
  106. .footer a:hover {
  107. text-shadow: 0px 0px 1px #a981a9;
  108. }
  109. div.code {
  110. border-radius: 5px;
  111. border: 3px solid #110e13;
  112. background: #110e13;
  113. padding: 20px;
  114. margin: 20px;
  115. overflow: hidden;
  116. white-space: pre;
  117. }
  118. .blogpost {
  119. margin-top: 10px;
  120. margin-bottom: 10px;
  121. }
  122. .blogpost .post-about {
  123. margin-top: -5px;
  124. font-size: .75em;
  125. color: #d2cfe7;
  126. }
  127. .blogpost .title a {
  128. color: #ffffff;
  129. }
  130. .news-header {
  131. border-radius: 5px;
  132. border: 2px solid #2c2a2c;
  133. margin-left: 350px;
  134. margin-right: 350px;
  135. margin-top: 15px;
  136. margin-bottom: 15px;
  137. text-align: center;
  138. background: #2c2a2c;
  139. }
  140. .news-header h3 {
  141. color: #f2d7f2;
  142. margin-top: 5px;
  143. margin-bottom: 3px;
  144. }
  145. .homepage-video-box {
  146. padding-top: 10px;
  147. display: flex;
  148. justify-content: center;
  149. }
  150. .homepage-video-box video {
  151. width: 800px;
  152. height: 450px;
  153. padding-bottom: 1em;
  154. }
  155. .homepage-news-items {
  156. list-style: none;
  157. padding-left: 2ch;
  158. }
  159. .news-feed-item-date {
  160. font-style: italic;
  161. padding-left: 2ch;
  162. }
  163. video {
  164. outline: none!important;
  165. }