Skip to content

Commit bbfbdc3

Browse files
nterrayLeSuisse
authored andcommitted
Fix menu hover color and img margin
On administration guide, the top menu items should be white on dark when hovering them. On documentation front page, illustrations in cards should be centered.
1 parent 9b6692b commit bbfbdc3

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To build the documentation in watch mode:
4141
nix-shell
4242
npm ci
4343
npm run build
44-
make SPHINXOPTS="-D html_theme=tuleap_online_doc" watch-html
44+
make watch-html-online-docs
4545

4646
> A web-server will start, the modifies pages will be rebuilt and reloaded automatically each time you save your work.
4747

languages/en/_themes/tuleap_online_doc/style/backbone/_card.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
height: 175px;
3232
}
3333

34+
.doc-content .card-illustration > img {
35+
margin: 0;
36+
}
37+
3438
.card-title {
3539
flex: 0 0 auto;
3640
margin: 0;

languages/en/_themes/tuleap_online_doc/style/backbone/_header.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ body:not(.pinned) {
156156
.header-menu-item {
157157
color: $hexa;
158158

159+
&:hover {
160+
color: variables.$white;
161+
}
162+
159163
&.active {
160164
background: $hexa;
161165
color: variables.$white;

0 commit comments

Comments
 (0)