refactor(core): update markdown styles

ref: #270 #271
This commit is contained in:
2024-09-12 17:09:39 +09:30
parent 3e684b117f
commit 2ab2b65fc2
4 changed files with 21 additions and 13 deletions

View File

@ -8,7 +8,7 @@ body {
background: #f0f0f0;
}
h1 {
h1#site-title {
width: 275px;
height: 76px;
line-height: 76px;
@ -17,7 +17,7 @@ h1 {
margin: 0%;
}
h2 {
h2#content_title {
width: 100%;
background-color: #fff;
height: 80px;

View File

@ -4,7 +4,7 @@ span.linenos { color: inherit; background-color: transparent; padding-left: 5px;
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.codehilite .hll { background-color: #ffffcc }
.codehilite { background: #f8f8f8; padding: 5px; border: 1px solid #ccc;}
.codehilite { background: #f8f8f8; padding: 5px; border: 1px solid #ccc; font-size: 11pt;}
.codehilite .c { color: #3D7B7B; font-style: italic } /* Comment */
.codehilite .err { border: 1px solid #FF0000 } /* Error */
.codehilite .k { color: #008000; font-weight: bold } /* Keyword */

View File

@ -390,7 +390,7 @@
border: none;
color: #fff;
display: flex;
font-size: 14px;
font-size: inherit;
height: 30px;
line-height: 30px;
margin: 0px;
@ -581,6 +581,14 @@
margin: 0px 5px 0px 5px;
}
#markdown {
font-size: 12pt;
}
#markdown p {
font-size: inherit;
}
div#markdown {
justify-content: center;
display: block;
@ -599,7 +607,7 @@ div#markdown {
color: inherit;
font-size: 24px;
line-height: 24px;
padding: 0px;
padding: 24px 0px 48px 0px;
margin: 0px;
text-align: left;
@ -611,7 +619,7 @@ div#markdown {
color: inherit;
font-size: 20px;
line-height: 20px;
padding: 0px;
padding: 20px 0px 40px 0px;
margin: 0px;
text-align: left;
@ -623,7 +631,7 @@ div#markdown {
color: inherit;
font-size: 18px;
line-height: 18px;
padding: 0px;
padding: 18px 0px 36px 0px;
margin: 0px;
text-align: left;
@ -635,7 +643,7 @@ div#markdown {
color: #000;
font-size: 16px;
line-height: 16px;
padding: 0px;
padding: 16px 0px 32px 0px;
margin: 0px;
text-align: left;
@ -647,7 +655,7 @@ div#markdown {
color: #000;
font-size: 14px;
line-height: 14px;
padding: 0px;
padding: 14px 0px 28px 0px;;
margin: 0px;
text-align: left;
@ -656,9 +664,9 @@ div#markdown {
#markdown li {
background-color: inherit;
font-size: 14px;
font-size: inherit;
line-height: 25px;
padding: 0px;
padding: 5px;
margin: 0px;
text-align: left;

View File

@ -24,7 +24,7 @@
{% block body %}
<header>
<h1><a href="/" style="text-decoration: none; color: inherit;">{% settings_value "SITE_TITLE" %}</a></h1>
<h1 id="site-title"><a href="/" style="text-decoration: none; color: inherit;">{% settings_value "SITE_TITLE" %}</a></h1>
{%if user.is_authenticated %}
<div class="dropdown" style="right: 0px; position: fixed; padding-right: 50px;">
@ -91,7 +91,7 @@ section h2 span svg {
</style>
<section>
<h2>{% block title %}{{ content_title }}{% endblock %}
<h2 id="content_title">{% block title %}{{ content_title }}{% endblock %}
{% if model_delete_url %}
<span title="Delete Item" id="content_header_icon" class="icon-delete" onclick="window.location='{{ model_delete_url }}';">
{% include 'icons/delete.svg' %}