diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-06-15 22:17:44 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-06-15 22:17:44 +0000 |
commit | 12a88f81de00f9cb2e98d7898efff51e079e79b9 (patch) | |
tree | 71f318da570da58dcf94c5328249809af682d239 /docs/llvm-theme | |
parent | f49a4092bcf679d1634a8023efc593e98a3e5663 (diff) | |
download | external_llvm-12a88f81de00f9cb2e98d7898efff51e079e79b9.zip external_llvm-12a88f81de00f9cb2e98d7898efff51e079e79b9.tar.gz external_llvm-12a88f81de00f9cb2e98d7898efff51e079e79b9.tar.bz2 |
[docs] Make it pretty.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158561 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/llvm-theme')
-rw-r--r-- | docs/llvm-theme/static/llvm-theme.css | 39 |
1 files changed, 34 insertions, 5 deletions
diff --git a/docs/llvm-theme/static/llvm-theme.css b/docs/llvm-theme/static/llvm-theme.css index da4f648..f684d00 100644 --- a/docs/llvm-theme/static/llvm-theme.css +++ b/docs/llvm-theme/static/llvm-theme.css @@ -140,7 +140,7 @@ div.footer a { /* -- body styles ----------------------------------------------------------- */ -p { +p { margin: 0.8em 0 0.5em 0; } @@ -153,7 +153,7 @@ a:hover { color: #2491CF; } -div.body a { +div.body p a{ text-decoration: underline; } @@ -175,10 +175,35 @@ h3 { font-size: 1.2em; } +h3 a:hover { + text-decoration: underline; +} + div.body h1 a, div.body h2 a, div.body h3 a, div.body h4 a, div.body h5 a, div.body h6 a { color: black!important; } +div.body h1, +div.body h2, +div.body h3, +div.body h4, +div.body h5, +div.body h6 { + background-color: #f2f2f2; + font-weight: normal; + color: #20435c; + border-bottom: 1px solid #ccc; + margin: 20px -20px 10px -20px; + padding: 3px 0 3px 10px; +} + +div.body h1 { margin-top: 0; font-size: 200%; } +div.body h2 { font-size: 160%; } +div.body h3 { font-size: 140%; } +div.body h4 { font-size: 120%; } +div.body h5 { font-size: 110%; } +div.body h6 { font-size: 100%; } + h1 a.anchor, h2 a.anchor, h3 a.anchor, h4 a.anchor, h5 a.anchor, h6 a.anchor { display: none; margin: 0 0 0 0.3em; @@ -217,7 +242,7 @@ cite, code, tt { letter-spacing: 0.01em; } -tt { +:not(a.reference) > tt { background-color: #f2f2f2; border-bottom: 1px solid #ddd; color: #333; @@ -232,15 +257,19 @@ hr { margin: 2em; } -a tt { +p a tt { border: 0; color: #CA7900; } -a tt:hover { +p a tt:hover { color: #2491CF; } +a tt { + border: none; +} + pre { font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; |