mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 05:18:10 +00:00
Poprawki layoutu i responsywności
This commit is contained in:
+12
-7
@@ -152,13 +152,14 @@ main {
|
||||
display: grid;
|
||||
gap: 1em 3em;
|
||||
|
||||
width: 100%;
|
||||
max-width: 1200px;
|
||||
width: 100vw;
|
||||
max-width: 1300px;
|
||||
|
||||
grid-template-columns: 1fr 2fr;
|
||||
|
||||
grid-template-areas: 'inputs list' 'image list';
|
||||
|
||||
padding: 0.5em;
|
||||
|
||||
#inputs-area {
|
||||
grid-area: inputs;
|
||||
}
|
||||
@@ -181,15 +182,19 @@ footer {
|
||||
|
||||
/* MOBILE VIEWS */
|
||||
|
||||
@media screen and (max-width: 1100px) {
|
||||
main {
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-areas: 'inputs' 'image' 'list';
|
||||
justify-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
#app {
|
||||
font-size: calc(0.75vw + 0.6rem);
|
||||
}
|
||||
|
||||
main {
|
||||
margin-top: 3.5em;
|
||||
}
|
||||
|
||||
header {
|
||||
font-size: 0.85em;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user