Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
More markdown adjustments
Alexis Sellier committed 4 years ago
commit 6b00ec7f7caeb1797f6cb026ea6d05c836860ef5
parent ec6ee72e0e809fa25224b823bbb679b575f9ceef
2 files changed +16 -6
modified src/Markdown.svelte
@@ -47,23 +47,23 @@

  .markdown :global(h3) {
    font-size: 1.125rem;
-
    font-weight: normal;
+
    font-weight: var(--font-weight-medium);
    padding: 0.5rem 0;
-
    margin: 1.75rem 0 0.25rem;
+
    margin: 1rem 0 0.25rem;
  }

  .markdown :global(h4) {
    font-weight: var(--font-weight-medium);
    font-size: 1rem;
    padding: 0.5rem 0;
-
    margin: 1.5rem 0 0.125rem;
+
    margin: 1rem 0 0.125rem;
  }

  .markdown :global(h5) {
    font-weight: var(--font-weight-medium);
    font-size: 0.875rem;
    padding: 0.35rem 0;
-
    margin: 1.25rem 0 0.125rem;
+
    margin: 1rem 0 0.125rem;
  }

  .markdown :global(h6) {
@@ -79,6 +79,16 @@
    margin-bottom: 0.625rem;
  }

+
  .markdown :global(p:last-child) {
+
    margin-bottom: 0;
+
  }
+

+
  .markdown :global(blockquote) {
+
    font-style: italic;
+
    padding: 0.625rem 0;
+
    margin: 0;
+
  }
+

  .markdown :global(strong) {
    font-weight: var(--font-weight-medium);
  }
modified src/base/projects/Browser.svelte
@@ -135,10 +135,10 @@
        commit {commit}
      </div>
      <div class="stat">
-
        <strong>{tree.stats.commits}</strong> commits
+
        <strong>{tree.stats.commits}</strong> commit(s)
      </div>
      <div class="stat">
-
        <strong>{tree.stats.contributors}</strong> contributors
+
        <strong>{tree.stats.contributors}</strong> contributor(s)
      </div>
      <div class="anchor">
        {#if org}