From 110e7270ab7b0700ce714b8b1c7e509195dea2c4 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sat, 4 Aug 2018 00:02:46 +0200 Subject: [PATCH] Improve unstable message display --- src/librustdoc/html/static/rustdoc.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index b689e2fa3854e..db2509abc8e64 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -500,6 +500,19 @@ h4 > code, h3 > code, .invisible > code { font-size: 90%; } +.content .stability { + position: relative; + margin-left: 33px; + margin-top: -13px; +} +.content .stability::before { + content: '˪'; + font-size: 30px; + position: absolute; + top: -9px; + left: -13px; +} + nav { border-bottom: 1px solid; padding-bottom: 10px;