kevinjqliu opened a new pull request, #165: URL: https://github.com/apache/datafusion-site/pull/165
## What Replace inline `style` attributes and `<style>` blocks with Bootstrap utility classes across 10 blog posts. The site already loads Bootstrap CSS/JS. ## Changes | Inline style | Bootstrap replacement | |---|---| | `style="text-align: center"` | `class="text-center"` | | `width="100%"` on `<img>` | Removed (redundant with `img-fluid`) | | `<style>` block for table borders | Removed | | `<table>` | `<table class="table table-bordered">` | | `<td style="border:...; padding:...">` | Removed (handled by `table-bordered`) | | `<blockquote style="border-left:...; padding:...; background-color:...">` | `class="border-start border-primary border-4 ps-3 py-2 bg-light"` | | `style="display: flex"` layouts | Bootstrap grid (`row`/`col-md-*`) | ## Why - Consistent styling via the existing Bootstrap framework - Eliminates scattered inline styles that are harder to maintain - Enables future Content Security Policy (CSP) enforcement - Flex-to-grid migration adds responsive breakpoints for mobile ## Testing | localhost URL | datafusion.apache.org URL | |---|---| | http://localhost:8000/blog/2024/01/19/datafusion-34.0.0/ | http://datafusion.apache.org/blog/2024/01/19/datafusion-34.0.0/ | | http://localhost:8000/blog/2024/03/06/comet-donation/ | http://datafusion.apache.org/blog/2024/03/06/comet-donation/ | | http://localhost:8000/blog/2024/08/20/python-datafusion-40.0.0/ | http://datafusion.apache.org/blog/2024/08/20/python-datafusion-40.0.0/ | | http://localhost:8000/blog/2025/03/11/ordering-analysis/ | http://datafusion.apache.org/blog/2025/03/11/ordering-analysis/ | | http://localhost:8000/blog/2025/03/30/datafusion-python-46.0.0/ | http://datafusion.apache.org/blog/2025/03/30/datafusion-python-46.0.0/ | | http://localhost:8000/blog/2025/04/10/fastest-tpch-generator/ | http://datafusion.apache.org/blog/2025/04/10/fastest-tpch-generator/ | | http://localhost:8000/blog/2025/06/30/cancellation/ | http://datafusion.apache.org/blog/2025/06/30/cancellation/ | | http://localhost:8000/blog/2025/07/11/datafusion-47.0.0/ | http://datafusion.apache.org/blog/2025/07/11/datafusion-47.0.0/ | | http://localhost:8000/blog/2025/07/14/user-defined-parquet-indexes/ | http://datafusion.apache.org/blog/2025/07/14/user-defined-parquet-indexes/ | | http://localhost:8000/blog/2025/12/15/avoid-consecutive-repartitions/ | http://datafusion.apache.org/blog/2025/12/15/avoid-consecutive-repartitions/ | -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
