diff --git a/docs/.vitepress/theme/liteyuki.css b/docs/.vitepress/theme/liteyuki.css index bc00cca0..17070594 100644 --- a/docs/.vitepress/theme/liteyuki.css +++ b/docs/.vitepress/theme/liteyuki.css @@ -7,11 +7,16 @@ --vp-home-hero-image-background-image: linear-gradient(-45deg, #d0e9ff 50%, #a2d8f4 50%); --vp-home-hero-image-filter: blur(44px); + --vp-c-gray-1: #eee; + --vp-c-gray-2: #aaa; + } .dark { --vp-home-hero-image-background-image: linear-gradient(-45deg, #004785 50%, #0374ad 50%); + --vp-c-gray-1: #333; + --vp-c-gray-2: #666; } .tab-buttons { @@ -49,12 +54,39 @@ } .item-card { - position: relative; - border-radius: 15px; - background-color: #99999922; - height: 160px; - padding: 16px; - margin: 10px; - box-sizing: border-box; - transition: background 0.3s ease; + position: relative; + border-radius: 15px; + background-color: var(--vp-c-gray-1); + height: 160px; + padding: 16px; + margin: 10px; + box-sizing: border-box; + transition: background 0.3s ease; +} + +.item-name { + font-size: 20px; + margin-bottom: 10px; +} + +.item-description { + color: var(--vp-c-gray-2); + font-size: 13px; + white-space: pre-wrap; +} + +.author-info { + display: flex; + justify-content: left; + align-items: center; +} + +.author-name { + font-size: 15px; + font-weight: normal; +} + +.avatar { + border-radius: 50%; + margin: 0 10px; } \ No newline at end of file diff --git a/docs/components/PluginItemCard.vue b/docs/components/PluginItemCard.vue index fbdce113..4687b1d8 100644 --- a/docs/components/PluginItemCard.vue +++ b/docs/components/PluginItemCard.vue @@ -14,7 +14,7 @@ - +