grids.css 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /*
  2. Author: W3layout
  3. Author URL: http://w3layouts.com
  4. License: Creative Commons Attribution 3.0 Unported
  5. License URL: http://creativecommons.org/licenses/by/3.0/
  6. */
  7. body{
  8. color: #222;
  9. font-size: 13px;
  10. font-family:Arial, Helvetica, sans-serif;
  11. }
  12. /***** End Header ****/
  13. /**
  14. * Grid container
  15. */
  16. #tiles {
  17. list-style-type: none;
  18. position: relative; /** Needed to ensure items are laid out relative to this container **/
  19. /**margin: 0;*/
  20. }
  21. /**
  22. * Grid items
  23. */
  24. #tiles li {
  25. background-color: #ffffff;
  26. /** border: 1px solid #DDDDDD;*/
  27. display: table;
  28. margin:5px auto;
  29. margin-top: 40px;
  30. }
  31. #tiles li.inactive {
  32. visibility: hidden;
  33. opacity: 0;
  34. float:left;
  35. }
  36. #tiles li img {
  37. display:block;
  38. padding:5px;
  39. }
  40. /**
  41. * Grid item text
  42. */
  43. #tiles li p {
  44. color: #666;
  45. font-size: 10px;
  46. }
  47. #tiles li p img{
  48. /**float:left;*/
  49. padding:3px 8px 5px 10px;
  50. cursor:pointer;
  51. }
  52. #tiles li p span{
  53. /**float:right;*/
  54. padding-top:3px;
  55. padding-right:5px;
  56. }
  57. #tiles li p span{
  58. color: #666;
  59. }
  60. /**
  61. * Some extra styles to randomize heights of grid items.
  62. */
  63. /**#tiles ali:nth-child(3n) {
  64. height: 175px;
  65. }
  66. #tiles ali:nth-child(4n-3) {
  67. padding-bottom: 30px;
  68. }
  69. #tiles ali:nth-child(5n) {
  70. height: 250px;
  71. }*/
  72. /** General page styling **/
  73. #main {
  74. padding: 30px 0 30px 0;
  75. }