main.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. // main.scss: Global styles
  2. // ========================
  3. @import "fonts"; // Fonts (only Noto Serif currently)
  4. ::selection {
  5. background-color: #468;
  6. color: #fff;
  7. }
  8. ::-moz-selection {
  9. background-color: #468;
  10. color: #fff;
  11. }
  12. body {
  13. padding: 0;
  14. background-color: #f2f2f2;
  15. cursor: default;
  16. line-height: 1.618; // Golden ratio
  17. font-family: "Noto Serif";
  18. }
  19. p,
  20. li,
  21. table {
  22. font-size: 1.15em;
  23. }
  24. table {
  25. margin: 2.5em 0;
  26. }
  27. tr {
  28. border-bottom: 1px solid #aaa;
  29. }
  30. code {
  31. background-color: #eee;
  32. color: #555;
  33. }
  34. @media (max-width: 500px) {
  35. .logo {
  36. display: none;
  37. }
  38. }
  39. @media (min-width: 1200px) {
  40. .slogan {
  41. line-height:205px;
  42. }
  43. }
  44. @media (min-width: 768px) {
  45. .title {
  46. margin:0;
  47. line-height:205px;
  48. }
  49. }
  50. h1,
  51. h2,
  52. h3 {
  53. margin: 1em 0 1em 0.5em;
  54. }
  55. a {
  56. transition: 0.15s color;
  57. }
  58. .title {
  59. font-size: 3em;
  60. font-weight: bold;
  61. }
  62. .slogan {
  63. font-size: 2em;
  64. font-style: italic;
  65. }
  66. .bar {
  67. margin-top: 5em; // Prevent the navbar from overlaying the title
  68. }
  69. .navbar {
  70. background-color: rgba(.35, .35, .35, .7);
  71. border: 0;
  72. }
  73. .navbar-brand,
  74. .navbar a {
  75. color: #eee !important;
  76. }
  77. .navbar a:hover,
  78. .navbar a:focus {
  79. color: #bbb !important;
  80. }
  81. .navbar a:active {
  82. color: #fff !important;
  83. text-shadow: 0 0 0.1em #fff;
  84. transition: 0.15s text-shadow;
  85. }
  86. div.logo {
  87. padding: 2em 0;
  88. img {
  89. height: 3em;
  90. margin: 0 2em 0 0;
  91. vertical-align: bottom;
  92. width: 3em;
  93. }
  94. span {
  95. font-size: 2em;
  96. font-weight: bold;
  97. }
  98. }
  99. .recent { // Add recent class to news less than 2 weeks old
  100. color: #262;
  101. }
  102. .footer {
  103. color: #777;
  104. font-size: 1.1em;
  105. margin-top: 2em;
  106. padding: 2em 0;
  107. text-align: center;
  108. }