diff --git a/wiki/public/js/render_wiki.js b/wiki/public/js/render_wiki.js index fcd6cfeb..d8c4570b 100644 --- a/wiki/public/js/render_wiki.js +++ b/wiki/public/js/render_wiki.js @@ -89,7 +89,7 @@ window.RenderWiki = class RenderWiki extends Wiki { constructor(opts) { super(); $("document").ready(() => { - this.set_darkmode_button(); + //this.set_darkmode_button(); if ( window.location.pathname != "/revisions" && window.location.pathname != "/compare" @@ -100,7 +100,7 @@ window.RenderWiki = class RenderWiki extends Wiki { this.set_nav_buttons(); this.set_toc(); this.set_last_updated_date(); - this.scrolltotop(); + //this.scrolltotop(); this.set_add_item(); this.add_trash_icon(); this.set_empty_ul(); diff --git a/wiki/public/scss/edit_wiki.scss b/wiki/public/scss/edit_wiki.scss index 418785f5..b7552a91 100644 --- a/wiki/public/scss/edit_wiki.scss +++ b/wiki/public/scss/edit_wiki.scss @@ -411,9 +411,9 @@ $font-sizes-mobile: ( } p { - font-size: 14px; + font-size: 15px; font-weight: 420; - line-height: 21px; + line-height: 155%; letter-spacing: 0.02em; text-align: left; } diff --git a/wiki/public/scss/wiki.scss b/wiki/public/scss/wiki.scss index b008111f..7c7bea3d 100644 --- a/wiki/public/scss/wiki.scss +++ b/wiki/public/scss/wiki.scss @@ -132,7 +132,7 @@ body.dark { } &:last-child { - font-size: 14px; + font-size: 15px; font-weight: 500; color: var(--primary); transition: color 0.25s; @@ -159,6 +159,7 @@ body.dark { .wiki-page-meta { font-size: $font-size-sm; display: flex; + align-items: center; justify-content: space-between; } @@ -195,7 +196,7 @@ body.dark { gap: 8px; } .sidebar-group-title { - font-size: 14px; + font-size: 15px; font-weight: 450; line-height: 16px; letter-spacing: 0.015em; @@ -511,7 +512,7 @@ body.dark { } .dropdown-item { - font-size: 14px; + font-size: 15px; outline: unset; overflow: auto; margin: 0.5rem 0; @@ -692,9 +693,9 @@ body.dark { } p { - font-size: 14px; + font-size: 15px; font-weight: 420; - line-height: 21px; + line-height: 155%; letter-spacing: 0.02em; text-align: left; } @@ -733,14 +734,14 @@ body.dark { } li { - font-size: 14px; + font-size: 15px; font-weight: 420; - line-height: 21px; + line-height: 155%; letter-spacing: 0.02em; text-align: left; &::marker { - font-size: 14px; + font-size: 15px; } } } @@ -821,7 +822,7 @@ h6:hover .feather-link { } .ratings-number { - font-size: 14px; + font-size: 15px; padding: 8px 0px; border: none; color: #000; @@ -841,13 +842,14 @@ h6:hover .feather-link { .wiki-options { width: 2rem; height: 2rem; - margin-top: 1rem; + margin-top: 0.5rem; + margin-left: 0.5rem; svg { width: 2rem; } - #wikiOptionsButton::after { + .dropdown-toggle.wiki-options::after { display: none; } @@ -958,7 +960,7 @@ h6:hover .feather-link { } .user-contributions { - margin: 1rem 0 0 auto; + margin: 0 0 0 auto; color: var(--sidebar-text-color); font-size: 0.8rem; } diff --git a/wiki/wiki/doctype/wiki_page/templates/navbar_items.html b/wiki/wiki/doctype/wiki_page/templates/navbar_items.html index 32c8c996..c2cc4d80 100644 --- a/wiki/wiki/doctype/wiki_page/templates/navbar_items.html +++ b/wiki/wiki/doctype/wiki_page/templates/navbar_items.html @@ -62,12 +62,6 @@
- {% if add_dark_mode -%} -
  • - - -
  • - {% endif %} {% include "templates/includes/navbar/navbar_login.html" %} diff --git a/wiki/wiki/doctype/wiki_page/templates/show.html b/wiki/wiki/doctype/wiki_page/templates/show.html index a133a5df..eafb032c 100644 --- a/wiki/wiki/doctype/wiki_page/templates/show.html +++ b/wiki/wiki/doctype/wiki_page/templates/show.html @@ -1,29 +1,6 @@

    {{ title }}

    -
    {{ content }} @@ -66,6 +43,29 @@
    {%- endif -%} +