pageContent1224.css

File Contents

This style sheet controls the appearaance of my pages. These pages have four chief parts.


/*
    pageContent1224.css
    Last change:  14 December 2024
    Copyright ©2024 by John M. Morrison
    This is the stylesheet producing the pages
    https://www.johnmmorrison.com/
    This is released under a GPLv3 license and is freely available
    for any non-commerical or educational use.
    No warranties or guarantees of any kind come with this code.
*/
.display
{
    text-align:center;
}
/* This creates the effect of centering subheadings inside of horizontal
   rules.  
*/
h1.subhead:before, h1.subhead:after, h2.subhead:before, h2.subhead:after
{
    content:" ";
    border-top:solid 1px black;
    align-self:center;
}
h1.subhead, h2.subhead
{
    display:grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1em;
}
body
{
    margin:0;
    padding:0;
    background-color:#FFF8E7;
    height:100%;
    width:100%;
}
header
{
    text-align:center;
    position:fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    background-color:#001A57;
    color:#FFF8E7;
    height:12vh;
    z-index:1;
}
.container
{
    padding:0;
    margin:0;
    width:100%;
    display:grid;
    grid-template-columns:  18vw 1fr;
    padding-bottom:80px;
    font-family: 'EB Garamond', serif;
    overflow:scroll;
}
main
{
    padding: 1em;
    padding-top: 18vh;
    overflow:scroll;
}
nav
{
    background-color:#99BADD;
    overflow:scroll;
    padding:1em;
    padding-top: 18vh;
    border-right:solid 1px black;
    border-bottom:solid 1px black;
}
nav a
{
    text-decoration:none;
    color:black;
}
.nav-menu
{
    /*position:relative;*/

}
footer
{
    border-top: solid 1px black;
    background-color:#FFF8E7;
    text-align:center;
    position:fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height:10vh;
    z-index:1;
    font-variant:small-caps;
}
pre code
{
    width:80%;
    margin-left:auto;
    margin-right:auto;
    padding:1em;
    border-radius:1em;
}

table
{
    width:80%;
}
.terminal
{
    width:80%;
    background-color:black;
    color:#FFA500;
    margin-left:auto;
    margin-right:auto;
    padding:1em;
    border-radius:1em;
}
strong, b
{
    font-family:serif;
}
.outline
{
    list-style-type:upper-roman;
}
.suboutline
{
    list-style-type:lower-alpha;
}
}