📄 tech-blog.css
/home/palash/git/site-assets/site-contents/stylesheets/tech-blog.css
Language: css • Lines: 109
.tech-blog-content {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.75;
}

.tech-blog-content h1,
.tech-blog-content h2,
.tech-blog-content h3 {
    line-height: 1.3;
}

.tech-blog-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

.tech-blog-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
}

.tech-blog-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
}

/* Paragraph Text */
.tech-blog-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
}

.tech-blog-content img {
    max-height: 250px;
    height: auto;
}

/* Code Blocks */
.tech-blog-content pre,
.tech-blog-content code {
    color: #dfe6e9;
    font-family: "Fira Code", monospace;
    border-radius: 4px;
}

.tech-blog-content code {
    font-size: 0.95rem;
    color: #81ecec;
}

/* Blockquotes */
.tech-blog-content blockquote {
    font-style: italic;
    color: #fab1a0;
    border-left: 4px solid #fab1a0;
    padding-left: 1em;
}

/* Lists */
.tech-blog-content li {
    font-family: 'Open Sans', sans-serif;
    margin: 0.5em 0;
}

/* Links */
.tech-blog-content a {
    font-weight: 500;
}

.tech-blog-content a:hover {
    text-decoration: underline;
}

/* Code Block Styling for Command-Line Look */
.tech-blog-content pre {
    color: #00ff9d;
    /* Neon green text for command-line feel */
    background-color: #1e1e1e;
    /* Dark background to mimic a terminal */
    font-family: "Fira Code", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    /* font-family: 'Courier New', monospace;*/
    border-left: 4px solid #e3f988;
    /* Bright border to simulate prompt line */
    padding: 1em;
    border-radius: 5px;
    overflow-x: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Inline Code Styling */
.tech-blog-content code {
    color: #9acd32;
    /* Same neon green for inline code */
    background-color: #1e1e1e;
    font-family: 'Fira Code', monospace;
    border-radius: 3px;
}

.tech-blog-content blockquote {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    padding-left: 15px;
    font-style: italic;
}