1
0
mirror of https://github.com/suk-ws/ph-Bookshelf.git synced 2025-01-31 21:13:00 +08:00

css minimal change

- update rainbow color, now the colors' gradient larger
- add small margin for list item to make it seems not such crowded
This commit is contained in:
A.C.Sukazyo Eyre 2023-04-04 20:05:16 +08:00
parent 4d9985da1e
commit f92d488b6e
Signed by: Eyre_S
GPG Key ID: C17CE40291207874
5 changed files with 17 additions and 14 deletions

View File

@ -13,15 +13,15 @@
:root { :root {
--bcm-color-list-item-marker-level0: hsl(230, 39%, 68%); --bcm-color-list-item-marker-level0: hsl(230, 39%, 68%);
--bcm-color-list-item-marker-level1: hsl(220, 39%, 68%); --bcm-color-list-item-marker-level1: hsl(200, 39%, 68%);
--bcm-color-list-item-marker-level2: hsl(210, 39%, 68%); --bcm-color-list-item-marker-level2: hsl(160, 39%, 68%);
--bcm-color-list-item-marker-level3: hsl(200, 39%, 68%); --bcm-color-list-item-marker-level3: hsl(130, 39%, 68%);
--bcm-color-list-item-marker-level4: hsl(190, 39%, 68%); --bcm-color-list-item-marker-level4: hsl(100, 39%, 68%);
--bcm-color-list-item-marker-level5: hsl(180, 39%, 68%); --bcm-color-list-item-marker-level5: hsl(70, 39%, 68%);
--bcm-color-list-item-marker-level6: hsl(170, 39%, 68%); --bcm-color-list-item-marker-level6: hsl(40, 39%, 68%);
--bcm-color-list-item-marker-level7: hsl(160, 39%, 68%); --bcm-color-list-item-marker-level7: hsl(20, 39%, 68%);
--bcm-color-list-item-marker-level8: hsl(150, 39%, 68%); --bcm-color-list-item-marker-level8: hsl(0, 39%, 68%);
--bcm-color-list-item-marker-level9: hsl(140, 39%, 68%); --bcm-color-list-item-marker-level9: hsl(-30, 39%, 68%);
} }
ul, ul,

View File

@ -153,6 +153,11 @@ ul, ol {
padding-inline-start: 1.2rem; padding-inline-start: 1.2rem;
} }
li {
margin-block-start: 0.2rem;
margin-block-end: 0.2rem;
}
li::marker { li::marker {
color: var(--bcm-color-list-item-marker-std); color: var(--bcm-color-list-item-marker-std);
} }

View File

@ -18,7 +18,6 @@
}, },
"require": { "require": {
"php": ">=8.2", "php": ">=8.2",
"ext-xml": "*",
"ext-dom": "*", "ext-dom": "*",
"ext-mbstring": "*", "ext-mbstring": "*",
"ext-fileinfo": "*", "ext-fileinfo": "*",

3
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "070684f2b1149b2154d297b64b637ed3", "content-hash": "fc6b152675eaee41381b156736040f42",
"packages": [ "packages": [
{ {
"name": "dflydev/dot-access-data", "name": "dflydev/dot-access-data",
@ -783,7 +783,6 @@
"prefer-lowest": false, "prefer-lowest": false,
"platform": { "platform": {
"php": ">=8.2", "php": ">=8.2",
"ext-xml": "*",
"ext-dom": "*", "ext-dom": "*",
"ext-mbstring": "*", "ext-mbstring": "*",
"ext-fileinfo": "*" "ext-fileinfo": "*"

View File

@ -44,12 +44,12 @@ class SiteMeta {
null:"https://cdn.jsdelivr.net/gh/PrismJS/prism-themes@master/themes/".PageMeta::prismTheme().".min.css"), null:"https://cdn.jsdelivr.net/gh/PrismJS/prism-themes@master/themes/".PageMeta::prismTheme().".min.css"),
(PageMeta::getConfigurationLevelPage(ConfigName::regex_highlight)=="false")? (PageMeta::getConfigurationLevelPage(ConfigName::regex_highlight)=="false")?
null:"//cdn.jsdelivr.net/gh/suk-ws/regex-colorizer@master/regex-colorizer-default.min.css", null:"//cdn.jsdelivr.net/gh/suk-ws/regex-colorizer@master/regex-colorizer-default.min.css",
"/assets/bread-card-markdown.css?ver=2", "/assets/bread-card-markdown.css?ver=3",
"/assets/bread-card-markdown-footnote.css?ver=1", "/assets/bread-card-markdown-footnote.css?ver=1",
"/assets/bread-card-markdown-task-list.css?ver=1", "/assets/bread-card-markdown-task-list.css?ver=1",
"/assets/bread-card-markdown-heading-permalink.css?ver=1", "/assets/bread-card-markdown-heading-permalink.css?ver=1",
(PageMeta::getConfigurationLevelPage(ConfigName::ext_listing_rainbow)=="true"? (PageMeta::getConfigurationLevelPage(ConfigName::ext_listing_rainbow)=="true"?
"/assets/bread-card-markdown-enhanced-listing-rainbow.css?ver=1":null), "/assets/bread-card-markdown-enhanced-listing-rainbow.css?ver=2":null),
"/assets/main.css?ver=1", "/assets/main.css?ver=1",
), ),
self::getPrismPluginsCss(PageMeta::prismPlugins()) self::getPrismPluginsCss(PageMeta::prismPlugins())