mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-22 02:53:43 +03:00
parent
e20a834cb0
commit
b3940e8943
|
@ -20,6 +20,6 @@
|
||||||
@import "../../../pub/wporg/css/components/wporg-footer";
|
@import "../../../pub/wporg/css/components/wporg-footer";
|
||||||
@import "../../../pub/wporg/css/components/wporg-header";
|
@import "../../../pub/wporg/css/components/wporg-header";
|
||||||
@import "about";
|
@import "about";
|
||||||
@import "child-pages";
|
|
||||||
@import "entry-content";
|
@import "entry-content";
|
||||||
|
@import "page";
|
||||||
@import "wporg-header";
|
@import "wporg-header";
|
||||||
|
|
|
@ -6,6 +6,12 @@
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
color: $color__text-heading-darker;
|
color: $color__text-heading-darker;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: ms( 2 );
|
||||||
|
font-weight: 400;
|
||||||
|
color: $color__text-heading;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
p.has-background,
|
p.has-background,
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Styles for child pages.
|
body.page:not(.home) {
|
||||||
body.page-child {
|
|
||||||
.site-title a {
|
.site-title a {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -10,26 +9,30 @@ body.page-child {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.site-main {
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 0 ms( 2 );
|
||||||
|
max-width: calc( #{ $size__content-width } + #{ ms( 2 ) * 2 } );
|
||||||
|
}
|
||||||
|
|
||||||
.entry-header {
|
.entry-header {
|
||||||
background: none;
|
background: none;
|
||||||
margin: 0 auto;
|
|
||||||
max-width: 960px;
|
|
||||||
padding: 0 ms( 4 );
|
|
||||||
|
|
||||||
.entry-title {
|
.entry-title {
|
||||||
color: inherit;
|
color: $color__text-heading-darker;
|
||||||
font-size: ms( 8 );
|
font-size: ms( 8 );
|
||||||
font-weight: 400;
|
font-weight: 300;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
margin: 2rem auto 1rem;
|
margin: 2rem auto 1rem;
|
||||||
|
|
||||||
@include breakpoint( 0, $ms-breakpoint ) {
|
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.entry-content {
|
.entry-content {
|
||||||
padding-top: 0;
|
padding: 0 0 ms( 10 );
|
||||||
|
}
|
||||||
|
|
||||||
|
.entry-footer {
|
||||||
|
padding: ms( 10 ) 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -9,3 +9,6 @@ $breakpoint-large: 960px !default;
|
||||||
$breakpoint-medium: 782px !default;
|
$breakpoint-medium: 782px !default;
|
||||||
$breakpoint-small: 600px !default;
|
$breakpoint-small: 600px !default;
|
||||||
$breakpoint-mobile: 480px !default;
|
$breakpoint-mobile: 480px !default;
|
||||||
|
|
||||||
|
$size__site-main: 960px;
|
||||||
|
$size__content-width: 640px;
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue