Lungo.layout.grid.css 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. .row {
  2. width: 100%;
  3. margin: 0 auto;
  4. *zoom: 1;
  5. }
  6. .row:before,
  7. .row:after {
  8. content: "";
  9. display: table;
  10. }
  11. .row:after {
  12. clear: both;
  13. }
  14. .row.one {
  15. height: 10%;
  16. }
  17. .row.two {
  18. height: 20%;
  19. }
  20. .row.three {
  21. height: 30%;
  22. }
  23. .row.four {
  24. height: 40%;
  25. }
  26. .row.five {
  27. height: 50%;
  28. }
  29. .row.six {
  30. height: 60%;
  31. }
  32. .row.seven {
  33. height: 70%;
  34. }
  35. .row.eight {
  36. height: 80%;
  37. }
  38. .row.nine {
  39. height: 90%;
  40. }
  41. .row.ten {
  42. height: 100%;
  43. }
  44. .column,
  45. .columns {
  46. float: left;
  47. position: relative;
  48. display: block;
  49. height: 100%;
  50. }
  51. .column.centered,
  52. .columns.centered {
  53. float: none;
  54. margin: 0 auto;
  55. }
  56. .column.one,
  57. .columns.one {
  58. width: 10%;
  59. }
  60. .column.two,
  61. .columns.two {
  62. width: 20%;
  63. }
  64. .column.three,
  65. .columns.three {
  66. width: 30%;
  67. }
  68. .column.four,
  69. .columns.four {
  70. width: 40%;
  71. }
  72. .column.five,
  73. .columns.five {
  74. width: 50%;
  75. }
  76. .column.six,
  77. .columns.six {
  78. width: 60%;
  79. }
  80. .column.seven,
  81. .columns.seven {
  82. width: 70%;
  83. }
  84. .column.eight,
  85. .columns.eight {
  86. width: 80%;
  87. }
  88. .column.nine,
  89. .columns.nine {
  90. width: 90%;
  91. }
  92. .column.ten,
  93. .columns.ten {
  94. width: 100%;
  95. }
  96. [class*="column"] + [class*="column"]:last-child {
  97. float: right;
  98. }
  99. [class*="column"] + [class*="column"].end {
  100. float: left;
  101. }