mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-22 11:03:43 +03:00
parent
e20a834cb0
commit
7a355b8314
|
@ -20,6 +20,6 @@
|
|||
@import "../../../pub/wporg/css/components/wporg-footer";
|
||||
@import "../../../pub/wporg/css/components/wporg-header";
|
||||
@import "about";
|
||||
@import "child-pages";
|
||||
@import "entry-content";
|
||||
@import "page";
|
||||
@import "wporg-header";
|
||||
|
|
|
@ -6,6 +6,12 @@
|
|||
h1, h2, h3, h4, h5, h6 {
|
||||
color: $color__text-heading-darker;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: ms( 2 );
|
||||
font-weight: 400;
|
||||
color: $color__text-heading;
|
||||
}
|
||||
}
|
||||
|
||||
p.has-background,
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Styles for child pages.
|
||||
body.page-child {
|
||||
body.page:not(.home) {
|
||||
.site-title a {
|
||||
color: #fff;
|
||||
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 {
|
||||
background: none;
|
||||
margin: 0 auto;
|
||||
max-width: 960px;
|
||||
padding: 0 ms( 4 );
|
||||
|
||||
.entry-title {
|
||||
color: inherit;
|
||||
color: $color__text-heading-darker;
|
||||
font-size: ms( 8 );
|
||||
font-weight: 400;
|
||||
font-weight: 300;
|
||||
line-height: 1.5;
|
||||
margin: 2rem auto 1rem;
|
||||
|
||||
@include breakpoint( 0, $ms-breakpoint ) {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.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-small: 600px !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