/**
 *
 * Copyright (C) 2016 Marco Scarpetta
 * 
 * This file is part of Scopa.
 * 
 * Scopa is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Scopa is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Scopa.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

body {
    padding: 1rem;
}

table {
    border-collapse: collapse;
}

.properties {
    background-color: #dff;
}

td {
    border: 1px solid #000;
    padding: 5px 5px;
    margin: 0px 0px;
}

thead {
    background-color: #eee;
}

.optional > td {
    background: #fe3;
}

h3, h3 + div {
    margin-left: 2rem;
}

h4, h4 + div {
    margin-left: 4rem;
}

.object {
    background: #eee;
    display:inline-block;
    padding: 1rem;
}

.object:before {
    content: '{'
}

.object > span {
    display: block;
    margin: 2px;
    margin-left: 2rem;
}

.object > span:not(:last-child):after {
    content: ',';
}

.object:after {
    content: '}';
}
