This repository has been archived by the owner on Apr 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #627 from Automattic/update/external-css
Framework: Extract styles into 2 separate css files for better distribution and debugging
- Loading branch information
Showing
10 changed files
with
95 additions
and
84 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
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
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
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,16 +1,18 @@ | ||
doctype html | ||
html(dir=isRtl ? 'rtl' : 'ltr' ) | ||
head | ||
if localeData | ||
script(type='text/javascript')!='var localeData = ' + JSON.stringify( localeData ) + ';' | ||
title=title | ||
meta(name="viewport" content="width=device-width, initial-scale=1.0") | ||
link(rel="stylesheet", href="/styles/reset.css") | ||
style(type='text/css'). | ||
#{css} | ||
|
||
if css | ||
style(type='text/css'). | ||
#{css} | ||
if styles | ||
link(rel="stylesheet", href=styles) | ||
body | ||
#content!= content | ||
if isEnabled( 'sentry' ) | ||
script(src="https://cdn.ravenjs.com/3.7.0/raven.min.js") | ||
if localeData | ||
script(type='text/javascript')!='var localeData = ' + JSON.stringify( localeData ) + ';' | ||
script(src=bundle) |
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
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