-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Theme: Add footer archive and basic styles to 404 template
See #8
- Loading branch information
Showing
4 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
source/wp-content/themes/wporg-news-2021/sass/components/_404.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.site-content-container.content-404 { | ||
/* | ||
* calc() is only necessary here to work around legacy SCSS. | ||
* | ||
* @link https://stackoverflow.com/questions/54090345/sass-incompatible-units-vw-and-px | ||
* @link https://github.com/WordPress/wporg-news-2021/issues/34 | ||
*/ | ||
margin-top: calc( max( 100px, 15vh ) ); | ||
margin-bottom: calc( min( 100px, 15vh ) ); | ||
text-align: center; | ||
} |
1 change: 1 addition & 0 deletions
1
source/wp-content/themes/wporg-news-2021/sass/components/_style.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
@import "header"; | ||
@import "404"; |