base-grid.css 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* base-grid.css ---
  2. Copyright (C) 2010 António P. P. Almeida <appa@perusio.net>
  3. Author: António P. P. Almeida <appa@perusio.net>
  4. This program is free software, you can redistribute it and/or
  5. modify it under the terms of the new-style BSD license.
  6. You should have received a copy of the BSD license along with this
  7. program. If not, see <http://www.debian.org/misc/bsd.license>.
  8. Inspired & stolen from Nicole Sullivan's OOCSS http://oocss.org
  9. This file is the base grid for the tinycss framework. */
  10. @media screen and (max-width: 319px) {
  11. .unit {
  12. float: none !important;
  13. width: auto !important;
  14. }
  15. }
  16. .line:after, .lastUnit:after {
  17. clear: both;
  18. display: block;
  19. visibility: hidden;
  20. overflow:hidden;
  21. height:0 !important;
  22. line-height: 0;
  23. font-size: xx-large;
  24. content: " x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x ";
  25. }
  26. .unit {
  27. float: left;
  28. }
  29. .lastUnit {
  30. display: table-cell;
  31. float: none;
  32. width: auto;
  33. }