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