From 381050b1eeb90e3e91c16021b82a6e09cd307c41 Mon Sep 17 00:00:00 2001 From: "O.S. Tezer" Date: Wed, 18 Jun 2014 16:09:03 -0700 Subject: [PATCH] Docs styling update/upgrade Closes https://github.com/dotcloud/docker/issues/6514 Closes https://github.com/dotcloud/docker/issues/6377 Closes https://github.com/dotcloud/docker/issues/6514 Closes https://github.com/dotcloud/docker/pull/6502 Docker-DCO-1.1-Signed-off-by: O.S. Tezer (github: ostezer) --- docs/theme/mkdocs/css/docs.css | 52 ++++++++++++++++++++++++++++------ 1 file changed, 43 insertions(+), 9 deletions(-) diff --git a/docs/theme/mkdocs/css/docs.css b/docs/theme/mkdocs/css/docs.css index bf720a25ee..0f42e22ef7 100644 --- a/docs/theme/mkdocs/css/docs.css +++ b/docs/theme/mkdocs/css/docs.css @@ -3,6 +3,10 @@ margin-bottom: 10px; } +#top-header .header2 { + font-weight: 400; +} + #usernav > ul { margin-top: 10px; z-index: 99999; @@ -186,20 +190,42 @@ ol li { line-height: 1.7; } +.content-body ul { + padding: 10px 0px 10px 20px; + list-style-position: inherit; + list-style: circle; +} + +.content-body ul li { + padding-bottom: 5px; +} + +.content-body ul ul { + padding: 10px 0px 10px 40px; +} + .content-body h1 { display: block !important; - font-size: 18px; - font-weight: 700; + font-size: 27px; + font-weight: 400; color: #394d54; line-height: 1.33; - font-weight: normal; margin-bottom: 8px; margin-top: 6px; } -.content-body h2, .content-body h3 { - font-size: 14px; - font-weight: 500; +.content-body h2 { + font-size: 21px; + font-weight: 400; + color: #394d54; + line-height: 1.7; + margin-bottom: 4px; + margin-top: 10px; +} + +.content-body h3 { + font-size: 18px; + font-weight: 400; color: #394d54; line-height: 1.7; margin-bottom: 4px; @@ -240,8 +266,16 @@ ol li { padding-left: 15px; } -.content-body blockquote * { - color: #394d54; +.content-body ul { + margin-top: 0px !important; +} + +.content-body blockquote a { + color: #24b8eb; +} + +.content-body blockquote a:hover { + color: #008bb8; } .content-body ul { @@ -278,4 +312,4 @@ ol li { } .navbar #usernav .nav li { padding-top: 0px !important; -} \ No newline at end of file +}