Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

Commit

Permalink
Add docs in progress warning
Browse files Browse the repository at this point in the history
  • Loading branch information
metatablecat committed Apr 23, 2024
1 parent 999012c commit 4b3128f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/assets/overrides/home.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "base.html" %}
{% extends "main.html" %}
{% block content %}
<link rel="stylesheet" href="assets/stylesheet/home.css" />
{{ super() }}
Expand Down
13 changes: 13 additions & 0 deletions docs/assets/overrides/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{% extends "base.html" %}

{% block announce %}
<style>
.md-banner {
background-color: var(--md-primary-fg-color);
color: var(--md-primary-bg-color);
text-align: center;
}
</style>

<p>These docs are currently work in progress</p>
{% endblock %}
4 changes: 2 additions & 2 deletions docs/assets/stylesheet/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
margin-left: 0;
margin-right: 0;
margin-top: 0;
--distance-to-top-of-page: 4.8rem;
--distance-to-top-of-page: 7.2rem;
}

[data-md-color-scheme="slate"] {
Expand All @@ -17,7 +17,7 @@

@media screen and (max-width: 76.25rem) {
.md-content {
--distance-to-top-of-page: 2.4rem;
--distance-to-top-of-page: 4.8rem;
}
}

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div id="catworkdoc-lower-bg" markdown>
<div id="catworkdoc-margin" markdown>
<div id="catworkdoc-homeInner" markdown>
<h1 id="catworkdoc-noMarginBig">Catwork</h1>
<h1 id="catworkdoc-noMarginBig" markdown>Catwork :cat2:</h1>
<b id="catworkdoc-noMarginBig">The cat framework, written by cats, for cats!</b>
<p id="catworkdoc-noMargin">Catwork is a tiny, ergonomic, declarative framework for creating runtime code.</p>
</div>
Expand Down

0 comments on commit 4b3128f

Please sign in to comment.