diff options
Diffstat (limited to 'public/css/body.css')
-rw-r--r-- | public/css/body.css | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/public/css/body.css b/public/css/body.css index 17bdad5..af178a8 100644 --- a/public/css/body.css +++ b/public/css/body.css | |||
@@ -49,6 +49,10 @@ main | |||
49 | background-color: #E3F3FF; | 49 | background-color: #E3F3FF; |
50 | padding: 15px 0; | 50 | padding: 15px 0; |
51 | } | 51 | } |
52 | .hidden | ||
53 | { | ||
54 | display: none; | ||
55 | } | ||
52 | section > h3 | 56 | section > h3 |
53 | { | 57 | { |
54 | padding: 15px; | 58 | padding: 15px; |
@@ -62,28 +66,10 @@ section > h3 | |||
62 | padding: 15px; | 66 | padding: 15px; |
63 | } | 67 | } |
64 | 68 | ||
65 | .grid_columns | 69 | .grid > .section_child |
66 | { | 70 | { |
67 | display: grid; | 71 | display: grid; /* et c'est tout */ |
68 | grid-template-columns: repeat(3, 1fr); | 72 | /*grid-template-columns: repeat(auto-fit, minmax(' . $min_width . 'px, 1fr)); */ /* dans PostBlockBuilder et NewsBlockBuilder */ |
69 | } | ||
70 | @media screen and (max-width: 800px) | ||
71 | { | ||
72 | .grid_columns | ||
73 | { | ||
74 | grid-template-columns: repeat(2, 1fr); | ||
75 | } | ||
76 | } | ||
77 | @media screen and (max-width: 600px) | ||
78 | { | ||
79 | article | ||
80 | { | ||
81 | /*margin: 5px;*/ | ||
82 | } | ||
83 | .grid_columns | ||
84 | { | ||
85 | display: block; | ||
86 | } | ||
87 | } | 73 | } |
88 | .galery_photos | 74 | .galery_photos |
89 | { | 75 | { |