@@ -1968,4 +1968,63 @@ footer p {
19681968
19691969.header-social-icons a : hover {
19701970 color : var (--lavender );
1971- }
1971+ }
1972+
1973+ /* ======================================
1974+ * Tables
1975+ /* ====================================== */
1976+ /* Style all Markdown tables inside blog containers */
1977+ .blog-content table ,
1978+ .blog-text table {
1979+ width : 100% ;
1980+ border-collapse : collapse;
1981+ margin : 1.5rem 0 ;
1982+ background : # 222734 ;
1983+ color : # EAEFFF ;
1984+ font-size : 0.98rem ;
1985+ box-shadow : 0 1px 4px rgba (27 , 26 , 39 , 0.07 );
1986+ }
1987+
1988+ .blog-content table thead th ,
1989+ .blog-text table thead th {
1990+ background : # 2D3447 ;
1991+ border-bottom : 2px solid # 384057 ;
1992+ border-right : 1.5px solid # 384057 ; /* vertical line */
1993+ font-weight : 600 ;
1994+ color : # EAEFFF ;
1995+ padding : 0.85em ;
1996+ }
1997+
1998+ /* Remove right border from last header to avoid double lines */
1999+ .blog-content table thead th : last-child ,
2000+ .blog-text table thead th : last-child {
2001+ border-right : none;
2002+ }
2003+
2004+ .blog-content table td ,
2005+ .blog-text table td {
2006+ padding : 0.85em ;
2007+ border : 1px solid # 384057 ;
2008+ vertical-align : top;
2009+ }
2010+
2011+ .blog-content table tbody tr : nth-child (even),
2012+ .blog-text table tbody tr : nth-child (even) {
2013+ background : # 23293A ;
2014+ }
2015+
2016+ .blog-content table tbody tr : hover ,
2017+ .blog-text table tbody tr : hover {
2018+ background : # 27436B ;
2019+ transition : background 0.14s ;
2020+ }
2021+
2022+ .blog-content table td : last-child ,
2023+ .blog-text table td : last-child {
2024+ color : # 98A8D6 ; /* subtle highlight for totals/numbers */
2025+ }
2026+
2027+ .blog-content table td strong ,
2028+ .blog-text table td strong {
2029+ color : # 27B2E4 ; /* accent for important values */
2030+ }
0 commit comments