summaryrefslogtreecommitdiff
path: root/local.scss
blob: e8997b82e6b7b9e0d1c77688de1a20df5dd63d58 (plain)
  1. @import "partials/base";
  2. @import "h5bp";
  3. @import "blueprint";
  4. @include h5bp-media;
  5. @include blueprint-typography;
  6. h1 {
  7. font-size: 2.75em;
  8. }
  9. h1 {
  10. margin-top: 1em;
  11. margin-bottom: 1em;
  12. }
  13. h2,
  14. h3 {
  15. margin-top: 1em;
  16. margin-bottom: 0.1em;
  17. }
  18. h1,
  19. h2,
  20. h3,
  21. h4,
  22. h5,
  23. h6 {
  24. color: $accent;
  25. }
  26. a {
  27. font-weight: inherit;
  28. text-decoration: none;
  29. &:hover {
  30. text-decoration: underline;
  31. }
  32. }
  33. em {
  34. color: black;
  35. font-weight: bold;
  36. font-style: inherit;
  37. }
  38. img.icon {
  39. float: right;
  40. height: 20%;
  41. width: 20%;
  42. margin: 0 0 1em 1em;
  43. }
  44. /*
  45. body {
  46. background-color: transparent;
  47. background-image: url("pil.png");
  48. background-repeat: no-repeat;
  49. background-attachment: fixed;
  50. background-position: right bottom;
  51. margin: 0 0 100px 0;
  52. }
  53. */
  54. @page {
  55. margin: 2em;
  56. }
  57. div.header span {
  58. display: none;
  59. }
  60. div.pageheader {
  61. background-color: $base;
  62. height: 110px;
  63. margin: 10px 0;
  64. }
  65. div.branding {
  66. display: block;
  67. height: 100px;
  68. background-image: url(butterfly.png);
  69. background-position: 20% 0;
  70. background-repeat: no-repeat;
  71. color: $link_color;
  72. }
  73. div#branding-logo {
  74. position: absolute;
  75. top: 75px;
  76. width: 100%;
  77. right: 3%;
  78. text-align: right;
  79. @media print {
  80. img {
  81. height: auto;
  82. width: 50%;
  83. }
  84. }
  85. }
  86. div#branding-tagline {
  87. margin: 15px;
  88. }
  89. div#branding-tagline,
  90. div#branding-tagline a {
  91. @include h5bp-hidden;
  92. font-weight: bold;
  93. font-size: 130%;
  94. }
  95. div.actions {
  96. z-index: 1;
  97. position: fixed;
  98. bottom: 2em;
  99. }
  100. div.topbar {
  101. float: right;
  102. background-color: $accent-light;
  103. margin: 0;
  104. padding: 0;
  105. text-align: center;
  106. font-weight: bold;
  107. width: 100%;
  108. @media print {
  109. @include h5bp-hidden;
  110. }
  111. @media screen and (max-width: 480px) {
  112. background-size: 96%;
  113. background-position: 2%;
  114. }
  115. }
  116. div.topbar ul {
  117. list-style-type: none;
  118. padding: 0;
  119. margin-top: 0;
  120. margin-bottom: 0;
  121. font-size: 1.2em;
  122. line-height: 2.5em;
  123. li {
  124. display: inline-block;
  125. color: $accent;
  126. margin: 0 3em 0 0;
  127. }
  128. }
  129. div.topbar a:hover,
  130. div.topbar span.selflink {
  131. color: $base;
  132. text-decoration: none;
  133. }
  134. form#searchform {
  135. display: block;
  136. right: 15px;
  137. margin: 0;
  138. position: absolute;
  139. top: 5px;
  140. @media print {
  141. @include h5bp-hidden;
  142. }
  143. }
  144. div#pagebody {
  145. float: left;
  146. width: 100%;
  147. }
  148. div#content {
  149. @media not print {
  150. margin: 2% 25% 15% 22%;
  151. }
  152. padding: 0;
  153. max-width: 55em;
  154. }
  155. div.sidebar {
  156. float: left;
  157. border: none;
  158. margin-top: 1em;
  159. margin-left: -100%;
  160. margin-right: 2%;
  161. width: 17%;
  162. padding: 0 0 0 1%;
  163. @media print {
  164. @include h5bp-hidden;
  165. }
  166. a {
  167. color: $accent;
  168. &:hover {
  169. color: $accent-light;
  170. text-decoration: underline;
  171. }
  172. }
  173. ul {
  174. margin: 0px;
  175. padding: 0px;
  176. font-weight: bold;
  177. li {
  178. line-height: 2;
  179. list-style-type: none;
  180. span.selflink {
  181. color: $accent-light;
  182. }
  183. }
  184. }
  185. }
  186. div.sidebar ul ul li {
  187. margin-left: 10%;
  188. }
  189. div.sidebar div.notebox {
  190. color: $base !important;
  191. background-color: #ff30ff;
  192. border: none;
  193. text-align: center;
  194. p {
  195. margin: 1.2em 0;
  196. }
  197. a {
  198. color: inherit;
  199. font-weight: bold;
  200. }
  201. }
  202. div.farbar {
  203. float: left;
  204. margin-top: 2%;
  205. margin-left: -23%;
  206. background-color: $accent-light;
  207. width: 20%;
  208. // max-width: 300px;
  209. padding: 1%;
  210. @media print {
  211. @include h5bp-hidden;
  212. }
  213. h2 {
  214. color: black;
  215. margin-top: 0;
  216. }
  217. }
  218. div.notebox {
  219. float: none;
  220. width: auto;
  221. color: $accent !important;
  222. background-color: none;
  223. margin-left: 0;
  224. border: medium dashed $accent-light;
  225. text-align: center;
  226. }
  227. div.inlinepage {
  228. margin: 1em 0;
  229. border: 1px solid $accent-light;
  230. border-style: solid;
  231. padding: 1em;
  232. overflow: visible;
  233. min-height: 12em;
  234. img.icon {
  235. height: 15%;
  236. width: 15%;
  237. }
  238. }
  239. div.inlinepage div.inlinepage {
  240. margin: 0;
  241. padding: 0;
  242. border-style: 0;
  243. border-width: 0;
  244. }
  245. div.inlinepage div.inlinepage div.inlineheader,
  246. div.inlinefooter {
  247. display: none;
  248. }
  249. .archivepagedate {
  250. display: none;
  251. }
  252. div#footer{
  253. width:100%
  254. }
  255. div#pageinfo {
  256. border-top: 0;
  257. padding: 1em 1em 1em 20px;
  258. margin: 15px 0 0 0;
  259. color: $base;
  260. background-color: $accent-light;
  261. }
  262. div.tags {
  263. display: none;
  264. }
  265. div#backlinks {
  266. display: none;
  267. }
  268. div.pageheader div.actions ul {
  269. border-bottom: 0;
  270. padding: 0 0 0.7em 1em;
  271. }
  272. div.pagedate {
  273. display: none;
  274. margin-top: 0;
  275. }
  276. div.pagecopyright,
  277. div.pagecopyright p {
  278. margin-top: 0;
  279. margin-bottom: 1em;
  280. }
  281. //Responsive design
  282. @media screen and (max-width: 480px) {
  283. div#content {
  284. max-width: 96%;
  285. margin: 0;
  286. padding: 0 4%;
  287. }
  288. div.inlinepage {
  289. margin: 0;
  290. }
  291. div.farbar {
  292. width: 96%;
  293. margin-left: 0;
  294. padding: 0 4%;
  295. }
  296. div.sidebar {
  297. float: none;
  298. width: 96%;
  299. margin-left: 0;
  300. padding: 0 4%;
  301. }
  302. }