From ee67e6bc578a421c691d7fce0a1aa87f9157dca7 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 21 Oct 2016 12:40:13 +0100 Subject: don't use pure black and white, change base font --- lib/erl_docgen/priv/css/otp_doc.css | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 219740a557..fdcd2bca25 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -1,7 +1,8 @@ /* standard OTP style sheet */ body { - background: white; - font-family: Verdana, Arial, Helvetica, sans-serif; + background: #fefefe; + color: #3E4349; + font-family: 'goudy old style', 'minion pro', 'bell mt', Georgia, 'Hiragino Mincho Pro', serif; margin: 0; padding: 0; border: 0; @@ -14,7 +15,7 @@ th { font-family: Verdana, Arial, Helvetica, sans-serif } td { font-family: Verdana, Arial, Helvetica, sans-serif } p { font-family: Verdana, Arial, Helvetica, sans-serif } -.header { background: #222; color: #fff } +.header { background: #222; color: #fefefe } .top { background: #efe } .otp { background: #efe } .erlang { background: #ffe } @@ -28,7 +29,7 @@ a:visited { color: blue; text-decoration: none } #container { width: 100%; margin: 0; - background-color: #fff; + background-color: #fefefe; } #leftnav { @@ -67,7 +68,7 @@ span.bold_code { font-family: Courier, monospace; font-weight: bold } span.code { font-family: Courier, monospace; font-weight: normal } .note, .warning, .do, .dont { - border: solid black 1px; + border: solid #3E4349 1px; margin: 1em 3em; } .note .label { @@ -78,7 +79,7 @@ span.code { font-family: Courier, monospace; font-weight: normal } } .note .content { background: #eafeea; - color: black; + color: #3E4349; line-height: 120%; font-size: 90%; padding: 5px 10px; @@ -91,7 +92,7 @@ span.code { font-family: Courier, monospace; font-weight: normal } } .warning .content { background: #FFF0F0; - color: black; + color: #3E4349; line-height: 120%; font-size: 90%; padding: 5px 10px; @@ -104,7 +105,7 @@ span.code { font-family: Courier, monospace; font-weight: normal } } .do .content { background: #eafeea; - color: black; + color: #3E4349; line-height: 120%; font-size: 90%; padding: 5px 10px; @@ -117,7 +118,7 @@ span.code { font-family: Courier, monospace; font-weight: normal } } .dont .content { background: #FFF0F0; - color: black; + color: #3E4349; line-height: 120%; font-size: 90%; padding: 5px 10px; -- cgit v1.2.3 From d621aa8ab3420de2abaf7d839808b7e62f56ec61 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 21 Oct 2016 12:40:57 +0100 Subject: don't use red for the line separating panel --- lib/erl_docgen/priv/css/otp_doc.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index fdcd2bca25..bdb0db5e30 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -42,7 +42,7 @@ a:visited { color: blue; text-decoration: none } overflow:auto; margin: 0; padding: 1px; - border-right: 1px solid red; + border-right: 1px solid #ccc; } #content { -- cgit v1.2.3 From 0e6d53ca9790b8cc8ea8cf87e73b1ad052364231 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 21 Oct 2016 12:41:34 +0100 Subject: use mono as first font family for code --- lib/erl_docgen/priv/css/otp_doc.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index bdb0db5e30..5430a17e22 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -64,8 +64,8 @@ a:visited { color: blue; text-decoration: none } margin: 15px; /* Magins for inner DIV inside each DIV (to provide padding) */ } -span.bold_code { font-family: Courier, monospace; font-weight: bold } -span.code { font-family: Courier, monospace; font-weight: normal } +span.bold_code { font-family: mono, Courier, monospace; white-space: pre; font-weight: bold } +span.code { font-family: mono, Courier, monospace; white-space: pre; font-weight: normal } .note, .warning, .do, .dont { border: solid #3E4349 1px; @@ -138,7 +138,7 @@ span.code { font-family: Courier, monospace; font-weight: normal } font-size: 120%; } -pre { font-family: Courier, monospace; font-weight: normal } +pre { font-family: mono, Courier, monospace; font-weight: normal } .REFBODY { margin-left: 13mm } -- cgit v1.2.3 From 5aa3667dc23df5d16e5b2492b37d514b9322d917 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 21 Oct 2016 12:44:58 +0100 Subject: improve example box colors and spacing --- lib/erl_docgen/priv/css/otp_doc.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 5430a17e22..aade375210 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -129,8 +129,9 @@ span.code { font-family: mono, Courier, monospace; white-space: pre; font } .example { - background-color:#eeeeff; - padding: 0px 10px; + background-color:#f1f3f5; + border: 1px solid #dee2e6; + padding: 0.5em 1em; } .extrafrontpageinfo { color: #C00; -- cgit v1.2.3 From 73c51597876ca53c4062dbd0b8405258c49e734a Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 21 Oct 2016 12:51:13 +0100 Subject: improve warning/info colors --- lib/erl_docgen/priv/css/otp_doc.css | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index aade375210..4310d11f6d 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -68,38 +68,37 @@ span.bold_code { font-family: mono, Courier, monospace; white-space: pre; font span.code { font-family: mono, Courier, monospace; white-space: pre; font-weight: normal } .note, .warning, .do, .dont { - border: solid #3E4349 1px; + border: 1px solid #495057; margin: 1em 3em; } .note .label { - background: #30d42a; - color: white; + background-color: #2b8a3e; + color: #fefefe; font-weight: bold; padding: 5px 10px; } .note .content { - background: #eafeea; - color: #3E4349; + background: #f8f9fa; line-height: 120%; font-size: 90%; - padding: 5px 10px; + padding: 0.5em 1em; } .warning .label { - background: #C00; - color: white; + background: #c92a2a; + color: #fefefe; font-weight: bold; padding: 5px 10px; } .warning .content { - background: #FFF0F0; - color: #3E4349; + background-color: #f8f9fa; + border: 1px solid #dee2e6; line-height: 120%; font-size: 90%; - padding: 5px 10px; + padding: 0.5em 1em; } .do .label { background: #30d42a; - color: white; + color: #fefefe; font-weight: bold; padding: 5px 10px; } @@ -112,7 +111,7 @@ span.code { font-family: mono, Courier, monospace; white-space: pre; font } .dont .label { background: #C00; - color: white; + color: #fefefe; font-weight: bold; padding: 5px 10px; } -- cgit v1.2.3 From d5402ace1bfec1cb55a9550ee380d823d6c83d1d Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 21 Oct 2016 12:53:21 +0100 Subject: improve link colors --- lib/erl_docgen/priv/css/otp_doc.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 4310d11f6d..aec2207ecd 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -22,9 +22,9 @@ p { font-family: Verdana, Arial, Helvetica, sans-serif } .otp2 { background: #efe } .app { background: #ffe } -a:link { color: blue; text-decoration: none } -a:active { color: blue; text-decoration: none } -a:visited { color: blue; text-decoration: none } +a:link { color: #1862ab; text-decoration: none } +a:active { color: #1c7cd6; text-decoration: none } +a:visited { color: #1b6ec2; text-decoration: none } #container { width: 100%; -- cgit v1.2.3 From 45bda44b08d01c0835b7402b752b9c7b07a4b77c Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 21 Oct 2016 13:40:58 +0100 Subject: center erlang logo on left panel --- lib/erl_docgen/priv/css/otp_doc.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index aec2207ecd..6f0019fb32 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -145,3 +145,8 @@ pre { font-family: mono, Courier, monospace; font-weight: normal } .REFTYPES { margin-left: 8mm } footer { } + +.erlang-logo-wrapper{ + text-align: center; + margin-bottom: 1em; +} -- cgit v1.2.3 From 802900e22708ff5258d1a3619e4241ef09a159e6 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 21 Oct 2016 13:46:46 +0100 Subject: improve docs landing page title and subtitle --- lib/erl_docgen/priv/css/otp_doc.css | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 6f0019fb32..ed5b8d5180 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -150,3 +150,13 @@ footer { } text-align: center; margin-bottom: 1em; } + +.main-title{ + text-align: center; +} + +.main-description{ + text-align: center; + margin: 2em 0; + font-size: 1.5em; +} -- cgit v1.2.3 From 6be6bb8a81d875ddb7cbe5c19766d7050236589b Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 21 Oct 2016 14:39:33 +0100 Subject: use list on list of links --- lib/erl_docgen/priv/css/otp_doc.css | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index ed5b8d5180..b1d18b09d5 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -131,6 +131,7 @@ span.code { font-family: mono, Courier, monospace; white-space: pre; font background-color:#f1f3f5; border: 1px solid #dee2e6; padding: 0.5em 1em; + margin: 1em 0; } .extrafrontpageinfo { color: #C00; -- cgit v1.2.3 From 224a1977ac4efc77078adc8490a396805a3dd270 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 21 Oct 2016 16:41:10 +0100 Subject: improve table styling --- lib/erl_docgen/priv/css/otp_doc.css | 45 ++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index b1d18b09d5..1ff9bcade2 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -69,7 +69,7 @@ span.code { font-family: mono, Courier, monospace; white-space: pre; font .note, .warning, .do, .dont { border: 1px solid #495057; - margin: 1em 3em; + margin: 1em 0; } .note .label { background-color: #2b8a3e; @@ -161,3 +161,46 @@ footer { } margin: 2em 0; font-size: 1.5em; } + +.doc-table-wrapper{ + width: 100%; +} + +.doc-table{ + min-width: 50%; + margin: 0 auto; +} + +.doc-table-caption{ + margin-top: 1em; + font-style: italic; + text-align: center; +} + +table { + border-collapse: collapse; + min-width: 50%; + margin: 1em; +} + +table, th, td { + border: 1px solid #666; +} + +th, td { + padding: 0.5em; + text-align: left; +} + +tr:hover { + background-color: #f5f5f5; +} + +tr:nth-child(even) { + background-color: #f2f2f2; +} + +th { + background-color: #777; + color: #fefefe; +} -- cgit v1.2.3 From b234f1de2c8eaba384b30014f01cfc8d58b096bd Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 21 Oct 2016 16:42:40 +0100 Subject: improve left panel section info and menu --- lib/erl_docgen/priv/css/otp_doc.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 1ff9bcade2..cbeb1037a9 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -204,3 +204,16 @@ th { background-color: #777; color: #fefefe; } + +.section-title, .section-subtitle, .section-version{ + text-align: center; + margin: 0; +} + +.section-title{ + font-weight: bold; +} + +.section-version{ + font-size: small; +} -- cgit v1.2.3 From db41a7fe2ebbc44c7fa16835630c11fe78a9cc4a Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 21 Oct 2016 16:43:53 +0100 Subject: anchor section shouldn't look like a link --- lib/erl_docgen/priv/css/otp_doc.css | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index cbeb1037a9..b73aeb27ae 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -217,3 +217,11 @@ th { .section-version{ font-size: small; } + +.expand-collapse-items{ + font-size: small; +} + +h3>a{ + color: #3E4349; +} -- cgit v1.2.3 From 1a48f131dd39ae406a3aedf997090a54052a42c2 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 21 Oct 2016 17:20:28 +0100 Subject: simplify font-family choice --- lib/erl_docgen/priv/css/otp_doc.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index b73aeb27ae..f4388bae03 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -2,7 +2,7 @@ body { background: #fefefe; color: #3E4349; - font-family: 'goudy old style', 'minion pro', 'bell mt', Georgia, 'Hiragino Mincho Pro', serif; + font-family: serif; margin: 0; padding: 0; border: 0; -- cgit v1.2.3 From 985d1a0f274048cc891b49d68e7d905f19643c48 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 21 Oct 2016 17:20:54 +0100 Subject: force black on title anchors --- lib/erl_docgen/priv/css/otp_doc.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index f4388bae03..950bfdcf03 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -223,5 +223,5 @@ th { } h3>a{ - color: #3E4349; + color: #3E4349 !important; } -- cgit v1.2.3 From 1f0689526a75e776bb4486da55cd48cb2e2efb15 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 21 Oct 2016 17:30:55 +0100 Subject: add style for hr --- lib/erl_docgen/priv/css/otp_doc.css | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 950bfdcf03..fbcf53125f 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -225,3 +225,9 @@ th { h3>a{ color: #3E4349 !important; } + +hr{ + border: 0; + border-top: 1px solid #aaa; +} + -- cgit v1.2.3 From 2887ebb0cd748f60cfe410f414ad27acfc7a3cb5 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 21 Oct 2016 21:22:52 +0100 Subject: add progressive enhanced syntax highlighter it loads a script at the end of the page that loads the required resources and initializes the syntax highlighter. if js is disabled or blocked nothing happens, the code blocks will display with the style they had until now --- lib/erl_docgen/priv/css/Makefile | 3 +- lib/erl_docgen/priv/css/highlight.css | 96 +++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+), 1 deletion(-) create mode 100644 lib/erl_docgen/priv/css/highlight.css (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/Makefile b/lib/erl_docgen/priv/css/Makefile index c317411d32..e3d2ee7e3f 100644 --- a/lib/erl_docgen/priv/css/Makefile +++ b/lib/erl_docgen/priv/css/Makefile @@ -39,7 +39,8 @@ RELSYSDIR = $(RELEASE_PATH)/lib/erl_docgen-$(VSN) CSS_FILES = \ - otp_doc.css + otp_doc.css \ + highlight.css # ---------------------------------------------------- diff --git a/lib/erl_docgen/priv/css/highlight.css b/lib/erl_docgen/priv/css/highlight.css new file mode 100644 index 0000000000..d5bd1d2a9a --- /dev/null +++ b/lib/erl_docgen/priv/css/highlight.css @@ -0,0 +1,96 @@ +/* + +Atom One Light by Daniel Gamage +Original One Light Syntax theme from https://github.com/atom/one-light-syntax + +base: #fafafa +mono-1: #383a42 +mono-2: #686b77 +mono-3: #a0a1a7 +hue-1: #0184bb +hue-2: #4078f2 +hue-3: #a626a4 +hue-4: #50a14f +hue-5: #e45649 +hue-5-2: #c91243 +hue-6: #986801 +hue-6-2: #c18401 + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + color: #383a42; + background: #fafafa; +} + +.hljs-comment, +.hljs-quote { + color: #a0a1a7; + font-style: italic; +} + +.hljs-doctag, +.hljs-keyword, +.hljs-formula { + color: #a626a4; +} + +.hljs-section, +.hljs-name, +.hljs-selector-tag, +.hljs-deletion, +.hljs-subst { + color: #e45649; +} + +.hljs-literal { + color: #0184bb; +} + +.hljs-string, +.hljs-regexp, +.hljs-addition, +.hljs-attribute, +.hljs-meta-string { + color: #50a14f; +} + +.hljs-built_in, +.hljs-class .hljs-title { + color: #c18401; +} + +.hljs-attr, +.hljs-variable, +.hljs-template-variable, +.hljs-type, +.hljs-selector-class, +.hljs-selector-attr, +.hljs-selector-pseudo, +.hljs-number { + color: #986801; +} + +.hljs-symbol, +.hljs-bullet, +.hljs-link, +.hljs-meta, +.hljs-selector-id, +.hljs-title { + color: #4078f2; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} + +.hljs-link { + text-decoration: underline; +} -- cgit v1.2.3 From 3bc08453a05173fd69467568eb3c6ae59666bde5 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 21 Oct 2016 21:24:20 +0100 Subject: improve text spacing, center footer --- lib/erl_docgen/priv/css/otp_doc.css | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index fbcf53125f..008ef681ce 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -9,6 +9,7 @@ body { overflow: scroll; height: 100%; max-height: 100%; + line-height: 1.5em; } th { font-family: Verdana, Arial, Helvetica, sans-serif } @@ -62,6 +63,7 @@ a:visited { color: #1b6ec2; text-decoration: none } .footer { margin: 15px; /* Magins for inner DIV inside each DIV (to provide padding) */ + text-align: center; } span.bold_code { font-family: mono, Courier, monospace; white-space: pre; font-weight: bold } -- cgit v1.2.3 From a9e65689d49ce4b088c9834fabc12f59b871daef Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 21 Oct 2016 23:14:23 +0100 Subject: make text a little darker --- lib/erl_docgen/priv/css/otp_doc.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 008ef681ce..e59d6def6c 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -1,7 +1,7 @@ /* standard OTP style sheet */ body { background: #fefefe; - color: #3E4349; + color: #1a1a1a; font-family: serif; margin: 0; padding: 0; @@ -106,7 +106,7 @@ span.code { font-family: mono, Courier, monospace; white-space: pre; font } .do .content { background: #eafeea; - color: #3E4349; + color: #1a1a1a; line-height: 120%; font-size: 90%; padding: 5px 10px; @@ -119,7 +119,7 @@ span.code { font-family: mono, Courier, monospace; white-space: pre; font } .dont .content { background: #FFF0F0; - color: #3E4349; + color: #1a1a1a; line-height: 120%; font-size: 90%; padding: 5px 10px; @@ -225,7 +225,7 @@ th { } h3>a{ - color: #3E4349 !important; + color: #1a1a1a !important; } hr{ -- cgit v1.2.3 From 79cc929aeb58312d5a30d92f0abfdbbeca9cf04f Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Sat, 22 Oct 2016 00:13:16 +0100 Subject: make code tokens more easy to differentiate --- lib/erl_docgen/priv/css/otp_doc.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index e59d6def6c..27a868e1af 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -67,7 +67,14 @@ a:visited { color: #1b6ec2; text-decoration: none } } span.bold_code { font-family: mono, Courier, monospace; white-space: pre; font-weight: bold } -span.code { font-family: mono, Courier, monospace; white-space: pre; font-weight: normal } +span.code { + font-family: mono, Courier, monospace; white-space: pre; font-weight: normal; + color: #000; + background-color: #f5f5f5; + padding: 0.15em; + border: 1px solid #ddd; + border-radius: 0.2em; +} .note, .warning, .do, .dont { border: 1px solid #495057; -- cgit v1.2.3 From 54ee694393fc32da040f46218a3032f06c8c9964 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Sat, 22 Oct 2016 17:41:42 +0100 Subject: add max width to paragraphs --- lib/erl_docgen/priv/css/otp_doc.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 27a868e1af..c27be67147 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -14,7 +14,7 @@ body { th { font-family: Verdana, Arial, Helvetica, sans-serif } td { font-family: Verdana, Arial, Helvetica, sans-serif } -p { font-family: Verdana, Arial, Helvetica, sans-serif } +p { font-family: Verdana, Arial, Helvetica, sans-serif; max-width: 80em } .header { background: #222; color: #fefefe } .top { background: #efe } -- cgit v1.2.3 From 14c9699175c4b37247a1a3fa4aa689003db661c6 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Sat, 22 Oct 2016 17:42:11 +0100 Subject: remove white-space: pre, it broke some words in two lines --- lib/erl_docgen/priv/css/otp_doc.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index c27be67147..270822ba42 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -66,9 +66,9 @@ a:visited { color: #1b6ec2; text-decoration: none } text-align: center; } -span.bold_code { font-family: mono, Courier, monospace; white-space: pre; font-weight: bold } +span.bold_code { font-family: mono, Courier, monospace; font-weight: bold } span.code { - font-family: mono, Courier, monospace; white-space: pre; font-weight: normal; + font-family: mono, Courier, monospace; font-weight: normal; color: #000; background-color: #f5f5f5; padding: 0.15em; -- cgit v1.2.3 From 84bb057a7904c34d651f4c5d24939f59aa957e34 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Sat, 22 Oct 2016 17:42:48 +0100 Subject: remove extra margin from code blocks --- lib/erl_docgen/priv/css/otp_doc.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 270822ba42..a30ff66325 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -148,7 +148,11 @@ span.code { font-size: 120%; } -pre { font-family: mono, Courier, monospace; font-weight: normal } +pre { + font-family: mono, Courier, monospace; + font-weight: normal; + margin: 0; +} .REFBODY { margin-left: 13mm } @@ -239,4 +243,3 @@ hr{ border: 0; border-top: 1px solid #aaa; } - -- cgit v1.2.3 From af28ddaa6cf00ac39fed0b2bfa3e5c7742059965 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Sat, 22 Oct 2016 17:43:04 +0100 Subject: indent exports and data types section bodies --- lib/erl_docgen/priv/css/otp_doc.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index a30ff66325..161fa30d95 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -154,9 +154,11 @@ pre { margin: 0; } -.REFBODY { margin-left: 13mm } -.REFTYPES { margin-left: 8mm } +.exports-body, .data-types-body, .REFBODY{ + margin-left: 2em; +} +.REFTYPES { margin-left: 1.5em } footer { } -- cgit v1.2.3 From 8168e006eaca13d69b99b23cecdb29c27f6d2628 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Sat, 22 Oct 2016 18:02:11 +0100 Subject: align left panel link lists to the left --- lib/erl_docgen/priv/css/otp_doc.css | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 161fa30d95..205a6d3a85 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -245,3 +245,11 @@ hr{ border: 0; border-top: 1px solid #aaa; } + +.panel-sections, .expand-collapse-items{ + padding: 0 1em; +} + +.panel-sections{ + margin-top: 0; +} -- cgit v1.2.3 From 86bcb347eb550cdc88f09b8871af857479c9526c Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Sat, 22 Oct 2016 18:12:44 +0100 Subject: fix and unify font-family --- lib/erl_docgen/priv/css/otp_doc.css | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 205a6d3a85..c762927ff2 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -2,7 +2,7 @@ body { background: #fefefe; color: #1a1a1a; - font-family: serif; + font-family: sans-serif; margin: 0; padding: 0; border: 0; @@ -12,9 +12,7 @@ body { line-height: 1.5em; } -th { font-family: Verdana, Arial, Helvetica, sans-serif } -td { font-family: Verdana, Arial, Helvetica, sans-serif } -p { font-family: Verdana, Arial, Helvetica, sans-serif; max-width: 80em } +p { max-width: 80em } .header { background: #222; color: #fefefe } .top { background: #efe } -- cgit v1.2.3 From d27b1c814b487a0c2b2413223e163b63c53150f5 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Sat, 22 Oct 2016 18:17:33 +0100 Subject: align section-links on main page to the left --- lib/erl_docgen/priv/css/otp_doc.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index c762927ff2..d19d0c6ed8 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -244,10 +244,10 @@ hr{ border-top: 1px solid #aaa; } -.panel-sections, .expand-collapse-items{ +.section-links, .panel-sections, .expand-collapse-items{ padding: 0 1em; } -.panel-sections{ +.section-links, .panel-sections{ margin-top: 0; } -- cgit v1.2.3 From b319bfc46f636dd3c2ebe22be21b3e66640a0ca5 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Mon, 24 Oct 2016 14:56:50 +0100 Subject: code words that are links should look like links --- lib/erl_docgen/priv/css/otp_doc.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index d19d0c6ed8..d5173664a0 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -251,3 +251,7 @@ hr{ .section-links, .panel-sections{ margin-top: 0; } + +a > .code { + color: #1862ab; +} -- cgit v1.2.3 From 87ff047316d0cb220705fa40cd34693ef3600db2 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Mon, 24 Oct 2016 15:03:51 +0100 Subject: set default font size --- lib/erl_docgen/priv/css/otp_doc.css | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index d5173664a0..72dd897bba 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -10,6 +10,7 @@ body { height: 100%; max-height: 100%; line-height: 1.5em; + font-size: 14px; } p { max-width: 80em } -- cgit v1.2.3 From 3908827cfa448f7054a9eb99ad230eef8ce1dd98 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Mon, 24 Oct 2016 15:06:11 +0100 Subject: use recommended line-height --- lib/erl_docgen/priv/css/otp_doc.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 72dd897bba..7ef570d0f1 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -9,7 +9,7 @@ body { overflow: scroll; height: 100%; max-height: 100%; - line-height: 1.5em; + line-height: 1.2em; font-size: 14px; } -- cgit v1.2.3 From abf79789704f95bca24f3681b73e227a2f87c346 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Mon, 24 Oct 2016 16:38:11 +0100 Subject: set max-width: 80em; to #content container --- lib/erl_docgen/priv/css/otp_doc.css | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 7ef570d0f1..ae843d8aa7 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -47,6 +47,7 @@ a:visited { color: #1b6ec2; text-decoration: none } #content { margin-left: 340px; /* set left value to WidthOfFrameDiv */ + max-width: 80em; } .frontpage -- cgit v1.2.3 From e23ecf88ac9c09da917c58f55ea5bd2ccfe368d3 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Tue, 25 Oct 2016 13:30:28 +0100 Subject: set base font-size to 16px --- lib/erl_docgen/priv/css/otp_doc.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index ae843d8aa7..2966b6c0b4 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -10,7 +10,7 @@ body { height: 100%; max-height: 100%; line-height: 1.2em; - font-size: 14px; + font-size: 16px; } p { max-width: 80em } -- cgit v1.2.3 From b2a6eebcf698c1828d89b37704028fdb931b0b20 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Tue, 25 Oct 2016 14:14:09 +0100 Subject: reduce max-width on p and #content to 60em --- lib/erl_docgen/priv/css/otp_doc.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 2966b6c0b4..cde5d13271 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -13,7 +13,7 @@ body { font-size: 16px; } -p { max-width: 80em } +p { max-width: 60em } .header { background: #222; color: #fefefe } .top { background: #efe } @@ -47,7 +47,7 @@ a:visited { color: #1b6ec2; text-decoration: none } #content { margin-left: 340px; /* set left value to WidthOfFrameDiv */ - max-width: 80em; + max-width: 60em; } .frontpage -- cgit v1.2.3 From 58d08b32b71d549051147408a67b8a77a642bb24 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Tue, 25 Oct 2016 17:45:02 +0100 Subject: func-heads should have a new line after them --- lib/erl_docgen/priv/css/otp_doc.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index cde5d13271..f368e9dcb8 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -66,8 +66,8 @@ a:visited { color: #1b6ec2; text-decoration: none } text-align: center; } -span.bold_code { font-family: mono, Courier, monospace; font-weight: bold } -span.code { +.bold_code { font-family: mono, Courier, monospace; font-weight: bold } +.code { font-family: mono, Courier, monospace; font-weight: normal; color: #000; background-color: #f5f5f5; -- cgit v1.2.3 From 17cdba11569e0e2b846fceba17f06bc87c2df4d5 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Tue, 25 Oct 2016 17:45:18 +0100 Subject: make Types title smaller, remove colon --- lib/erl_docgen/priv/css/otp_doc.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index f368e9dcb8..1f3b9bfb29 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -257,3 +257,7 @@ hr{ a > .code { color: #1862ab; } + +.func-types-title{ + font-size: 1em; +} -- cgit v1.2.3 From cf92c3a9d202b9b9c1fc999910a5c977063389e0 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Mon, 31 Oct 2016 20:52:21 +0000 Subject: center images, make image caption markup semantic --- lib/erl_docgen/priv/css/otp_doc.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 1f3b9bfb29..8edb067df8 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -177,16 +177,20 @@ footer { } font-size: 1.5em; } -.doc-table-wrapper{ +.doc-table-wrapper, .doc-image-wrapper{ width: 100%; } -.doc-table{ +.doc-image-wrapper{ + text-align: center; +} + +.doc-table, .doc-image{ min-width: 50%; margin: 0 auto; } -.doc-table-caption{ +.doc-table-caption, .doc-image-caption{ margin-top: 1em; font-style: italic; text-align: center; -- cgit v1.2.3 From 26b3c1eb0e4105a3be6ad338dd5452b751bc33df Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Mon, 31 Oct 2016 20:56:22 +0000 Subject: match do's and dont's dialogs to note and warning --- lib/erl_docgen/priv/css/otp_doc.css | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 8edb067df8..62dd60bbd3 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -100,33 +100,30 @@ a:visited { color: #1b6ec2; text-decoration: none } } .warning .content { background-color: #f8f9fa; - border: 1px solid #dee2e6; line-height: 120%; font-size: 90%; padding: 0.5em 1em; } .do .label { - background: #30d42a; + background-color: #2b8a3e; color: #fefefe; font-weight: bold; padding: 5px 10px; } .do .content { - background: #eafeea; - color: #1a1a1a; + background: #f8f9fa; line-height: 120%; font-size: 90%; padding: 5px 10px; } .dont .label { - background: #C00; + background: #c92a2a; color: #fefefe; font-weight: bold; padding: 5px 10px; } .dont .content { - background: #FFF0F0; - color: #1a1a1a; + background-color: #f8f9fa; line-height: 120%; font-size: 90%; padding: 5px 10px; -- cgit v1.2.3 From 4a4e114404d66ad79b4f2f335bb27ea7e30e399b Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Mon, 31 Oct 2016 21:00:45 +0000 Subject: fix line-height for titles --- lib/erl_docgen/priv/css/otp_doc.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 62dd60bbd3..53c93daa3f 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -13,6 +13,10 @@ body { font-size: 16px; } +h1, h2, h3, h4, h5, h6{ + line-height: 1.2em; +} + p { max-width: 60em } .header { background: #222; color: #fefefe } -- cgit v1.2.3 From e41116af5443f66e2fb7f897256c1b6290c42004 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Mon, 31 Oct 2016 21:09:43 +0000 Subject: remove border and padding from code words --- lib/erl_docgen/priv/css/otp_doc.css | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 53c93daa3f..ee07b38dc7 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -72,12 +72,10 @@ a:visited { color: #1b6ec2; text-decoration: none } .bold_code { font-family: mono, Courier, monospace; font-weight: bold } .code { - font-family: mono, Courier, monospace; font-weight: normal; + font-family: mono, Courier, monospace; + font-weight: normal; color: #000; - background-color: #f5f5f5; - padding: 0.15em; - border: 1px solid #ddd; - border-radius: 0.2em; + background-color: #f3f3f3; } .note, .warning, .do, .dont { -- cgit v1.2.3 From a7db986588088d9e49caa8e45d28e31018eb14ef Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Mon, 31 Oct 2016 21:24:32 +0000 Subject: make max-width 42em for content div --- lib/erl_docgen/priv/css/otp_doc.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index ee07b38dc7..4797d5c0ea 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -17,7 +17,7 @@ h1, h2, h3, h4, h5, h6{ line-height: 1.2em; } -p { max-width: 60em } +p { max-width: 42em } .header { background: #222; color: #fefefe } .top { background: #efe } @@ -51,7 +51,7 @@ a:visited { color: #1b6ec2; text-decoration: none } #content { margin-left: 340px; /* set left value to WidthOfFrameDiv */ - max-width: 60em; + max-width: 42em; } .frontpage -- cgit v1.2.3 From 4e16f169fbc50d9cfa629bd9dca31fffa9670f6d Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Sat, 21 Jan 2017 13:14:01 +0100 Subject: make text smaller for tables and code samples --- lib/erl_docgen/priv/css/otp_doc.css | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 4797d5c0ea..2e397682e3 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -140,6 +140,7 @@ a:visited { color: #1b6ec2; text-decoration: none } border: 1px solid #dee2e6; padding: 0.5em 1em; margin: 1em 0; + font-size: 0.7em; } .extrafrontpageinfo { color: #C00; @@ -187,6 +188,7 @@ footer { } .doc-table, .doc-image{ min-width: 50%; margin: 0 auto; + font-size: 0.7em; } .doc-table-caption, .doc-image-caption{ -- cgit v1.2.3 From 267916f3d3457f536b5b8e5b3c5704330e9b2d6e Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Sat, 21 Jan 2017 13:15:18 +0100 Subject: remove black color from code --- lib/erl_docgen/priv/css/otp_doc.css | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 2e397682e3..de0c6a6b64 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -74,7 +74,6 @@ a:visited { color: #1b6ec2; text-decoration: none } .code { font-family: mono, Courier, monospace; font-weight: normal; - color: #000; background-color: #f3f3f3; } -- cgit v1.2.3 From 23465dff23ca9e958d279cbde952dcfcb0d23f4d Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Thu, 2 Feb 2017 16:06:03 +0100 Subject: unify all paddings of content boxes --- lib/erl_docgen/priv/css/otp_doc.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index de0c6a6b64..c3ea63faaa 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -85,7 +85,7 @@ a:visited { color: #1b6ec2; text-decoration: none } background-color: #2b8a3e; color: #fefefe; font-weight: bold; - padding: 5px 10px; + padding: 0.5em 1em; } .note .content { background: #f8f9fa; @@ -97,7 +97,7 @@ a:visited { color: #1b6ec2; text-decoration: none } background: #c92a2a; color: #fefefe; font-weight: bold; - padding: 5px 10px; + padding: 0.5em 1em; } .warning .content { background-color: #f8f9fa; @@ -109,25 +109,25 @@ a:visited { color: #1b6ec2; text-decoration: none } background-color: #2b8a3e; color: #fefefe; font-weight: bold; - padding: 5px 10px; + padding: 0.5em 1em; } .do .content { background: #f8f9fa; line-height: 120%; font-size: 90%; - padding: 5px 10px; + padding: 0.5em 1em; } .dont .label { background: #c92a2a; color: #fefefe; font-weight: bold; - padding: 5px 10px; + padding: 0.5em 1em; } .dont .content { background-color: #f8f9fa; line-height: 120%; font-size: 90%; - padding: 5px 10px; + padding: 0.5em 1em; } .quote { -- cgit v1.2.3 From 55e19e41fd602867389c3938a0ff31f51a56051e Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Thu, 2 Feb 2017 16:09:29 +0100 Subject: define all font-sizes with em units --- lib/erl_docgen/priv/css/otp_doc.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index c3ea63faaa..3c27ace3f3 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -90,7 +90,7 @@ a:visited { color: #1b6ec2; text-decoration: none } .note .content { background: #f8f9fa; line-height: 120%; - font-size: 90%; + font-size: 0.9em; padding: 0.5em 1em; } .warning .label { @@ -102,7 +102,7 @@ a:visited { color: #1b6ec2; text-decoration: none } .warning .content { background-color: #f8f9fa; line-height: 120%; - font-size: 90%; + font-size: 0.9em; padding: 0.5em 1em; } .do .label { @@ -114,7 +114,7 @@ a:visited { color: #1b6ec2; text-decoration: none } .do .content { background: #f8f9fa; line-height: 120%; - font-size: 90%; + font-size: 0.9em; padding: 0.5em 1em; } .dont .label { @@ -126,7 +126,7 @@ a:visited { color: #1b6ec2; text-decoration: none } .dont .content { background-color: #f8f9fa; line-height: 120%; - font-size: 90%; + font-size: 0.9em; padding: 0.5em 1em; } @@ -144,7 +144,7 @@ a:visited { color: #1b6ec2; text-decoration: none } .extrafrontpageinfo { color: #C00; font-weight: bold; - font-size: 120%; + font-size: 1.2em; } pre { -- cgit v1.2.3 From 7bbfffcef7b7c81d1797a0d66c0fdfd3a646f5a9 Mon Sep 17 00:00:00 2001 From: Mariano Guerra Date: Fri, 10 Mar 2017 13:17:27 +0100 Subject: improve line-heigt for main description at landing page --- lib/erl_docgen/priv/css/otp_doc.css | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/erl_docgen/priv/css') diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 3c27ace3f3..844aad2945 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -174,6 +174,7 @@ footer { } text-align: center; margin: 2em 0; font-size: 1.5em; + line-height: 1.5em; } .doc-table-wrapper, .doc-image-wrapper{ -- cgit v1.2.3