/* $Id: rules.css,v 1.4 2025/06/11 18:34:46 goltz Exp $ */

body {
    font-family: Times New Roman, serif;
}

@font-face {
    font-family: 'PumpRus';
    src: url('https://universe.mmert.org/fonts/pump.ttf');
}

.pr {
    font-family: "PumpRus", "Helvetica", sans-serif;
    font-size: 60px;
    color: black;
    text-transform: uppercase;
}

.pr-small {
    font-family: "Helvetica", sans-serif;
    color: black;
    font-weight: bold;
    text-transform: uppercase;
}

h1 {
    color: #4A89DC;
    text-align: center;
    margin-bottom: 20px;
    font-family: Helvetica, Arial, sans-serif;
}

h2 {
    color: #555;
    border-bottom: 2px solid #4A89DC;
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-family: Helvetica, Arial, sans-serif;
    text-transform: uppercase;
}

h3 {
    font-family: Helvetica, Arial, sans-serif;
    color: black;
    border-bottom: 2px solid #4A89DC;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

h4 {
    font-family: Helvetica, Arial, sans-serif;
}

h5 {
    font-family: Helvetica, Arial, sans-serif;
}

h6 {
    font-family: Helvetica, Arial, sans-serif;
}

li {
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: #4A89DC;
    font-weight: bold;
}

a.name {
    text-decoration: none;
    color: #000000;
}

a:hover {
    color: #2C3E50;
    text-decoration: underline;
}

address {
    margin-top: 20px;
    text-align: center;
    font-style: normal;
}

@media (min-width: 600px) {
    body {
        max-width: 800px;
        margin: 0 auto;
        padding: 40px;
    }
}

/* Classes for scrolling content with footer. */

.footer {
    position: sticky;
    bottom: 0;
    background-color: #fff;
}

.example {
    background-color: #E6E6E6;
}

.house {			/* For house rules */
    background-color: #FFC8C8;
    border: 5px solid black;
    margin: 5px;
    padding: 5px;
}

.gm {				/* For GM-only blocks */
    background-color: #C8FFC8;
    border: 5px solid black;
    margin: 5px;
    padding: 5px;
}

.disc {				/* For things the players have discovered over time */
    background-color: #C0FFFF;
    border: 5px solid blue;
    margin: 5px;
    padding: 5px;
}

.center {
    margin: auto;
    width: 50%;
    text-align: center;
    border: 3px solid green;
    padding: 10px;
}

.indent {
    margin-left: 2em;
}

.toc {
    margin: auto;
    width: 40%;
    text-align: left;
    border: 3px solid #4A89DC;
    padding: 10px;
}

.toc-w {
    margin: auto;
    width: 80%;
    text-align: center;
    border: 3px solid #4A89DC;
    padding: 10px;
}

.tab-label {
    font-style: italic;
}

.figure {
    margin: auto;
    text-align: center;
    /* border: 3px solid gray; */
    padding: 10px;
}

.t-right {
    text-align: right;
}

.t-center {
    text-align: center;
}

.sc {
    font-variant: small-caps;
    font-weight: bold;
}

li.section {
    list-style-type: upper-alpha;
    font-variant: small-caps;
    font-weight: bold;
}    

.utable tr:nth-of-type(odd) {
    background-color: #E0E0E0;
}
    
.utable tr:nth-of-type(even) {
    background-color: white;
}
    
.utable-v tr:nth-of-type(even) {
    background-color: #E0E0E0;
}

.utable-c, .utable-vc {
    margin: auto;
    width: 50%;
    text-align: center;
    padding: 10px;
}

.utable-c tr:nth-of-type(odd) {
    background-color: #E0E0E0;
}
    
.utable-vc tr:nth-of-type(even) {
    background-color: #E0E0E0;
}

div.utable {
    border: solid black;
    background-color: #E0E0E0;
}

table.utable th {
    font-variant: small-caps;
    font-weight: bold;
    font-family: sans-serif;
    font-size: smaller;
}
