1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-02-07 14:40:16 +00:00

Make new hypha notice's buttons dark in the dark theme

This commit is contained in:
Timur Ismagilov 2021-05-14 14:24:31 +05:00
parent a540e8c3f8
commit f7b4ec938e
4 changed files with 12 additions and 6 deletions

View File

@ -394,6 +394,8 @@ a:visited, .wikilink_external:visited { color: #ffb86c; }
blockquote { border-left: 4px #ddd solid; } blockquote { border-left: 4px #ddd solid; }
.transclusion .transclusion__link { color: #ddd; } .transclusion .transclusion__link { color: #ddd; }
.btn,
article code, article code,
article .codeblock, article .codeblock,
.transclusion, .transclusion,
@ -404,13 +406,14 @@ article .codeblock,
.upload-amnt, .upload-amnt,
textarea, textarea,
table { border: 0; background-color: #444444; color: #ddd; } table { border: 0; background-color: #444444; color: #ddd; }
.btn:visited { color: #ddd;}
.transclusion code, .transclusion code,
.transclusion .codeblock { background-color: #454545; } .transclusion .codeblock { background-color: #454545; }
mark { background: rgba(130, 80, 30, 5); color: inherit; } mark { background: rgba(130, 80, 30, 5); color: inherit; }
@media screen and (max-width: 800px) { @media screen and (max-width: 800px) {
.hypha-tabs { background-color: #232323; } .hypha-tabs { background-color: #232323; }
} }
.btn { background-color: #ddd; color: black; }
} }

View File

@ -279,6 +279,8 @@ a:visited, .wikilink_external:visited { color: #ffb86c; }
blockquote { border-left: 4px #ddd solid; } blockquote { border-left: 4px #ddd solid; }
.transclusion .transclusion__link { color: #ddd; } .transclusion .transclusion__link { color: #ddd; }
.btn,
article code, article code,
article .codeblock, article .codeblock,
.transclusion, .transclusion,
@ -289,13 +291,14 @@ article .codeblock,
.upload-amnt, .upload-amnt,
textarea, textarea,
table { border: 0; background-color: #444444; color: #ddd; } table { border: 0; background-color: #444444; color: #ddd; }
.btn:visited { color: #ddd;}
.transclusion code, .transclusion code,
.transclusion .codeblock { background-color: #454545; } .transclusion .codeblock { background-color: #454545; }
mark { background: rgba(130, 80, 30, 5); color: inherit; } mark { background: rgba(130, 80, 30, 5); color: inherit; }
@media screen and (max-width: 800px) { @media screen and (max-width: 800px) {
.hypha-tabs { background-color: #232323; } .hypha-tabs { background-color: #232323; }
} }
.btn { background-color: #ddd; color: black; }
} }

View File

@ -22,7 +22,7 @@
<h3 class="non-existent-hypha__subtitle">📝 Write a text</h3> <h3 class="non-existent-hypha__subtitle">📝 Write a text</h3>
<p>Write a note, a diary, an article, a story or anything textual using <a href="https://mycorrhiza.lesarbr.es/hypha/mycomarkup">Mycomarkup</a>.</p> <p>Write a note, a diary, an article, a story or anything textual using <a href="https://mycorrhiza.lesarbr.es/hypha/mycomarkup">Mycomarkup</a>.</p>
<p>Make sure to follow this wiki&apos;s writing conventions if there are any.</p> <p>Make sure to follow this wiki&apos;s writing conventions if there are any.</p>
<a class="btn" href="/edit/{%s h.Name %}">Create</a> <a class="btn stick-to-bottom" href="/edit/{%s h.Name %}">Create</a>
</section> </section>
<section class="non-existent-hypha__way"> <section class="non-existent-hypha__way">
@ -34,7 +34,7 @@
<label for="upload-binary__input"></label> <label for="upload-binary__input"></label>
<input type="file" id="upload-binary__input" name="binary"> <input type="file" id="upload-binary__input" name="binary">
<input type="submit" class="btn" value="Upload"> <input type="submit" class="btn stick-to-bottom" value="Upload">
</form> </form>
</section> </section>
</div> </div>

View File

@ -70,7 +70,7 @@ func streamnonExistentHyphaNotice(qw422016 *qt422016.Writer, h *hyphae.Hypha, u
<h3 class="non-existent-hypha__subtitle">📝 Write a text</h3> <h3 class="non-existent-hypha__subtitle">📝 Write a text</h3>
<p>Write a note, a diary, an article, a story or anything textual using <a href="https://mycorrhiza.lesarbr.es/hypha/mycomarkup">Mycomarkup</a>.</p> <p>Write a note, a diary, an article, a story or anything textual using <a href="https://mycorrhiza.lesarbr.es/hypha/mycomarkup">Mycomarkup</a>.</p>
<p>Make sure to follow this wiki&apos;s writing conventions if there are any.</p> <p>Make sure to follow this wiki&apos;s writing conventions if there are any.</p>
<a class="btn" href="/edit/`) <a class="btn stick-to-bottom" href="/edit/`)
//line views/hypha.qtpl:25 //line views/hypha.qtpl:25
qw422016.E().S(h.Name) qw422016.E().S(h.Name)
//line views/hypha.qtpl:25 //line views/hypha.qtpl:25
@ -90,7 +90,7 @@ func streamnonExistentHyphaNotice(qw422016 *qt422016.Writer, h *hyphae.Hypha, u
<label for="upload-binary__input"></label> <label for="upload-binary__input"></label>
<input type="file" id="upload-binary__input" name="binary"> <input type="file" id="upload-binary__input" name="binary">
<input type="submit" class="btn" value="Upload"> <input type="submit" class="btn stick-to-bottom" value="Upload">
</form> </form>
</section> </section>
</div> </div>