Skip to content

Commit

Permalink
Merge pull request #140 from mineralsfree/ENT-11184
Browse files Browse the repository at this point in the history
ENT-11184: styles of ul, li and code blocks improved
  • Loading branch information
olehermanse authored Jan 24, 2024
2 parents aa205b0 + 9ead2a0 commit 2b957af
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
3 changes: 3 additions & 0 deletions themes/cfbs-theme/static/images/orange-list-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions themes/cfbs-theme/styles/less/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,12 @@ pre {
code, pre {
word-break: break-all;
}
code {
background: #F7F7F7;
padding: 4px;
border-radius: 2px;
font-size: 1.4rem;
}

h1 {
color: @textColorDarkBlue;
Expand Down
17 changes: 5 additions & 12 deletions themes/cfbs-theme/styles/less/modulePage.less
Original file line number Diff line number Diff line change
Expand Up @@ -247,22 +247,15 @@
margin-top: 1.6rem;
margin-bottom: 1.6rem;
}
p, ul {
margin: 1.6rem 0
p {
margin: 1.6rem 0;
}
ul {
list-style: none;
margin: 0.6rem 0;
li {
margin-left: 1rem;
&::before {
content: "\2022";
color: @blue-800-light;
font-weight: bold;
display: inline-block;
width: 1rem;
margin-left: -1rem;
position: absolute;
}
margin-left: 2rem;
list-style-image: url(/images/orange-list-icon.svg);
}
}
a {
Expand Down

0 comments on commit 2b957af

Please sign in to comment.