-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docsy] Create assets/scss file to hold inline styles (#75)
- Loading branch information
Showing
3 changed files
with
26 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Due to the site's Content-Security-Policy, we must move inline styles | ||
// into this file. For some context, see: | ||
// https://github.com/theupdateframework/theupdateframework.io/issues/73 | ||
|
||
// The following styles appear in the HTML generated for the ... | ||
|
||
// Navbar | ||
|
||
.navbar-logo > svg .st0 { | ||
fill: white; | ||
} | ||
|
||
// Homepage: it will need to be updated when the hero image is changed. | ||
|
||
#td-cover-block-0 { | ||
background-image: url(/featured-background_hu18408291696259244493.jpg) | ||
} | ||
|
||
@media only screen and (min-width:1200px) { | ||
#td-cover-block-0 { | ||
background-image: url(/featured-background_hu16056391159218873026.jpg) | ||
} | ||
} |
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,4 +1,5 @@ | ||
@import 'td/code-dark'; | ||
@import 'csp'; | ||
|
||
.td-navbar { | ||
.navbar-brand { | ||
|
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