style.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. html,
  2. body {
  3. height: 100%;
  4. background: #f2f2f2;
  5. }
  6. *,
  7. *:before,
  8. *:after {
  9. box-sizing: border-box;
  10. }
  11. /* Controls
  12. ---------------------------------------------------------------------- */
  13. .controls {
  14. padding: 16px;
  15. background: #333;
  16. font-size: 0.1px;
  17. }
  18. .control {
  19. position: relative;
  20. display: inline-block;
  21. vertical-align: top;
  22. padding: 10px;
  23. font-size: 15px;
  24. height: 35px;
  25. min-width: 25px;
  26. background: #444;
  27. cursor: pointer;
  28. color: white;
  29. font-weight: 800;
  30. transition: background 150ms;
  31. }
  32. .control:hover {
  33. background: #3f3f3f;
  34. }
  35. .control[data-sort*=":desc"]:after {
  36. transform: translateY(-4px) rotate(-135deg);
  37. }
  38. .mixitup-control-active {
  39. background: #393939;
  40. }
  41. .control[data-filter="all"] {
  42. background: #fff;
  43. }
  44. .control[data-filter=".green"] {
  45. background: #91e6c7;
  46. }
  47. .control[data-filter=".blue"] {
  48. background: #5ecdde;
  49. }
  50. .control[data-filter=".pink"] {
  51. background: #d595aa;
  52. }
  53. .control[data-filter="none"] {
  54. background: #2f2f2f;
  55. }
  56. /* Container
  57. ---------------------------------------------------------------------- */
  58. .container {
  59. padding: 16px;
  60. text-align: justify;
  61. font-size: 0.1px;
  62. }
  63. .container:after {
  64. content: '';
  65. display: inline-block;
  66. width: 100%;
  67. }
  68. /* Target Elements
  69. ---------------------------------------------------------------------- */
  70. .mix,
  71. .gap {
  72. display: inline-block;
  73. vertical-align: top;
  74. }
  75. .mix {
  76. background: #fff;
  77. border-top: 8px solid transparent;
  78. border-radius: 2px;
  79. margin-bottom: 1.25%;
  80. position: relative;
  81. }
  82. .mix:before {
  83. content: '';
  84. display: inline-block;
  85. padding-top: 56.25%;
  86. }
  87. .mix.green {
  88. border-top-color: #91e6c7;
  89. }
  90. .mix.pink {
  91. border-top-color: #d595aa;
  92. }
  93. .mix.blue {
  94. border-top-color: #5ecdde;
  95. }
  96. .mix,
  97. .gap {
  98. width: 24%;
  99. }