Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
Subilan committed Mar 3, 2024
1 parent 7489a27 commit ffa9770
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions markdown.less
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,27 @@ article.resourceBody-main {
margin: 0 !important;
}
}

.bbCodeBlock {
display: flow-root;
margin: 0.5em 0;
background: #f1f3fb;
border: 1px solid #d3e1f6;
border-left: 2px solid #2175f3;
.bbCodeBlock-title {
padding: 12px 15px;
font-size: 1.2rem;
color: #92d049;
background: #f9fafd;
}
pre {
margin: 0;
}
.bbCodeBlock-content {
position: relative;
padding: 12px 15px;
}
}
}

&.dark {
Expand All @@ -129,6 +150,29 @@ article.resourceBody-main {
td {
border-color: #4d5460;
}

.bbCodeBlock {
display: flow-root;
margin: 0.5em 0;
background: #2d333d;
border: 1px solid #3a424f;
border-left: 2px solid #313742;
.bbCodeBlock-title {
padding: 10px 15px;
font-size: 1.2rem;
color: #f90;
background: #292e37;
}

pre {
margin: 0;
}

.bbCodeBlock-content {
position: relative;
padding: 12px 15px;
}
}
}

&:not(.dark) {
Expand Down

0 comments on commit ffa9770

Please sign in to comment.