Merge pull request 'Updated page template.' (#2) from native-advertising into main

Reviewed-on: #2
This commit is contained in:
David Ball 2024-08-25 23:48:43 -04:00
commit 49b59400ec
3 changed files with 18 additions and 1 deletions

8
package-lock.json generated
View File

@ -32,6 +32,7 @@
"markdown-it": "^14.0.0",
"markdown-it-attrs": "^4.1.6",
"memfs": "^4.11.1",
"mime-types": "^2.1.35",
"multer": "^1.4.5-lts.1",
"ollama": "^0.5.8",
"playwright": "*",
@ -49,6 +50,7 @@
"@types/luxon": "^3.4.2",
"@types/markdown-it": "^14.1.1",
"@types/markdown-it-attrs": "^4.1.3",
"@types/mime-types": "^2.1.4",
"@types/multer": "^1.4.11",
"@types/node": "^20.0.0",
"ts-node": "^10.9.2",
@ -2829,6 +2831,12 @@
"integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==",
"dev": true
},
"node_modules/@types/mime-types": {
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/@types/mime-types/-/mime-types-2.1.4.tgz",
"integrity": "sha512-lfU4b34HOri+kAY5UheuFMWPDOI+OPceBSHZKp69gEyTL/mmJ4cnU6Y/rlme3UL3GyOn6Y42hyIEw0/q8sWx5w==",
"dev": true
},
"node_modules/@types/ms": {
"version": "0.7.34",
"resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz",

View File

@ -39,6 +39,7 @@
"markdown-it": "^14.0.0",
"markdown-it-attrs": "^4.1.6",
"memfs": "^4.11.1",
"mime-types": "^2.1.35",
"multer": "^1.4.5-lts.1",
"ollama": "^0.5.8",
"playwright": "*",
@ -56,6 +57,7 @@
"@types/luxon": "^3.4.2",
"@types/markdown-it": "^14.1.1",
"@types/markdown-it-attrs": "^4.1.3",
"@types/mime-types": "^2.1.4",
"@types/multer": "^1.4.11",
"@types/node": "^20.0.0",
"ts-node": "^10.9.2",

View File

@ -14,7 +14,8 @@ const { editToken, text } = Astro.props;
.content {
margin-bottom: 2rem;
border: 1px solid rgba(var(--accent-light), 25%);
background: linear-gradient(rgba(var(--accent-dark), 66%), rgba(var(--accent-dark), 33%));
/* background: linear-gradient(rgba(var(--accent-dark), 66%), rgba(var(--accent-dark), 33%)); */
background-color: #13151a;
padding: 0.5rem;
border-radius: 8px;
font-family: "Urbanist", sans-serif;
@ -24,3 +25,9 @@ const { editToken, text } = Astro.props;
a, a:link, a:visited { text-decoration: none; color: #fff }
a:hover { text-decoration: underline; color: #fff }
</style>
<style is:inline>
.content img {
max-height: 12em;
}
</style>