Skip to content

Commit

Permalink
Max width on main
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianS-eng authored Feb 1, 2024
1 parent 524c8eb commit cc8d09e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ menu {
list-style: none;
margin: 0;
padding: 0; }
main { }
main {
--max-main: 920px; }
p {
margin-inline: 2.5%; }
.p-center {
Expand Down Expand Up @@ -44,6 +45,8 @@ footer {
place-items: center;
}
nav { }
main {
max-width: var(--max-main);}
}
@media (width < 38rem) {
.center {
Expand Down

0 comments on commit cc8d09e

Please sign in to comment.