1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-01-18 13:07:58 +00:00

Docs: styled stub warning

This commit is contained in:
Romein van Buren 2023-07-19 20:53:15 +02:00
parent 43fce1f27e
commit 3d13dd974e
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49
3 changed files with 19 additions and 3 deletions

View File

@ -6,6 +6,11 @@ order: 900
<p>You can use the following shortcuts to manage hosts and connections.</p> <p>You can use the following shortcuts to manage hosts and connections.</p>
<p>
<a href="javascript:window.print()">Print this page</a> if you would like to
mount it on your wall for quick reference!
</p>
{% for item in shortcuts %} {% for item in shortcuts %}
<h2>{{ item[0] }}</h2> <h2>{{ item[0] }}</h2>
{% render "shortcuts", shortcuts: item[1] %} {% render "shortcuts", shortcuts: item[1] %}

View File

@ -39,10 +39,11 @@ navigationOptions:
{{ content }} {{ content }}
{% if stub %} {% if stub %}
<div class="wipdoc"> <div class="stubmessage">
<p> <p>
Oops… this Rolens documentation page is a work-in-progress! You could This Rolens documentation page is a work-in-progress! You could
<a href="{{ github.pageSourceUrl }}" target="_blank">help writing it</a> — thanks! <a href="{{ github.pageSourceUrl }}" target="_blank">help writing it</a>
by sending a PR — thanks!
</p> </p>
</div> </div>
{% endif %} {% endif %}

View File

@ -262,6 +262,16 @@ article {
} }
} }
.stubmessage {
padding: 1rem;
border: 1px solid #aeae27;
border-radius: 0.75rem;
background-color: rgba(255, 255, 0, 0.235);
}
.stubmessage > :last-child {
margin-bottom: 0;
}
footer { footer {
margin-top: 3rem; margin-top: 3rem;
padding-top: 1rem; padding-top: 1rem;