mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-14 06:15:46 +03:00
Theme: Initial commit.
This was forked from `pub/wporg-main` and `pub/wporg-plugins`, and then customized.
This commit is contained in:
commit
de191e098b
38 changed files with 4532 additions and 0 deletions
3
themes/wporg-5ftf/css/objects/_buttons.scss
Normal file
3
themes/wporg-5ftf/css/objects/_buttons.scss
Normal file
|
@ -0,0 +1,3 @@
|
|||
input[type="submit"] {
|
||||
@extend .button;
|
||||
}
|
11
themes/wporg-5ftf/css/objects/_objects.scss
Normal file
11
themes/wporg-5ftf/css/objects/_objects.scss
Normal file
|
@ -0,0 +1,11 @@
|
|||
@import "../../../wporg/css/objects/accessibility";
|
||||
@import "../../../wporg/css/objects/alignments";
|
||||
@import "../../../wporg/css/objects/buttons";
|
||||
@import "../../../wporg/css/objects/clearings";
|
||||
@import "../../../wporg/css/objects/copy";
|
||||
@import "../../../wporg/css/objects/inputs";
|
||||
@import "../../../wporg/css/objects/links";
|
||||
@import "../../../wporg/css/objects/notices";
|
||||
@import "buttons";
|
||||
@import "parallelogram";
|
||||
@import "site-header";
|
23
themes/wporg-5ftf/css/objects/_parallelogram.scss
Normal file
23
themes/wporg-5ftf/css/objects/_parallelogram.scss
Normal file
|
@ -0,0 +1,23 @@
|
|||
.parallelogram {
|
||||
color: #fff;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
opacity: 0.9;
|
||||
padding: 4.7rem 0;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
transform: skew( -15deg) ;
|
||||
|
||||
&:before {
|
||||
font-size: ms( 12 );
|
||||
height: 64px;
|
||||
position: relative;
|
||||
right: 1rem;
|
||||
transform: skew( 15deg );
|
||||
width: 64px;
|
||||
}
|
||||
|
||||
> * {
|
||||
transform: skew( 15deg );
|
||||
}
|
||||
}
|
29
themes/wporg-5ftf/css/objects/_site-header.scss
Normal file
29
themes/wporg-5ftf/css/objects/_site-header.scss
Normal file
|
@ -0,0 +1,29 @@
|
|||
.site-header {
|
||||
.home & {
|
||||
background: #0073aa;
|
||||
|
||||
@include breakpoint( $ms-breakpoint ) {
|
||||
padding: ms( 10 ) ms( 4 );
|
||||
}
|
||||
|
||||
.site-title {
|
||||
color: #fff;
|
||||
display: block;
|
||||
font-size: ms( 10 );
|
||||
font-weight: 300;
|
||||
line-height: 1;
|
||||
margin: 2rem 0 1rem;
|
||||
text-align: center;
|
||||
|
||||
@include breakpoint( $ms-breakpoint ) {
|
||||
font-size: ms( 12 );
|
||||
}
|
||||
}
|
||||
|
||||
.site-description {
|
||||
color: #fff;
|
||||
max-width: ms( 32 );
|
||||
padding: 11px 0;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue