Commit graph

10 commits

Author SHA1 Message Date
4de71503e8
fix(lightbox): improve compatibility and responsiveness
Updated lightbox initialization to use jQuery namespace for better compatibility. Tweaked CSS to use viewport units for enhanced responsiveness. These changes aim to prevent potential conflicts and adapt lightbox content better to different screen sizes.
2024-08-06 20:26:13 +02:00
60b731c1c6
feat: add lightbox functionality for image viewing
Introduced a new lightbox feature to enhance the image viewing experience. Added a new JavaScript file to handle lightbox interactions, including opening and closing actions. Updated the footer to include the lightbox HTML structure and enhanced the CSS to style the lightbox overlay and content. Registered the new script in WordPress functions.

Addresses improved user engagement by providing a more immersive image viewing experience.
2024-08-06 20:16:54 +02:00
fd6fbf2827
fix: remove margin-bottom on h5 inside a tags
Adjusted the margin-bottom of h5 elements nested within a tags to zero.
This prevents unexpected spacing issues with elements following these
headers, ensuring better layout consistency and alignment.
2024-08-06 19:58:31 +02:00
1128527e5d
fix(styles): ensure MathJax display inline-block
Added a rule to set '.MJXc-display' elements to 'inline-block' to address layout issues where MathJax content was disrupting page flow. This change ensures better alignment and presentation of MathJax elements.
2024-08-03 20:36:34 +02:00
9ece16c681
feat: improve pagination styling and functionality
Updated pagination implementation in `archive-article.php` and `archive-letter.php` to use global `$wp_query` for accurate page counts and improved navigation. Enhanced user experience by adding more pagination options such as `prev_next`, `show_all`, and customizable text for previous and next links.

Added new styles to `style.css` to center pagination, improve link aesthetics, and highlight the current page.

This enhancement provides a more user-friendly interface and consistent appearance across archive pages.
2024-08-03 12:59:01 +02:00
5201a8a7d6
feat: enhance image and caption styling in CSS
Added styling for images and captions to improve visual aesthetics and consistency. Images now have a maximum width of 100%, a border, padding, and a subtle box shadow. Captions are centered, italicized, and have appropriate margin and padding, enhancing readability and appearance.
2024-08-02 23:08:05 +02:00
9885d43548
feat: add alignment utility classes for flexible layout
Introduced .alignright, .alignleft, and .aligncenter utility classes
to enable flexible alignment of elements. These classes assist with
consistent layout styling by allowing elements to float left or right
with appropriate margins or align centrally.

Addresses layout requirements for dynamic content placement.
2024-08-02 22:41:56 +02:00
988c775d27
feat: add dashed underline for DOI links
Introduced new styling for DOI links with a dashed underline to differentiate them visually from regular hyperlinks. This enhances user experience by clearly indicating actionable elements specific to DOIs.
2024-06-20 15:26:25 +02:00
4310ea6fb8
feat: make article titles and thumbnails clickable
Enhanced user navigation by wrapping article titles and thumbnails within anchor tags linked to the respective articles' permalink in archive-article.php and index.php. Updated styles for article titles to improve the visual appeal.
2024-06-20 14:52:37 +02:00
c61ba4a695
feat: add new WordPress theme for Duck Behavior Journal
- Set up a new WordPress theme with custom logo, header image, and menus
- Implement the WP Bootstrap Navwalker for improved navigation
- Add Bootstrap and jQuery for styling and functionality
- Customize hero section via the Customizer API
- Include footer with customizable text and social media links
- Integrate featured articles and page templates
- Enhance styles with a dedicated CSS file

References: #123, #124

This addition provides a modern, responsive design tailored to the Duck Behavior Journal, enhancing user engagement and site navigation.
2024-06-20 09:22:10 +02:00