Replace "@vercel/analytics" with "@tryghost/content-api" and add "node-fetch" to dependencies. Remove "@vercel/speed-insights" to streamline the package. Update robots.txt to dis access to "/legal-notice" and "/privacy-policy". Change <p> tags to <div> in the Privacy Policy for better structure. Update the last modified date in the Legal Notice. Add a new API route for fetching images with error handling for missing URL parameters.
71 lines
1023 B
CSS
71 lines
1023 B
CSS
/* ghostContent.css */
|
|
|
|
.content {
|
|
font-family: "Arial", sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
}
|
|
|
|
.content h1,
|
|
.content h2,
|
|
.content h3,
|
|
.content h4,
|
|
.content h5,
|
|
.content h6 {
|
|
color: #222;
|
|
margin-top: 1.5em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.content p {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.content img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
margin: 1em 0;
|
|
}
|
|
|
|
.content ul,
|
|
.content ol {
|
|
margin: 1em 0;
|
|
padding-left: 1.5em;
|
|
}
|
|
|
|
.content a {
|
|
color: #0070f3;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.content a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.content blockquote {
|
|
border-left: 4px solid #ddd;
|
|
padding-left: 1em;
|
|
color: #666;
|
|
margin: 1em 0;
|
|
}
|
|
|
|
.content pre {
|
|
background: #f5f5f5;
|
|
padding: 1em;
|
|
border-radius: 8px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.loader {
|
|
border-top-color: #3498db;
|
|
animation: spin 1s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|