diff --git a/themes/cfbs-theme/static/images/orange-list-icon.svg b/themes/cfbs-theme/static/images/orange-list-icon.svg new file mode 100644 index 0000000..4c8f8c1 --- /dev/null +++ b/themes/cfbs-theme/static/images/orange-list-icon.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/themes/cfbs-theme/styles/less/base.less b/themes/cfbs-theme/styles/less/base.less index 77843ee..b2e4294 100644 --- a/themes/cfbs-theme/styles/less/base.less +++ b/themes/cfbs-theme/styles/less/base.less @@ -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; diff --git a/themes/cfbs-theme/styles/less/modulePage.less b/themes/cfbs-theme/styles/less/modulePage.less index 9ab051b..544a6e8 100644 --- a/themes/cfbs-theme/styles/less/modulePage.less +++ b/themes/cfbs-theme/styles/less/modulePage.less @@ -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 {