diff options
author | Anna Kurylo <anna.kurilo21@gmail.com> | 2018-10-24 21:04:00 +0200 |
---|---|---|
committer | Anna Kurylo <anna.kurilo21@gmail.com> | 2018-10-24 21:04:04 +0200 |
commit | 31384ccfc7031aecdd931475632a35e934b7c885 (patch) | |
tree | 13f3a182f0bef104adba5e0cbb2fee680df381a4 | |
parent | c23067a15c730380d1e8a90634819b9962884a9a (diff) | |
download | cherrypy-git-31384ccfc7031aecdd931475632a35e934b7c885.tar.gz |
fix python3 support banner
change the position of banner from `fixed` to `absolute`, decrease line
spacing, fix the color of links, add padding to the message paragraph on
wide-screen devices
-rw-r--r-- | docs/_templates/python_2_eol.html | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/docs/_templates/python_2_eol.html b/docs/_templates/python_2_eol.html index 9fc920d4..b5d0a8d6 100644 --- a/docs/_templates/python_2_eol.html +++ b/docs/_templates/python_2_eol.html @@ -20,7 +20,7 @@ } #python27eol { - position: fixed; + position: absolute; top: 0; left: 0; right: 0; height: auto; @@ -28,10 +28,9 @@ color: white; background-color: black; font-size: larger; - line-height: 3; } - #python27eol>* { + #python27eol * { color: white; background-color: black; } @@ -39,6 +38,16 @@ #python27eol>a { display: block; } + + #python27eol>p { + padding: 0 100px; + } + + @media screen and (max-width: 875px) { + #python27eol p { + padding: 0; + } + } </style> <script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script> |