Skip to content

Commit 10b2996

Browse files
docfix/Tweak branding.md document
1 parent 305eaae commit 10b2996

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

branding.md

+37-1
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,46 @@ Look and feel of the API landing page can be modified via css and with a number
44

55
## CSS
66

7-
The default css is located here:
7+
### Main CSS
8+
9+
The main css is located here:
810

911
OBP-API/src/main/webapp/media/css/website.css
1012

13+
In case you want to keep it outside of the public code you can specify a new URI via props `webui_main_style_sheet`. For instance:
14+
15+
webui_override_style_sheet = https://static.openbankproject.com/test/css/website.css
16+
17+
### Override CSS
18+
19+
The override css is used if you use `OBP-API/src/main/webapp/media/css/website.css` but you want to override some instance specific values.
20+
In that case you can do it via props `webui_override_style_sheet` i.e.
21+
22+
webui_override_style_sheet = https://static.openbankproject.com/test/css/override.css
23+
24+
where `override.css` could be:
25+
26+
```css
27+
.navbar-default .navbar-nav > li #navitem-logo {
28+
padding-top: 11px;
29+
padding-bottom: 11px;
30+
margin-right: 16px;
31+
height: 88px;
32+
margin-left: 0;
33+
}
34+
35+
.navbar-default .navbar-nav > li #navitem-logo img {
36+
width: 67px;
37+
height: 67px;
38+
}
39+
40+
41+
42+
#main-about {
43+
height: 552px;
44+
}
45+
```
46+
1147
## Props
1248

1349
There's a number of props variables starting with webui_* - see OBP-API/src/main/resources/props/sample.props.template for a comprehensive list and default values.

0 commit comments

Comments
 (0)