mediacurator/docsource/source/_static/custom.css
Fabrice Quenneville 5ba0f84d12 **Summary:**
This release introduces a major overhaul of the `mediacurator` command-line interface (CLI) and comprehensive updates to the documentation. The CLI has transitioned from a custom argument parsing system to utilizing Python's `argparse` and `argcomplete` libraries, greatly enhancing usability and flexibility. Due to these significant changes, the version is incremented from **0.0.13** to **1.0.1**.

- **Refactored** `tools.py` for standardized command-line argument handling using `argparse` and `argcomplete`.
- **Improved** user interaction with structured arguments and built-in help, error handling, and validation.
- **Consolidated** video detail printing logic into a reusable method within the `Video` class.
- **Enhanced** `MediaLibrary` class with better clarity, functionality, and expanded support for video formats.
- **Reorganized** `main.py` to streamline argument handling and improve error feedback.
- **Updated** `setup.py` for release preparation, including new classifiers and dependencies.

- **Revised** README.md for clarity, including structured command usage and improved descriptions.
- **Moved** and improved old documentation, removing outdated content and adding new screenshots.
- **Maintained** legacy commands for backward compatibility while enhancing usability with clear examples.

- **Removed** non-existent `bcolors` from the public API.
- **Upgraded** requirements.txt to include `argcomplete` for command-line completion.
- **Updated** docstrings and function documentation for clarity on functionality and parameters.
2024-10-20 23:19:42 -04:00

58 lines
1.7 KiB
CSS

/* custom.css */
/* Add text wrap to code blocks */
/* pre {
white-space: pre-wrap;
} */
/* Add breakpoints for responsive design */
@media screen and (min-width: 1200px) {
/* Adjust layout for large screens */
div.document {
width: 90%; /* Adjust width for large screens */
margin: 30px auto; /* Center the document */
display: grid; /* Use grid layout */
grid-template-columns: 1fr 3fr; /* Sidebar takes 1/4, main content takes 3/4 of available space */
grid-template-areas: "sidebar main"; /* Define grid areas */
}
div.sphinxsidebar {
/* Add some content or set a min-width to ensure it occupies the grid area */
width: 100%; /* Example min-width */
grid-area: sidebar; /* Assign to sidebar grid area */
padding: 0 20px; /* Add padding to maintain spacing */
margin-top: 0;
margin-right: 20px;
margin-bottom: 0;
margin-left: 0; /* Adjust margins to fit within the layout */
}
div.bodywrapper {
/* Ensure it occupies the grid area */
width: 100%;
grid-area: main; /* Assign to main grid area */
padding: 0 20px; /* Add padding to maintain spacing */
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 20px; /* Adjust margins to fit within the layout */
}
}
@media screen and (max-width: 767px) {
/* Adjust layout for mobile phones */
body {
padding: 10px; /* Add padding to body for better spacing */
}
div.document {
width: 100%; /* Set width to full for mobile phones */
margin: 10px auto; /* Center the document */
display: block; /* Revert to block layout */
}
div.sphinxsidebar {
display: none; /* Hide sidebar on mobile phones */
}
}