update zola template
This commit is contained in:
52
static/css/dark-mode.css
Normal file
52
static/css/dark-mode.css
Normal file
@@ -0,0 +1,52 @@
|
||||
/* Dark mode styles */
|
||||
.dark .prose {
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
.dark .prose h1,
|
||||
.dark .prose h2,
|
||||
.dark .prose h3,
|
||||
.dark .prose h4,
|
||||
.dark .prose h5,
|
||||
.dark .prose h6 {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.dark .prose a {
|
||||
color: #3b82f6;
|
||||
}
|
||||
|
||||
.dark .prose strong {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.dark .prose code {
|
||||
color: white;
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.dark .prose blockquote {
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
border-left-color: rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
.dark .prose hr {
|
||||
border-color: rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
.dark .prose table th {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.dark .prose table td {
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
}
|
||||
|
||||
/* Transition effects for theme switching */
|
||||
html.transition,
|
||||
html.transition *,
|
||||
html.transition *:before,
|
||||
html.transition *:after {
|
||||
transition: all 0.3s ease-in-out !important;
|
||||
transition-delay: 0 !important;
|
||||
}
|
43
static/css/dropdown.css
Normal file
43
static/css/dropdown.css
Normal file
@@ -0,0 +1,43 @@
|
||||
/* Dropdown menu styles */
|
||||
.dropdown {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.dropdown-content {
|
||||
display: none;
|
||||
position: absolute;
|
||||
background-color: #f9f9f9;
|
||||
min-width: 160px;
|
||||
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
||||
z-index: 1;
|
||||
border-radius: 0.375rem;
|
||||
}
|
||||
|
||||
.dropdown-content a {
|
||||
color: black;
|
||||
padding: 12px 16px;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.dropdown-content a:hover {
|
||||
background-color: #f1f1f1;
|
||||
}
|
||||
|
||||
.dropdown:hover .dropdown-content {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Dark mode styles */
|
||||
html.dark .dropdown-content {
|
||||
background-color: #374151;
|
||||
}
|
||||
|
||||
html.dark .dropdown-content a {
|
||||
color: #f9fafb;
|
||||
}
|
||||
|
||||
html.dark .dropdown-content a:hover {
|
||||
background-color: #4b5563;
|
||||
}
|
107833
static/css/main.css
Normal file
107833
static/css/main.css
Normal file
File diff suppressed because it is too large
Load Diff
57
static/css/output.css
Normal file
57
static/css/output.css
Normal file
@@ -0,0 +1,57 @@
|
||||
/* Tailwind CSS output file */
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
/* Custom styles */
|
||||
.container {
|
||||
width: 100%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.container {
|
||||
max-width: 640px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.container {
|
||||
max-width: 768px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.container {
|
||||
max-width: 1024px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1280px) {
|
||||
.container {
|
||||
max-width: 1280px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Transition effects */
|
||||
.transition-all {
|
||||
transition-property: all;
|
||||
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
transition-duration: 150ms;
|
||||
}
|
||||
|
||||
/* Additional utility classes */
|
||||
.text-shadow {
|
||||
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.hover-grow {
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.hover-grow:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
Reference in New Issue
Block a user