web/lightpit.css

Sun, 08 Apr 2018 16:41:02 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 08 Apr 2018 16:41:02 +0200
changeset 27
1f2a96efa69f
parent 26
65d5a0ca49ae
child 28
cfc3d11884ad
permissions
-rw-r--r--

removes caching of main menu

     1 /*
     2  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     3  * 
     4  * Copyright 2018 Mike Becker. All rights reserved.
     5  * 
     6  * Redistribution and use in source and binary forms, with or without
     7  * modification, are permitted provided that the following conditions are met:
     8  *
     9  *   1. Redistributions of source code must retain the above copyright
    10  *      notice, this list of conditions and the following disclaimer.
    11  *
    12  *   2. Redistributions in binary form must reproduce the above copyright
    13  *      notice, this list of conditions and the following disclaimer in the
    14  *      documentation and/or other materials provided with the distribution.
    15  *
    16  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    17  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    18  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    19  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
    20  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    21  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    22  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    23  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    24  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    25  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    26  * POSSIBILITY OF SUCH DAMAGE.
    27  * 
    28  */
    30 html {
    31     background: #f8f8f8;
    32 }
    34 body {
    35     background: white;
    36     font-family: serif;
    38     border-color: #505050;
    39     border-style: solid;
    40     border-width: 1pt;
    42     color: #1c202e;
    43 }
    45 h1, h2, h3, h4, #mainMenu, #subMenu {
    46     font-family: sans-serif;
    47 }
    49 a {
    50     color: #3060f8;
    51     text-decoration: none;
    52 }
    54 #mainMenu {
    55     width: 100%;
    56     display: flex;
    57     flex-flow: row wrap;
    58     background: #f0f0f5;
    59     font-size: larger;
    60 }
    62 #subMenu {
    63     background: #f7f7ff;
    65     border-image: linear-gradient(to right, #606060, rgba(60,60,60,.25));
    66     border-image-slice: 1;
    67     border-top-style: solid;
    68     border-top-width: 1pt;
    69     border-bottom-style: solid;
    70     border-bottom-width: 1pt;
    71 }
    73 .menuEntry {
    74     padding: .25em 1em .25em 1em;
    75 }
    77 #mainMenu .menuEntry[data-active] {
    78     background: #e0e0e5;
    79 }
    81 #subMenu .menuEntry[data-active] {
    82     background: #e7e7ef
    83 }
    85 #content-area {
    86     padding: 1em;
    87 }
    89 th {
    90     text-align: left;
    91 }
    93 table.datatable {
    94     width: 100%;
    95     border-style: solid;
    96     border-width: 1pt;
    97     border-color: black;
    98     border-collapse: collapse;
    99 }
   101 table.datatable th {
   102     font-weight: bold;
   103     background: lightsteelblue;
   104 }
   106 table.datatable th, table.datatable td {
   107     border-style: solid;
   108     border-width: 1pt;
   109     border-color: black;
   110     padding: .4em;
   111 }
   113 table.datatable tr:nth-child(2n) {
   114     background: lightblue;
   115 }
   117 .hcenter {
   118     text-align: center;
   119 }
   121 .smalltext {
   122     font-size: smaller;
   123 }
   125 .nowrap {
   126     white-space: nowrap;
   127 }

mercurial