$ ./webserver_programming_1

Show sourcecode

The following files exists in this folder. Click to view.

webbsrvprg/exercises/style/

stylesheet.css

stylesheet.css

161 lines ASCII Windows (CRLF)
:root {
    --bg: #0d1117;
    --panel: #161b22;
    --panel-strong: #0f172a;
    --panel-soft: #1f2937;
    --line: #30363d;
    --line-soft: #21262d;
    --text: #c9d1d9;
    --muted: #8b949e;
    --heading: #f0f6fc;
    --accent: #58a6ff;
    --accent-soft: rgba(88, 166, 255, 0.12);
    --success: #3fb950;
    --warning: #d29922;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 32px 20px;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

body > div {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 28px 30px;
    background: var(--panel);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(1, 4, 9, 0.35);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    color: var(--heading);
    font-weight: 600;
    line-height: 1.25;
    padding-bottom: 0.45rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }

p,
ul,
ol,
pre,
code {
    color: var(--text);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

p,
ul,
ol {
    color: var(--muted);
    margin: 0 0 1rem;
}

p {
    padding: 0.75rem 0.9rem;
    background: rgba(22, 27, 34, 0.8);
    border: 1px solid var(--line-soft);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
}

code,
pre {
    background: var(--panel-strong);
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--text);
}

code {
    padding: 0.15rem 0.45rem;
    font-size: 0.92em;
}

pre {
    padding: 1rem 1.1rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Exercise block */
.code,
.exercise,
.task,
section {
    background: var(--panel-strong);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1rem 1.1rem;
    margin: 1.2rem 0;
}

.code {
    background: linear-gradient(180deg, rgba(22, 27, 34, 0.9), rgba(13, 17, 23, 0.95));
}

.task {
    padding: 0.9rem 1rem;
    background: rgba(22, 27, 34, 0.72);
    border-left: 3px solid var(--success);
}

.example {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    background: rgba(88, 166, 255, 0.05);
    border: 1px solid var(--line-soft);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
}

/* Special styling for output from PHP */
.output {
    background: rgba(31, 41, 55, 0.7);
    border: 1px solid var(--line-soft);
    border-left: 3px solid var(--warning);
    border-radius: 4px;
    padding: 0.8rem 1rem;
    margin: 0.75rem 0 1rem;
    color: var(--text);
}

/* Links */
a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 700px) {
    body {
        padding: 16px 12px;
    }

    body > div {
        padding: 18px 16px 20px;
    }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.1rem; }
}