summaryrefslogtreecommitdiff
path: root/Utilities/Sphinx/static/cmake.css
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-01 22:09:50 -0400
committerBrad King <brad.king@kitware.com>2022-04-05 16:09:54 -0400
commita14905d4df6c47dbcd574f05ad0a324906dd1329 (patch)
treec5c6dffcebdf9dd3f3bb56fccaf7d4226decb4b4 /Utilities/Sphinx/static/cmake.css
parentcca73b54ae6a25f50b17cf32077ca85020340d92 (diff)
downloadcmake-a14905d4df6c47dbcd574f05ad0a324906dd1329.tar.gz
Utilities/Sphinx: Add option to build outdated version banner for cmake.org
This was previously added in a custom branch for building the cmake.org reference documentation.
Diffstat (limited to 'Utilities/Sphinx/static/cmake.css')
-rw-r--r--Utilities/Sphinx/static/cmake.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/Utilities/Sphinx/static/cmake.css b/Utilities/Sphinx/static/cmake.css
index 029eb1b2fc..4539cf96f6 100644
--- a/Utilities/Sphinx/static/cmake.css
+++ b/Utilities/Sphinx/static/cmake.css
@@ -22,3 +22,15 @@ div.sphinxsidebarwrapper {
dd > :first-child > p {
margin-top: 0px;
}
+
+div.outdated {
+ background-color: #f0f0c0;
+ color: black;
+ font-size: 90%;
+ padding-bottom: 5px;
+ padding-left: 2px;
+ padding-right: 2px;
+ padding-top: 5px;
+ text-align: center;
+ width: 100%;
+}