123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- html,
- body {
- height: 100%;
- background: #f2f2f2;
- }
- *,
- *:before,
- *:after {
- box-sizing: border-box;
- }
- /* Controls
- ---------------------------------------------------------------------- */
- .controls {
- padding: 1rem;
- background: #333;
- font-size: 0.1px;
- }
- .control {
- position: relative;
- display: inline-block;
- width: 2.7rem;
- height: 2.7rem;
- background: #444;
- cursor: pointer;
- font-size: 0.1px;
- color: white;
- transition: background 150ms;
- }
- .control:hover {
- background: #3f3f3f;
- }
- .control[data-filter]:after {
- content: '';
- position: absolute;
- width: 10px;
- height: 10px;
- top: calc(50% - 6px);
- left: calc(50% - 6px);
- border: 2px solid currentColor;
- border-radius: 2px;
- background: currentColor;
- transition: background-color 150ms, border-color 150ms;
- }
- .control[data-sort]:after {
- content: '';
- position: absolute;
- width: 10px;
- height: 10px;
- border-top: 2px solid;
- border-left: 2px solid;
- top: calc(50% - 6px);
- left: calc(50% - 6px);
- transform: translateY(1px) rotate(45deg);
- }
- .control[data-sort*=":desc"]:after {
- transform: translateY(-4px) rotate(-135deg);
- }
- .mixitup-control-active {
- background: #393939;
- }
- .mixitup-control-active[data-filter]:after {
- background: transparent;
- }
- .control:first-of-type {
- border-radius: 3px 0 0 3px;
- }
- .control:last-of-type {
- border-radius: 0 3px 3px 0;
- }
- .checkbox-group {
- display: inline-block;
- padding: .5rem;
- background: #2a2a2a;
- margin-right: .75rem;
- vertical-align: top;
- }
- .checkbox {
- text-align: justify;
- }
- .checkbox:after {
- content: '';
- display: inline-block;
- width: 100%;
- }
- .checkbox-input,
- .checkbox-label {
- display: inline-block;
- }
- .checkbox-label {
- color: white;
- font-family: 'helvetica-neue', arial, sans-serif;
- font-size: .9rem;
- margin-right: .5rem;
- }
- /* Container
- ---------------------------------------------------------------------- */
- .container {
- padding: 1rem;
- text-align: justify;
- font-size: 0.1px;
- }
- .container:after {
- content: '';
- display: inline-block;
- width: 100%;
- }
- /* Target Elements
- ---------------------------------------------------------------------- */
- .mix,
- .gap {
- display: inline-block;
- vertical-align: top;
- }
- .mix {
- background: #fff;
- border-top: .5rem solid currentColor;
- border-radius: 2px;
- margin-bottom: 1rem;
- position: relative;
- }
- .mix:before {
- content: '';
- display: inline-block;
- padding-top: 56.25%;
- }
- .mix.green {
- color: #91e6c7;
- }
- .mix.pink {
- color: #d595aa;
- }
- .mix.blue {
- color: #5ecdde;
- }
- /* Grid Breakpoints
- ---------------------------------------------------------------------- */
- /* 2 Columns */
- .mix,
- .gap {
- width: calc(100%/2 - (((2 - 1) * 1rem) / 2));
- }
- /* 3 Columns */
- @media screen and (min-width: 541px) {
- .mix,
- .gap {
- width: calc(100%/3 - (((3 - 1) * 1rem) / 3));
- }
- }
- /* 4 Columns */
- @media screen and (min-width: 961px) {
- .mix,
- .gap {
- width: calc(100%/4 - (((4 - 1) * 1rem) / 4));
- }
- }
- /* 5 Columns */
- @media screen and (min-width: 1281px) {
- .mix,
- .gap {
- width: calc(100%/5 - (((5 - 1) * 1rem) / 5));
- }
- }
|