You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

102 lines
1.5 KiB

  1. #grid {
  2. background-color: #1B1C1D;
  3. padding: 0em 3em;
  4. }
  5. #grid h2 {
  6. margin: 2em 0em 1.5em;
  7. }
  8. /* Shaded */
  9. #grid .shaded.examples .row {
  10. position: relative;
  11. }
  12. #grid .shaded.examples .grid > .column {
  13. position: relative;
  14. z-index: 11;
  15. }
  16. #grid .shaded.examples .grid .column:not(.row):after {
  17. background-color: #FFFFFF;
  18. box-shadow: 0px 0px 0px 1px #DDD inset;
  19. content: "";
  20. display: block;
  21. min-height: 3em;
  22. }
  23. #grid .divided.examples .grid .column:not(.row):after {
  24. background-color: rgba(255, 255, 255, 0.1);
  25. content: "";
  26. display: block;
  27. min-height: 3em;
  28. }
  29. #grid .nested.examples .grid .grid {
  30. box-shadow: 0px 0px 0px 1px #AAA inset;
  31. }
  32. #grid .nested.examples .grid .grid .column:after {
  33. background-color: #FFFFFF;
  34. box-shadow: 0px 0px 0px 1px #DDD inset;
  35. content: "";
  36. display: block;
  37. min-height: 3em;
  38. }
  39. #grid .simple.examples .grid .column:not(.row):not(.grid):after {
  40. content: "";
  41. display: block;
  42. min-height: 50px;
  43. }
  44. /* Animation */
  45. #grid .examples {
  46. margin: 0 auto;
  47. -webkit-animation: grid 7s ease infinite;
  48. -moz-animation: grid 7s ease infinite;
  49. animation: grid 7s ease infinite;
  50. }
  51. @-webkit-keyframes grid {
  52. 0% {
  53. width: 100%;
  54. }
  55. 45% {
  56. width: 85%;
  57. }
  58. 55% {
  59. width: 85%;
  60. }
  61. 100% {
  62. width: 100%;
  63. }
  64. }
  65. @-moz-keyframes grid {
  66. 0% {
  67. width: 100%;
  68. }
  69. 45% {
  70. width: 85%;
  71. }
  72. 55% {
  73. width: 85%;
  74. }
  75. 100% {
  76. width: 100%;
  77. }
  78. }
  79. @keyframes grid {
  80. 0% {
  81. width: 100%;
  82. }
  83. 45% {
  84. width: 85%;
  85. }
  86. 55% {
  87. width: 85%;
  88. }
  89. 100% {
  90. width: 100%;
  91. }
  92. }