mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-06 10:45:44 +03:00
Move layout-related code to separate component files
This commit is contained in:
parent
3ebc219416
commit
b08effbe8b
5 changed files with 55 additions and 41 deletions
14
themes/wporg-5ftf/css/components/_site-content.scss
Normal file
14
themes/wporg-5ftf/css/components/_site-content.scss
Normal file
|
@ -0,0 +1,14 @@
|
|||
.site-content {
|
||||
|
||||
body:not(.home) & {
|
||||
margin: auto;
|
||||
max-width: none;
|
||||
padding: 0;
|
||||
|
||||
.site-main {
|
||||
margin: 0 auto;
|
||||
padding: 0 ms( 2 );
|
||||
max-width: calc( #{ $size__content-width } + #{ ms( 2 ) * 2 } );
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue