New BG
This commit is contained in:
parent
4ab0680593
commit
a23deddcfe
3 changed files with 1211 additions and 0 deletions
|
@ -14,6 +14,14 @@ body {
|
|||
/*font-family: "Open Sans",sans-serif;*/
|
||||
}
|
||||
|
||||
/* Main background */
|
||||
#custom-css .sub-header-container{
|
||||
background-position: center top;
|
||||
background-size: cover;
|
||||
background-repeat: repeat;
|
||||
background-attachment: fixed;
|
||||
}
|
||||
|
||||
#custom-css #search-video{
|
||||
background: var(--mainBackgroundColor) !important;
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@ function register ({ registerHook, peertubeHelpers }) {
|
|||
const filterUrl = baseStaticUrl + '/images/filter_black.png';
|
||||
const keyboardUrl = baseStaticUrl + '/images/keyboard_black.png';
|
||||
const languagesUrl = baseStaticUrl + '/images/languages_black.png';
|
||||
const backgroundUrl = baseStaticUrl + '/images/back_cube_lm.svg';
|
||||
const image404 = baseStaticUrl + '/images/404.svg'
|
||||
const style = document.createElement('style')
|
||||
document.head.appendChild(style)
|
||||
|
@ -24,6 +25,11 @@ function register ({ registerHook, peertubeHelpers }) {
|
|||
rule+= " background-image: url('"+ keyboardUrl +"'); -webkit-filter: none; filter: none"
|
||||
rule+= " } "
|
||||
sheet.insertRule(rule, 0)
|
||||
// Change background
|
||||
rule = " #custom-css .sub-header-container{ "
|
||||
rule+= " background-image: url('"+ backgroundUrl +"'); -webkit-filter: none; filter: none"
|
||||
rule+= " } "
|
||||
sheet.insertRule(rule, 0)
|
||||
// STYLES END
|
||||
|
||||
/* ANGULAR NAVIGATION-END */
|
||||
|
|
1197
public/images/back_cube_lm.svg
Normal file
1197
public/images/back_cube_lm.svg
Normal file
File diff suppressed because it is too large
Load diff
After Width: | Height: | Size: 59 KiB |
Loading…
Add table
Reference in a new issue