[FFmpeg-cvslog] [ffmpeg-web] branch master updated. 5e6ad7e web/style.less: Styles for heading anchors
gitolite
ffmpeg-cvslog at ffmpeg.org
Sat Dec 6 03:44:33 CET 2014
The branch, master has been updated
via 5e6ad7e618b59b6500ae171ee5f8297f2aa227f9 (commit)
from 5c2998d99411d3494d30f89a085b0645687e4169 (commit)
- Log -----------------------------------------------------------------
commit 5e6ad7e618b59b6500ae171ee5f8297f2aa227f9
Author: Timothy Gu <timothygu99 at gmail.com>
AuthorDate: Wed Dec 3 21:31:33 2014 -0800
Commit: Michael Niedermayer <michaelni at gmx.at>
CommitDate: Sat Dec 6 03:39:57 2014 +0100
web/style.less: Styles for heading anchors
Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
diff --git a/generate-doc.sh b/generate-doc.sh
index f953a9a..d8d01d3 100755
--- a/generate-doc.sh
+++ b/generate-doc.sh
@@ -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
diff --git a/src/less/style.less b/src/less/style.less
index 378a972..adb6e17 100644
--- a/src/less/style.less
+++ b/src/less/style.less
@@ -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;
@@ -94,6 +100,9 @@ h1, h2, h3 {
strong {
color: @Cinvert;
}
+ a.anchor {
+ color: @Cmainlightlightl;
+ }
}
h4, h5, h6 {
@@ -115,6 +124,9 @@ h4 {
padding: 10px 0;
margin: 20px 0;
color: @Cinvert;
+ a.anchor {
+ color: @Cinvert;
+ }
}
.list-group {
-----------------------------------------------------------------------
Summary of changes:
generate-doc.sh | 1 +
src/less/style.less | 12 ++++++++++++
2 files changed, 13 insertions(+), 0 deletions(-)
hooks/post-receive
--
More information about the ffmpeg-cvslog
mailing list