main.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. @font-face {
  2. font-family: 'Inconsolata';
  3. font-style: normal;
  4. font-weight: 400;
  5. src: local('Inconsolata-Regular'), local('Inconsolata'), local('Inconsolata Regular'), url('../fonts/inconsolata/Inconsolata-Regular.ttf');
  6. }
  7. @font-face {
  8. font-family: 'Inconsolata';
  9. font-style: normal;
  10. font-weight: 700;
  11. src: local('Inconsolata-Bold'), local('Inconsolata Bold'), 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: 16pt;
  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. div.content-box h2.title {
  84. margin-left: -10px;
  85. }
  86. div.content-box h1.title {
  87. margin-left: -10px;
  88. }
  89. .bigger-text {
  90. font-size: 16pt;
  91. }
  92. /* Not super sold on these */
  93. h1 {
  94. color: #ffffff;
  95. font-size: 1.5em;
  96. margin: 10px;
  97. font-family: 'Inconsolata', monospace;
  98. }
  99. h2 {
  100. color: #ffffff;
  101. font-size: 1.25em;
  102. margin: 10px;
  103. font-family: 'Inconsolata', monospace;
  104. }
  105. .footer {
  106. font-size: 10pt;
  107. text-align: center;
  108. }
  109. .footer a:hover {
  110. text-shadow: 0px 0px 1px #a981a9;
  111. }
  112. div.code {
  113. border-radius: 5px;
  114. border: 3px solid #110e13;
  115. background: #110e13;
  116. padding: 20px;
  117. margin: 20px;
  118. overflow: hidden;
  119. white-space: pre;
  120. }
  121. .blogpost {
  122. margin-top: 10px;
  123. margin-bottom: 10px;
  124. }
  125. .blogpost .post-about {
  126. margin-top: -5px;
  127. font-size: .75em;
  128. color: #d2cfe7;
  129. }
  130. .blogpost .title a {
  131. color: #ffffff;
  132. }
  133. .news-header {
  134. border-radius: 5px;
  135. border: 2px solid #2c2a2c;
  136. margin-left: 350px;
  137. margin-right: 350px;
  138. margin-top: 15px;
  139. margin-bottom: 15px;
  140. text-align: center;
  141. background: #2c2a2c;
  142. }
  143. .news-header h3 {
  144. color: #f2d7f2;
  145. margin-top: 5px;
  146. margin-bottom: 3px;
  147. }