pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame^] | 1 | .container { |
2 | width: max(80%, calc(100% - 20px)); | ||||
3 | margin-left: calc((100% - max(80%, calc(100% - 20px))) / 2); | ||||
4 | height: 100%; | ||||
5 | display: flex; | ||||
6 | flex-wrap: wrap; | ||||
7 | justify-content: center; | ||||
8 | } | ||||
9 | |||||
10 | .item { | ||||
11 | width: min(428px, 90%); | ||||
12 | margin: 20px; | ||||
13 | } |