Skip to content

Commit

Permalink
feat: new heading 2 style
Browse files Browse the repository at this point in the history
  • Loading branch information
liangjingkanji committed Nov 28, 2022
1 parent cba4428 commit 154235b
Show file tree
Hide file tree
Showing 12 changed files with 156 additions and 24 deletions.
15 changes: 13 additions & 2 deletions drake-ayu.css
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,21 @@ h2 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
}
#write h2:before {
content: "「";
position: relative;
top: -0.5rem;
left: -1rem;
}
#write h2:after {
content: "」";
position: relative;
top: 0.5rem;
}
h2 > .md-plain {
padding-bottom: .3rem;
border-bottom: .2rem solid var(--h2-underline-color);
line-height: 3rem;
position: relative;
left: -0.5rem;
}
.on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after {
background-color: var(--blur-text-color) !important;
Expand Down
15 changes: 13 additions & 2 deletions drake-black.css
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,21 @@ h2 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
}
#write h2:before {
content: "「";
position: relative;
top: -0.5rem;
left: -1rem;
}
#write h2:after {
content: "」";
position: relative;
top: 0.5rem;
}
h2 > .md-plain {
padding-bottom: .3rem;
border-bottom: .2rem solid var(--h2-underline-color);
line-height: 3rem;
position: relative;
left: -0.5rem;
}
.on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after {
background-color: var(--blur-text-color) !important;
Expand Down
15 changes: 13 additions & 2 deletions drake-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,21 @@ h2 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
}
#write h2:before {
content: "「";
position: relative;
top: -0.5rem;
left: -1rem;
}
#write h2:after {
content: "」";
position: relative;
top: 0.5rem;
}
h2 > .md-plain {
padding-bottom: .3rem;
border-bottom: .2rem solid var(--h2-underline-color);
line-height: 3rem;
position: relative;
left: -0.5rem;
}
.on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after {
background-color: var(--blur-text-color) !important;
Expand Down
15 changes: 13 additions & 2 deletions drake-google.css
Original file line number Diff line number Diff line change
Expand Up @@ -367,10 +367,21 @@ h2 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
}
#write h2:before {
content: "「";
position: relative;
top: -0.5rem;
left: -1rem;
}
#write h2:after {
content: "」";
position: relative;
top: 0.5rem;
}
h2 > .md-plain {
padding-bottom: .3rem;
border-bottom: .2rem solid var(--h2-underline-color);
line-height: 3rem;
position: relative;
left: -0.5rem;
}
.on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after {
background-color: var(--blur-text-color) !important;
Expand Down
15 changes: 13 additions & 2 deletions drake-jb.css
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,21 @@ h2 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
}
#write h2:before {
content: "「";
position: relative;
top: -0.5rem;
left: -1rem;
}
#write h2:after {
content: "」";
position: relative;
top: 0.5rem;
}
h2 > .md-plain {
padding-bottom: .3rem;
border-bottom: .2rem solid var(--h2-underline-color);
line-height: 3rem;
position: relative;
left: -0.5rem;
}
.on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after {
background-color: var(--blur-text-color) !important;
Expand Down
15 changes: 13 additions & 2 deletions drake-juejin.css
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,21 @@ h2 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
}
#write h2:before {
content: "「";
position: relative;
top: -0.5rem;
left: -1rem;
}
#write h2:after {
content: "」";
position: relative;
top: 0.5rem;
}
h2 > .md-plain {
padding-bottom: .3rem;
border-bottom: .2rem solid var(--h2-underline-color);
line-height: 3rem;
position: relative;
left: -0.5rem;
}
.on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after {
background-color: var(--blur-text-color) !important;
Expand Down
15 changes: 13 additions & 2 deletions drake-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -369,10 +369,21 @@ h2 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
}
#write h2:before {
content: "「";
position: relative;
top: -0.5rem;
left: -1rem;
}
#write h2:after {
content: "」";
position: relative;
top: 0.5rem;
}
h2 > .md-plain {
padding-bottom: .3rem;
border-bottom: .2rem solid var(--h2-underline-color);
line-height: 3rem;
position: relative;
left: -0.5rem;
}
.on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after {
background-color: var(--blur-text-color) !important;
Expand Down
15 changes: 13 additions & 2 deletions drake-material.css
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,21 @@ h2 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
}
#write h2:before {
content: "「";
position: relative;
top: -0.5rem;
left: -1rem;
}
#write h2:after {
content: "」";
position: relative;
top: 0.5rem;
}
h2 > .md-plain {
padding-bottom: .3rem;
border-bottom: .2rem solid var(--h2-underline-color);
line-height: 3rem;
position: relative;
left: -0.5rem;
}
.on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after {
background-color: var(--blur-text-color) !important;
Expand Down
15 changes: 13 additions & 2 deletions drake-purple.css
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,21 @@ h2 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
}
#write h2:before {
content: "「";
position: relative;
top: -0.5rem;
left: -1rem;
}
#write h2:after {
content: "」";
position: relative;
top: 0.5rem;
}
h2 > .md-plain {
padding-bottom: .3rem;
border-bottom: .2rem solid var(--h2-underline-color);
line-height: 3rem;
position: relative;
left: -0.5rem;
}
.on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after {
background-color: var(--blur-text-color) !important;
Expand Down
15 changes: 13 additions & 2 deletions drake-vue.css
Original file line number Diff line number Diff line change
Expand Up @@ -362,10 +362,21 @@ h2 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
}
#write h2:before {
content: "「";
position: relative;
top: -0.5rem;
left: -1rem;
}
#write h2:after {
content: "」";
position: relative;
top: 0.5rem;
}
h2 > .md-plain {
padding-bottom: .3rem;
border-bottom: .2rem solid var(--h2-underline-color);
line-height: 3rem;
position: relative;
left: -0.5rem;
}
.on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after {
background-color: var(--blur-text-color) !important;
Expand Down
15 changes: 13 additions & 2 deletions drake-vue3.css
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,21 @@ h2 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
}
#write h2:before {
content: "「";
position: relative;
top: -0.5rem;
left: -1rem;
}
#write h2:after {
content: "」";
position: relative;
top: 0.5rem;
}
h2 > .md-plain {
padding-bottom: .3rem;
border-bottom: .2rem solid var(--h2-underline-color);
line-height: 3rem;
position: relative;
left: -0.5rem;
}
.on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after {
background-color: var(--blur-text-color) !important;
Expand Down
15 changes: 13 additions & 2 deletions drake.css
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,21 @@ h2 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
}
#write h2:before {
content: "「";
position: relative;
top: -0.5rem;
left: -1rem;
}
#write h2:after {
content: "」";
position: relative;
top: 0.5rem;
}
h2 > .md-plain {
padding-bottom: .3rem;
border-bottom: .2rem solid var(--h2-underline-color);
line-height: 3rem;
position: relative;
left: -0.5rem;
}
.on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after {
background-color: var(--blur-text-color) !important;
Expand Down

0 comments on commit 154235b

Please sign in to comment.