dewaldpetzer's picture
How do i use this script in wordpress so that i can do design changes
2f7542e verified
raw
history blame contribute delete
925 Bytes
/* WordPress Design System Base Styles */
:root {
--primary: #3b82f6;
--secondary: #10b981;
--dark: #1e293b;
--light: #f8fafc;
}
/* WordPress Content Area Styles */
.wp-content {
@apply max-w-4xl mx-auto py-8 px-4;
}
.wp-content h1 {
@apply text-3xl font-bold text-gray-800 mb-6;
}
.wp-content h2 {
@apply text-2xl font-semibold text-gray-700 mb-4 mt-8;
}
.wp-content p {
@apply text-gray-600 mb-4 leading-relaxed;
}
/* WordPress Block Styles */
.wp-block {
@apply mb-8;
}
.alignwide {
@apply max-w-6xl mx-auto;
}
.alignfull {
@apply w-screen relative left-1/2 -ml-[50vw];
}
/* Custom WordPress Components */
.wp-button-primary {
@apply bg-blue-500 hover:bg-blue-600 text-white font-medium py-2 px-4 rounded transition duration-200;
}
.wp-button-secondary {
@apply bg-green-500 hover:bg-green-600 text-white font-medium py-2 px-4 rounded transition duration-200;
}