Skip to content

Commit 1c4ad9a

Browse files
authored
Removed note callout redundancy (#163)
* fix: Removed note callout redundancy * fix: Removed margins of 3rem
1 parent 4bdb042 commit 1c4ad9a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

assets/css/v2/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ h1 {
769769

770770
h2 {
771771
font-size: 1.5rem;
772-
margin: 3rem 0 1rem 0;
772+
margin: 0 0 1rem 0;
773773
}
774774

775775
/* tables */
@@ -835,7 +835,7 @@ table hr {
835835
blockquote {
836836
border: 1px solid var(--color-foreground);
837837
padding: 1rem;
838-
margin: 3rem -1rem;
838+
margin: 0 -1rem;
839839

840840
/* solid 3px drop shadow */
841841
box-shadow: 3px 3px 0px var(--color-shadow);

layouts/shortcodes/note.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<blockquote class="note">
2-
<div><strong>Note:</strong><br/> {{ .Inner | markdownify }}</div>
2+
<div>{{ .Inner | markdownify }}</div>
33
</blockquote>

0 commit comments

Comments
 (0)