5
5
* License version 2 or later.
8
/** Generic styling **/
13
background-color: white;
9
15
font-family: sans-serif;
22
a:hover, a:active, a:focus {
30
/** Special styles for header section **/
34
background-color: #fea;
36
border-bottom: 1px solid black;
37
/* IMPORTANT: This 5.3em is hard-coded elsewhere in this file. Search for
38
* #ivleheader.height to update it. */
42
z-index: 1; /* Background to all, but the body */
46
/* Pad left and right. */
51
z-index: 3; /* In front */
54
/* Special "IVLE" and "Informatics Virtual Learning Environment" titles */
73
/* Note: The body has NO PADDING by default (unlike plain HTML).
74
* This is because almost all of the apps need this behaviour.
75
* If a particular app needs padding, it should manually wrap all of its
76
* output in a <div id="ivle_padding">.
79
/* This is positioned absolutely so that its content can be positioned
80
* absolutely as well, and so height: 100% really means it. */
82
top: 5.3em; /* == #ivleheader.height */
85
z-index: 0; /* Behind header */
88
/* Apps can optionally have a <div id="ivle_padding"> as the outermost
89
* element, if 1em of padding is desired (otherwise there will be no padding).
102
p.userhello .username {
106
/* The tabs bar is positioned absolutely, unlike the other header content.
107
* This allows it to be aligned exactly with the bottom of the header bar.
111
height: 5.3em; /* == #ivleheader.height */
118
z-index: 2; /* In front of background, behind text */
122
/* This allows for a single paragraph, currently used to display a warning
130
/* The apptabs ul is aligned to the bottom of #ivleheader_tabs */
135
right: 1em; /* == #ivleheader.padding-right */
142
border: 1px solid black;
143
background-color: #fc6;
146
ul#apptabs li:hover {
147
background-color: #fd8;
149
/* Currently active app tab */
150
ul#apptabs li.thisapp {
151
background-color: white;
152
border-bottom: 1px solid white;
156
color: navy; /* Text colour not to change */
157
text-decoration: none;
160
/* Terms of Service accept / decline buttons */