comparison sat_templates/templates/default/static/styles.css @ 188:e85122a39e8f

css (grid): added `overflow: hidden` on items + added .grid__item--small and .grid__item--auto
author Goffi <goffi@goffi.org>
date Sun, 14 Apr 2019 08:09:42 +0200
parents 240bbac435f4
children e5fdd7e13764
comparison
equal deleted inserted replaced
187:7539d98e1d08 188:e85122a39e8f
633 633
634 .grid--center { 634 .grid--center {
635 justify-content: center; 635 justify-content: center;
636 } 636 }
637 637
638 .grid__item {
639 overflow: hidden;
640 margin: 0 0.1em;
641 padding: 0.2em;
642 text-align: center;
643 }
644
638 li.grid__item>a { 645 li.grid__item>a {
639 text-decoration: none; 646 text-decoration: none;
640 color: inherit; 647 color: inherit;
641 } 648 }
642 649
650 .grid__item--small {
651 width: 80px;
652 }
653
643 .grid__item--medium { 654 .grid__item--medium {
644 width: 170px; 655 width: 170px;
645 padding: 0.2em; 656 }
646 text-align: center; 657
658 .grid__item--auto {
647 } 659 }
648 660
649 .grid__item--selectable { 661 .grid__item--selectable {
650 cursor: pointer; 662 cursor: pointer;
651 } 663 }