diff --git a/annotation-setting.yaml b/annotation-setting.yaml index e69de29..bcb3adf 100644 --- a/annotation-setting.yaml +++ b/annotation-setting.yaml @@ -0,0 +1,13 @@ +apiVersion: v1alpha1 +kind: AnnotationSetting +metadata: + generateName: annotation-setting- +spec: + targetRef: + group: "core.halo.run" + kind: Photo + formSchema: + - $formkit: "color" + name: "nameColor" + value: "#ffffff" + label: "字体颜色颜色" \ No newline at end of file diff --git a/templates/assets/css/main.css b/templates/assets/css/main.css index bfafee9..cfb188a 100644 --- a/templates/assets/css/main.css +++ b/templates/assets/css/main.css @@ -1218,8 +1218,7 @@ ul.icons li:last-child { } ul.icons li .iconfont:before { - font-size: 28px; - line-height: 1; + font-size: 25px; height: 28px; margin: auto; display: contents; diff --git a/templates/macro/photo.html b/templates/macro/photo.html index 8436c21..00c2af1 100644 --- a/templates/macro/photo.html +++ b/templates/macro/photo.html @@ -1,11 +1,11 @@ -
+
- + -

[[${photo.spec.displayName}]]

+

[[${photo.spec.displayName}]]

-

[[${photo.spec.description}]]

+

[[${photo.spec.description}]]