summaryrefslogtreecommitdiff
path: root/front.scss
blob: e62cf19e7fa94d4bc7a9bf63aa3062250cd56cea (plain)
  1. @import 'h5bp/helpers';
  2. @import 'compass/css3';
  3. @import "partials/base";
  4. #content {
  5. width: 96%;
  6. max-width: none;
  7. margin: 2%;
  8. }
  9. .inlinepage {
  10. position: relative;
  11. //set to make inline header position work
  12. border: 0;
  13. padding: 0;
  14. margin: 0 0 1em 0;
  15. background-color: transparent;
  16. height: 15em;
  17. overflow: hidden;
  18. }
  19. //set to annull style.css
  20. .inlinecontent {
  21. margin-top: 0;
  22. }
  23. .inlineheader {
  24. display: block;
  25. position: absolute;
  26. bottom: 0;
  27. left: 0;
  28. width: 100%;
  29. a {
  30. font-weight: normal;
  31. color: white;
  32. background-color: #6699cc;
  33. display: block;
  34. padding: 0.5em;
  35. opacity: 0.8;
  36. }
  37. }
  38. .inlinecontent p {
  39. margin-bottom: 0;
  40. margin-top: 0;
  41. }
  42. .inlinefooter,
  43. .inlineheader .author,
  44. .sidebar,
  45. .farbar {
  46. @include h5bp-hidden;
  47. }
  48. //Responsive design
  49. @media screen and (max-width: 480px) {
  50. #content {
  51. width: 100%;
  52. margin: 0;
  53. }
  54. .columns {
  55. @include column-count(1);
  56. }
  57. .inlinepage {
  58. margin: 0;
  59. }
  60. }
  61. @media screen and (min-width: 480px) and (max-width: 700px) {
  62. .columns {
  63. @include column-count(2);
  64. }
  65. }
  66. @media screen and (min-width: 701px) {
  67. .columns {
  68. @include column-count(3);
  69. }
  70. }