summaryrefslogtreecommitdiff
path: root/local.scss
blob: d4222cb23166a507b969a433928b3984300b9eef (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. @media screen and (max-width: 480px) {
  73. background-position: 2%;
  74. background-size: 96%;
  75. }
  76. }
  77. div#branding-logo {
  78. position: absolute;
  79. top: 75px;
  80. width: 100%;
  81. right: 3%;
  82. text-align: right;
  83. @media print {
  84. img {
  85. height: auto;
  86. width: 50%;
  87. }
  88. }
  89. @media screen and (max-width: 480px) {
  90. img {
  91. max-width: 96%;
  92. height: auto;
  93. margin: 4%;
  94. }
  95. }
  96. }
  97. div#branding-tagline {
  98. margin: 15px;
  99. }
  100. div#branding-tagline,
  101. div#branding-tagline a {
  102. @include h5bp-hidden;
  103. font-weight: bold;
  104. font-size: 130%;
  105. }
  106. div.pageheader div.actions {
  107. position: absolute;
  108. top: 1em;
  109. right: 1em;
  110. ul {
  111. border-bottom: 0;
  112. padding: 0 0 0.7em 1em;
  113. }
  114. a {
  115. color: transparent;
  116. &:hover {
  117. color: lightblue;
  118. text-decoration: none;
  119. }
  120. }
  121. }
  122. div.topbar {
  123. float: right;
  124. background-color: $accent-light;
  125. margin: 0;
  126. padding: 0;
  127. text-align: center;
  128. font-weight: bold;
  129. width: 100%;
  130. @media print {
  131. @include h5bp-hidden;
  132. }
  133. @media screen and (max-width: 480px) {
  134. background-size: 96%;
  135. background-position: 2%;
  136. }
  137. }
  138. div.topbar ul {
  139. list-style-type: none;
  140. padding: 0;
  141. margin-top: 0;
  142. margin-bottom: 0;
  143. font-size: 1.2em;
  144. line-height: 2.5em;
  145. li {
  146. display: inline-block;
  147. color: $accent;
  148. margin: 0 3em 0 0;
  149. }
  150. }
  151. div.topbar a:hover,
  152. div.topbar span.selflink {
  153. color: $base;
  154. text-decoration: none;
  155. }
  156. form#searchform {
  157. display: block;
  158. right: 15px;
  159. margin: 0;
  160. position: absolute;
  161. top: 5px;
  162. @media print {
  163. @include h5bp-hidden;
  164. }
  165. }
  166. div#pagebody {
  167. float: left;
  168. width: 100%;
  169. }
  170. div#content {
  171. @media not print {
  172. margin: 2% 25% 15% 22%;
  173. }
  174. padding: 0;
  175. max-width: 55em;
  176. }
  177. div.sidebar {
  178. float: left;
  179. border: none;
  180. margin-top: 1em;
  181. margin-left: -100%;
  182. margin-right: 2%;
  183. width: 17%;
  184. padding: 0 0 0 1%;
  185. @media print {
  186. @include h5bp-hidden;
  187. }
  188. a {
  189. color: $accent;
  190. &:hover {
  191. color: $accent-light;
  192. text-decoration: underline;
  193. }
  194. }
  195. ul {
  196. margin: 0px;
  197. padding: 0px;
  198. font-weight: bold;
  199. li {
  200. line-height: 2;
  201. list-style-type: none;
  202. span.selflink {
  203. color: $accent-light;
  204. }
  205. }
  206. }
  207. }
  208. div.sidebar ul ul li {
  209. margin-left: 10%;
  210. }
  211. div.sidebar div.notebox {
  212. color: $base !important;
  213. background-color: #ff30ff;
  214. border: none;
  215. text-align: center;
  216. p {
  217. margin: 1.2em 0;
  218. }
  219. a {
  220. color: inherit;
  221. font-weight: bold;
  222. }
  223. }
  224. div.farbar {
  225. float: left;
  226. margin-top: 2%;
  227. margin-left: -23%;
  228. background-color: $accent-light;
  229. width: 20%;
  230. padding: 1%;
  231. @media print {
  232. @include h5bp-hidden;
  233. }
  234. h2 {
  235. color: black;
  236. margin-top: 0;
  237. }
  238. }
  239. div.notebox {
  240. float: none;
  241. width: auto;
  242. color: $accent !important;
  243. background-color: none;
  244. margin-left: 0;
  245. border: medium dashed $accent-light;
  246. text-align: center;
  247. }
  248. div.inlinepage {
  249. margin: 1em 0;
  250. border: 1px solid $accent-light;
  251. border-style: solid;
  252. padding: 1em;
  253. overflow: visible;
  254. min-height: 12em;
  255. img.icon {
  256. height: 15%;
  257. width: 15%;
  258. }
  259. }
  260. div.inlinepage div.inlinepage {
  261. margin: 0;
  262. padding: 0;
  263. border-style: 0;
  264. border-width: 0;
  265. }
  266. div.inlinepage div.inlinepage div.inlineheader,
  267. div.inlinefooter {
  268. display: none;
  269. }
  270. .archivepagedate {
  271. display: none;
  272. }
  273. div#footer{
  274. width:100%
  275. }
  276. div#pageinfo {
  277. border-top: 0;
  278. padding: 1em 1em 1em 20px;
  279. margin: 15px 0 0 0;
  280. color: $base;
  281. background-color: $accent-light;
  282. }
  283. div.tags {
  284. display: none;
  285. }
  286. div#backlinks {
  287. display: none;
  288. }
  289. div.pagedate {
  290. display: none;
  291. margin-top: 0;
  292. }
  293. div.pagecopyright,
  294. div.pagecopyright p {
  295. margin-top: 0;
  296. margin-bottom: 1em;
  297. }
  298. //Responsive design
  299. @media screen and (max-width: 480px) {
  300. div#content {
  301. max-width: 96%;
  302. margin: 0;
  303. padding: 0 4%;
  304. }
  305. div.inlinepage {
  306. margin: 0;
  307. }
  308. div.farbar {
  309. width: 96%;
  310. margin-left: 0;
  311. padding: 0 4%;
  312. }
  313. div.sidebar {
  314. float: none;
  315. width: 96%;
  316. margin-left: 0;
  317. padding: 0 4%;
  318. }
  319. }