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