/* www.lwithers.me.uk/main.css
vim: ts=4:sw=4:expandtab
*/



/* Default page layout

Black text on a white background, with a bit of a margin (on both sides)
to aid readibility.

*/
body {
    color: black;
    background: white;
    margin-left: 10%;
    margin-right: 10%;
}



/* Headings

h1 through h3 are centred.
h1 has a green background.

*/
h1 {
    background: rgb(224,255,224);
}
h1,h2,h3 {
    text-align: center;
}



/* Preformatted blocks

Add a slight border and background for readability.

*/
pre {
    border: solid thin grey;
    background: rgb(255,240,240);
}



/* Tables

We just use a single line to delineate cells, it is more attractive than
the usual "boxy 3D" look. Headers get a mild blue background.

*/
table {
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
}
th {
    background: rgb(224,224,255);
}



/* Navigation bars

These have smaller than usual text, and are right-aligned.

*/
.navbar {
    font-size: x-small;
    text-align: right;
}



/* FHS references

For some style, the site is laid out according to the FHS, and we quote the purpose of each
directory at the top of the page.

*/
.fhs {
    float: right;
    width: 40%;
    border: solid thin rgb(224,224,224);
    background: rgb(240,240,240);
    text-align: right;
    font-size: xx-small;
    font-style: oblique;
    margin: 0.5em 0em 0.5em 2em;
}
.fhs-title:before {
    content: "FHS2.3: ";
}
.fhs-title {
    font-variant: small-caps;
}



/* Project descriptors */
.project-descriptor {
    float: right;
    width: 40%;
    border: solid thin rgb(224,224,255);
    background: rgb(240,240,255);
    margin: 0.5em 0em 0.5em 2em;
}
.project-type:before {
    content: "Project type: ";
    font-style: oblique;
}
.project-language:before {
    content: "Primary language(s): ";
    font-style: oblique;
}
.project-license:before {
    content: "License: ";
    font-style: oblique;
}
.project-status:before {
    content: "Development status: ";
    font-style: oblique;
}



/* ??? */
.colorblock {
    background-color: rgb(224,224,255);
}


