Tři různé zobrazení seznamu receptů dle displeje
This commit is contained in:
1 parent
3878770f1d
commit
b6a03db174
1 file changed
+7
-2
+7
-2
@@ -139,7 +139,6 @@ main {
|
||||
}
|
||||
|
||||
@media screen and (max-width: 950px){
|
||||
|
||||
main {
|
||||
margin:0;
|
||||
|
||||
@@ -160,9 +159,15 @@ main {
|
||||
h2 { margin-top:0.85em; }
|
||||
|
||||
section.list {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
}
|
||||
|
||||
.filters input:first-child { grid-column: span 4; }
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 640px){
|
||||
main section.list {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user