-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add deprecation banner in legacy docs.
[noissue]
- Loading branch information
Showing
3 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
.banner { | ||
background: #ffe2c9; | ||
height: 50px; | ||
border-top: 5px solid #ffad67; | ||
width: 100%; | ||
position: fixed; | ||
z-index: 9999; | ||
box-shadow: 0 3px 10px -5px rgb(0 0 0 / 0.2); | ||
} | ||
|
||
.banner__content { | ||
padding: 16px; | ||
max-width: 1120px; | ||
margin: 0; | ||
display: flex; | ||
align-items: center; | ||
height: 100%; | ||
} | ||
|
||
.banner__text { | ||
flex-grow: 1; | ||
line_height: 1.4em; | ||
text-align: center; | ||
font-weight: bold; | ||
font-family: Roboto Slab,ff-tisa-web-pro,Georgia,Arial,sans-serif; | ||
color: #505050; | ||
} | ||
|
||
|
||
@media (min-width: 768px){ | ||
.wy-side-nav-search { | ||
padding-top: 60px; | ||
} | ||
} | ||
|
||
@media (max-width: 768px){ | ||
.wy-nav-top { | ||
margin-top: 50px; | ||
} | ||
.wy-side-nav-search { | ||
margin-top: 50px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{# | ||
classic/layout.html | ||
~~~~~~~~~~~~~~~~~~~ | ||
|
||
Sphinx layout template for the classic theme. | ||
|
||
:copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. | ||
:license: BSD, see LICENSE for details. | ||
#} | ||
{%- extends "sphinx_rtd_theme/layout.html" %} | ||
|
||
{%- block extrabody %} | ||
<div class="banner"> | ||
<div class="banner__content"> | ||
<div class="banner__text"> | ||
This docs will be deactivated in July 2024. | ||
<a href="https://discourse.pulpproject.org/t/unified-documentation-part-2/1188" target="blank">Learn More</a> | ||
or go to the <a href="https://staging-docs.pulpproject.org/" target="blank">New Pulp Docs</a> (beta). | ||
</div> | ||
</div> | ||
</div> | ||
{%- endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters