IngRRD/ingrrd.css
Vincent Riquer d618373dc9 Show current level on all pages
Begin splitting code into functions
2014-06-29 19:11:33 +02:00

132 lines
2.0 KiB
CSS

/*
* IngRRD (https://forge.riquer.fr/p/ingrrd/)
* Copyright (C) 2014 Vincent Riquer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
div.container {
position: relative;
clear: both;
margin: auto;
}
div.menu {
z-index: 1000;
position: fixed;
top: 0px;
background: white;
border: 1px solid black;
}
div.anchor {
position: relative;
top: -9.5em;
}
table.menu {
border: 1px solid black;
border-collapse: collapse;
text-align: center;
width: 100%;
}
table.menu-nobrd {
border-collapse: collapse;
text-align: center;
width: 100%;
}
td.menu {
border: 1px solid black;
background: white;
}
td.menu-inv {
background: black;
color: white
}
td.submenu-inv {
background: #444;
color: white
}
div.main {
position: absolute;
top: 7.5em;
}
div.maingraph {
position: absolute;
top: 9.3em;
}
table.curlevel {
width: 100%;
background: white;
text-align: center;
}
tr.curlevel {
background: lightgreen;
}
tr.nextlevel {
background: lightgrey;
}
td.curlevel {
color: rgb(105, 105, 0);
font-weight: bold;
}
td.curbadge {
width: 145px;
}
table.level {
width: 100%;
text-align: center;
}
th.level,td.level {
text-align: right;
}
th.AP,td.AP {
text-align: right;
}
th.badge,td.badge {
width: 170px;
}
a.badge {
color: black;
text-decoration: none;
}
img.badge {
width: 30px;
height: 30px;
}
img.minibadge {
width: 20px;
height: 20px;
}
span.missing {
color: red;
font-weight: bold;
}