feat: Add custom branding CSS and example JSON for communications site
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
#CustomHeader {
|
||||
align-items: stretch;
|
||||
background: #ffffff;
|
||||
border-bottom: 1px solid #edebe9;
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
font-family: "Segoe UI", "Segoe UI Web (West European)", sans-serif;
|
||||
@@ -209,6 +208,10 @@
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.ms-compositeHeader {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@media (forced-colors: active) {
|
||||
#CustomHeader,
|
||||
.portal-branding,
|
||||
+3
-3
@@ -10,7 +10,7 @@
|
||||
"allowedCssHosts": [],
|
||||
"cssfiles": [
|
||||
{
|
||||
"path": "~sitecollection/SiteAssets/branding/custom-branding.css",
|
||||
"path": "http://portal.contoso.local/SiteAssets/branding/custom-branding.css",
|
||||
"media": "all"
|
||||
}
|
||||
],
|
||||
@@ -36,7 +36,7 @@
|
||||
"type": "a",
|
||||
"attributes": {
|
||||
"class": "portal-branding-home",
|
||||
"href": "~sitecollection/SitePages/Home.aspx",
|
||||
"href": "http://portal.contoso.local/SitePages/Home.aspx",
|
||||
"title": "Zur Portal-Startseite"
|
||||
},
|
||||
"children": [
|
||||
@@ -44,7 +44,7 @@
|
||||
"type": "img",
|
||||
"attributes": {
|
||||
"class": "portal-branding-logo",
|
||||
"src": "~sitecollection/SiteAssets/branding/logo.png",
|
||||
"src": "http://portal.contoso.local/Branding/Images/logo.png",
|
||||
"alt": "Zentrale Abbildende Aufklärung"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user