@ox-content/vite-plugin 3.0.0-alpha.15 → 3.0.0-alpha.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/styles/ogp.css +13 -6
- package/package.json +2 -2
package/dist/styles/ogp.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* ox-content OGP Card Plugin - Link card styles */
|
|
2
2
|
|
|
3
|
-
.ox-ogp-card {
|
|
3
|
+
.ox-ogp-card.ox-ogp-card {
|
|
4
4
|
display: flex;
|
|
5
5
|
margin: 1.5rem 0;
|
|
6
6
|
border: 0;
|
|
@@ -11,10 +11,11 @@
|
|
|
11
11
|
background: transparent;
|
|
12
12
|
text-decoration: none;
|
|
13
13
|
color: var(--octc-color-text);
|
|
14
|
+
font-weight: 400;
|
|
14
15
|
transition: color 0.2s ease;
|
|
15
16
|
}
|
|
16
17
|
|
|
17
|
-
.ox-ogp-card:hover {
|
|
18
|
+
.ox-ogp-card.ox-ogp-card:hover {
|
|
18
19
|
text-decoration: none;
|
|
19
20
|
}
|
|
20
21
|
|
|
@@ -61,10 +62,14 @@
|
|
|
61
62
|
color: var(--octc-color-text-muted);
|
|
62
63
|
}
|
|
63
64
|
|
|
64
|
-
.ox-ogp-favicon {
|
|
65
|
+
.ox-ogp-card .ox-ogp-favicon {
|
|
66
|
+
display: block;
|
|
67
|
+
flex: 0 0 auto;
|
|
65
68
|
width: 16px;
|
|
66
69
|
height: 16px;
|
|
70
|
+
margin: 0;
|
|
67
71
|
border-radius: 2px;
|
|
72
|
+
object-fit: contain;
|
|
68
73
|
}
|
|
69
74
|
|
|
70
75
|
.ox-ogp-domain {
|
|
@@ -73,11 +78,13 @@
|
|
|
73
78
|
white-space: nowrap;
|
|
74
79
|
}
|
|
75
80
|
|
|
76
|
-
.ox-ogp-image {
|
|
81
|
+
.ox-ogp-card .ox-ogp-image {
|
|
82
|
+
display: block;
|
|
77
83
|
width: 200px;
|
|
78
84
|
min-width: 200px;
|
|
79
85
|
height: auto;
|
|
80
|
-
|
|
86
|
+
margin: 0;
|
|
87
|
+
object-fit: contain;
|
|
81
88
|
background: var(--octc-color-bg-alt);
|
|
82
89
|
}
|
|
83
90
|
|
|
@@ -109,7 +116,7 @@
|
|
|
109
116
|
flex-direction: column;
|
|
110
117
|
}
|
|
111
118
|
|
|
112
|
-
.ox-ogp-image {
|
|
119
|
+
.ox-ogp-card .ox-ogp-image {
|
|
113
120
|
width: 100%;
|
|
114
121
|
min-width: 100%;
|
|
115
122
|
height: 160px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ox-content/vite-plugin",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.16",
|
|
4
4
|
"description": "Vite plugin for Ox Content - High-performance Markdown processing with Environment API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"environment-api",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"satori-html": "^0.3.2",
|
|
110
110
|
"typescript": "^7.0.2",
|
|
111
111
|
"unified": "^11.0.5",
|
|
112
|
-
"@ox-content/napi": "3.0.0-alpha.
|
|
112
|
+
"@ox-content/napi": "3.0.0-alpha.16"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
115
|
"@playwright/test": "^1.62.1",
|