Skip to content

Commit

Permalink
web/style.less: Styles for heading anchors
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
  • Loading branch information
TimothyGu authored and michaelni committed Dec 6, 2014
1 parent 5c2998d commit 5e6ad7e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions generate-doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export FFMPEG_HEADER1="$(cat src/template_head1)"
export FFMPEG_HEADER2="$(cat src/template_head_prod src/template_head2)"
export FFMPEG_HEADER3="$(cat src/template_head3)"
export FFMPEG_FOOTER="$(cat src/template_footer1 src/template_footer_prod src/template_footer2)"
export FA_ICONS=true

rm -rf build-doc
mkdir build-doc && cd build-doc
Expand Down
12 changes: 12 additions & 0 deletions src/less/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ main {
margin: auto;
}

h1, h2, h3, h4, h5, h6 {
a.anchor {
font-size: 18px;
}
}

h1, h2, h3, h4 {
font-weight: bold;
text-align: left;
Expand All @@ -94,6 +100,9 @@ h1, h2, h3 {
strong {
color: @Cinvert;
}
a.anchor {
color: @Cmainlightlightl;
}
}

h4, h5, h6 {
Expand All @@ -115,6 +124,9 @@ h4 {
padding: 10px 0;
margin: 20px 0;
color: @Cinvert;
a.anchor {
color: @Cinvert;
}
}

.list-group {
Expand Down

0 comments on commit 5e6ad7e

Please sign in to comment.