main.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. @import 'theme.scss';
  2. .flex {
  3. display:flex;
  4. flex-flow:wrap;
  5. justify-content:space-between;
  6. a {
  7. padding-bottom:2em;
  8. }
  9. }
  10. a {
  11. color:$link-color;
  12. text-decoration:none;
  13. font-weight:bold;
  14. }
  15. a:hover {
  16. color:$link-color-hover;
  17. font-weight:bold;
  18. text-decoration:underline;
  19. }
  20. body {
  21. margin:0;
  22. background-color: $background-color;
  23. color: $text-color;
  24. }
  25. h1,h2,h3,h4,h5,h6 {
  26. text-align:center;
  27. }
  28. h1 {
  29. padding:2em;
  30. margin:0;
  31. background: $h1-background-color;
  32. color: $h1-color;
  33. }
  34. h2 {
  35. color: $h2-color;
  36. }
  37. h3 {
  38. color: $h3-color;
  39. }
  40. h4 {
  41. color:$h4-color;
  42. }
  43. .blog {
  44. text-align:center;
  45. padding:2em 0;
  46. h3 {
  47. margin:0;
  48. }
  49. time {
  50. display:block;
  51. padding-bottom:2em;
  52. }
  53. }
  54. %shared-font-things {
  55. font-size: 15px;
  56. font-family: Verdana, Geneva, sans-serif;
  57. line-height: 30px;
  58. }
  59. p {
  60. @extend %shared-font-things;
  61. margin:2em 0;
  62. }
  63. %code-font-shared {
  64. font-size:16px;
  65. color:$code-text-color;
  66. }
  67. code {
  68. @extend %code-font-shared;
  69. }
  70. pre {
  71. border:solid 2px $code-border-color;
  72. border-radius:2em;
  73. //background-color:$grey;
  74. padding:2em;
  75. code {
  76. @extend %code-font-shared;
  77. color:black;
  78. }
  79. }
  80. img {
  81. display:block;
  82. margin:auto;
  83. }
  84. code {
  85. @extend %code-font-shared;
  86. }
  87. ul {
  88. li {
  89. @extend %shared-font-things;
  90. margin:1em;
  91. }
  92. }
  93. .basic-section-padding {
  94. max-width:70%;
  95. padding:2em 0 2em 15%;
  96. }
  97. .section-background {
  98. background-color:$darker-green;
  99. a:hover {
  100. color:$link-color-hover-navbar;
  101. text-decoration:underline;
  102. }
  103. }
  104. .text-white {
  105. color:white;
  106. }
  107. //phone view
  108. @media (max-width:800px) {
  109. main {
  110. padding:2em 1.5em 2em 1.5em;
  111. max-width:100%;
  112. }
  113. ul {
  114. padding-left:1.5em;
  115. li {
  116. margin:0;
  117. }
  118. }
  119. }
  120. // css for the services form
  121. form {
  122. p {
  123. padding-left:2em;
  124. }
  125. label {
  126. min-width:10em;
  127. display:inline-block;
  128. padding-left:2em;
  129. }
  130. input {
  131. min-width:15em;
  132. display:inline-block;
  133. margin:0 0 2em 2em;
  134. }
  135. input[type="radio"] {
  136. min-width:5em;
  137. display:inline-block;
  138. margin:0 0 2em 0;
  139. }
  140. input[type="checkbox"] {
  141. margin:0 0 2em 15em;
  142. min-width:0;
  143. }
  144. textarea {
  145. margin-left:2.5em;
  146. }
  147. ul {
  148. list-style-type:none;
  149. }
  150. fieldset {
  151. margin-bottom:2em;
  152. }
  153. }
  154. .hidden {
  155. display:none;
  156. }