<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Vignesh Srinivasan</title>
    
    <!-- SEO -->
    <!-- Begin Jekyll SEO tag v2.8.0 -->
<title>Vignesh Srinivasan | Personal website and blog of Vignesh Srinivasan</title>
<meta name="generator" content="Jekyll v3.10.0" />
<meta property="og:title" content="Vignesh Srinivasan" />
<meta name="author" content="Vignesh Srinivasan" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="Personal website and blog of Vignesh Srinivasan" />
<meta property="og:description" content="Personal website and blog of Vignesh Srinivasan" />
<link rel="canonical" href="https://vigneshsrinivasan10.github.io/assets/css/main.css" />
<meta property="og:url" content="https://vigneshsrinivasan10.github.io/assets/css/main.css" />
<meta property="og:site_name" content="Vignesh Srinivasan" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Vignesh Srinivasan" />
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"WebPage","author":{"@type":"Person","name":"Vignesh Srinivasan"},"description":"Personal website and blog of Vignesh Srinivasan","headline":"Vignesh Srinivasan","url":"https://vigneshsrinivasan10.github.io/assets/css/main.css"}</script>
<!-- End Jekyll SEO tag -->

    
    <!-- Feeds -->
    <link rel="alternate" type="application/rss+xml" title="Vignesh Srinivasan" href="/feed.xml">
    
    <!-- Stylesheets -->
    <link rel="stylesheet" href="/assets/css/main.css">
    
    <!-- Your existing stylesheet (preserved) -->
    <link rel="stylesheet" href="/stylesheet.css">
    
    <!-- Code highlighting -->
    <link rel="stylesheet" href="/assets/css/syntax.css">
    
    <!-- MathJax for equations -->
    <script>
    MathJax = {
        tex: {
            inlineMath: [['$', '$'], ['\\(', '\\)']],
            displayMath: [['$$', '$$'], ['\\[', '\\]']]
        }
    };
    </script>
    <script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js" async></script>

    <!-- Mermaid for diagrams -->
    <style>
        .mermaid {
            display: flex;
            justify-content: center;
            text-align: center;
            margin: 1.5em auto;
            width: 100%;
        }
        .mermaid svg {
            max-width: 100%;
        }
    </style>
    <script src="https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.min.js"></script>
    <script>
        mermaid.initialize({
            startOnLoad: false,
            theme: 'default',
            securityLevel: 'loose'
        });
        
        document.addEventListener('DOMContentLoaded', function() {
            // Find all code blocks with language-mermaid class
            document.querySelectorAll('pre code.language-mermaid, code.language-mermaid').forEach(function(codeBlock) {
                // Get the mermaid code
                var code = codeBlock.textContent;
                
                // Create a new div for mermaid
                var div = document.createElement('div');
                div.className = 'mermaid';
                div.textContent = code;
                
                // Replace the pre element (or code if no pre parent)
                var pre = codeBlock.closest('pre') || codeBlock;
                pre.parentNode.replaceChild(div, pre);
            });
            
            // Now render all mermaid diagrams
            mermaid.run();
        });
    </script>
</head>
<body>
    <header class="site-header">
    <h1 class="site-name"><a href="/">Vignesh Srinivasan</a></h1>
    <nav>
        <ul>
            <li><a href="/#about">About Me</a></li>
            <li><a href="/thesis">PhD Thesis</a></li>
            <li><a href="/publications/">Selected Publications</a></li>
            <li><a href="/blog/">Blogs</a></li>
        </ul>
    </nav>
</header>

    
    <main class="container">
        /* ===========================================
   Jekyll Blog Styles
   Add these to complement your existing stylesheet.css
   =========================================== */

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation */
.site-header {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.nav-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #007bff;
}

/* Post Styles */
.post {
    margin-bottom: 3rem;
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.post-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.post-meta {
    color: #6c757d;
    font-size: 0.9rem;
}

.post-meta > * {
    margin-right: 1rem;
}

.post-tags {
    margin-top: 0.5rem;
}

.tag {
    display: inline-block;
    background: #e9ecef;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    color: #495057;
}

/* Post Content */
.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.post-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #444;
}

.post-content p {
    margin-bottom: 1.2rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
    border-radius: 4px;
}

.post-content blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #6c757d;
    font-style: italic;
}

/* Code Blocks */
.post-content pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-content code {
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.9rem;
}

.post-content p code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
}

/* Post Navigation */
.post-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
}

.prev-post,
.next-post {
    color: #007bff;
    text-decoration: none;
}

/* Post List (Blog Index) */
.post-list {
    list-style: none;
    padding: 0;
}

.post-list li {
    margin-bottom: 1.5rem;
}

.post-preview {
    background: #f9f9f9;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.post-preview h2 {
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
}

.post-preview h2 a {
    color: #333;
    text-decoration: none;
}

.post-preview h2 a:hover {
    color: #007bff;
}

.post-preview time {
    color: #6c757d;
    font-size: 0.9rem;
}

.post-preview p {
    margin-top: 0.5rem;
    margin-bottom: 0;
    color: #555;
}

.view-all {
    display: inline-block;
    margin-top: 1rem;
    color: #007bff;
    text-decoration: none;
}

/* Footer */
.site-footer {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.footer-content p {
    margin: 0.5rem 0;
    color: #6c757d;
}

.footer-content a {
    color: #007bff;
    text-decoration: none;
}

/* Math (MathJax) */
.MathJax {
    font-size: 1.1em !important;
}

/* WIP Section */
.wip-section-title {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px dashed #ccc;
    color: #666;
}

.wip-description {
    color: #888;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.wip-badge {
    display: inline-block;
    background: #e9ecef;
    color: #666;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    margin-left: 0.5rem;
    vertical-align: middle;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .post-content {
        font-size: 1rem;
    }
}

    </main>
    
    <footer class="site-footer">
    <p>Website template inspired by <a href="https://jonbarron.info/">Jon Barron</a>, <a href="https://lilianweng.github.io/">Lilian Weng</a> and Professor Dr von Igelfeld.</p>
</footer>

</body>
</html>
