nzart-exam-generator/css/main.css
2017-01-02 11:12:27 +13:00

218 lines
3.2 KiB
CSS
Executable File

html, body, #container {
width: 100%;
height: 100%;
background-color: #EEEEEE;
}
#header {
text-align: center;
border-bottom: 1px solid #333333;
}
#body {
width: 960px;
margin-bottom:10px;
margin-top:10px;
}
#footer {
text-align: center;
width: 100%;
}
.center {
margin: 0 auto 0 auto;
}
#user {
position: absolute;
top: 0;
right: 0;
margin-right: 15px;
margin-top: 10px;
width: 300px;
text-align:right;
}
#cover {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-color: #222222;
z-index: 100;
opacity: 0.9;
}
#login {
position: absolute;
top: 50%;
left: 50%;
-moz-border-radius: 15px;
border-radius: 15px;
height: 180px;
width: 250px;
background-color: #EEEEEE;
padding: 20px;
margin: -150px 0 0 -125px;
z-index: 101;
}
html {
color: #222;
font-size: 1em;
line-height: 1.4;
}
::-moz-selection {
background: #b3d4fc;
text-shadow: none;
}
::selection {
background: #b3d4fc;
text-shadow: none;
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0;
}
audio,
canvas,
iframe,
img,
svg,
video {
vertical-align: middle;
}
fieldset {
border: 0;
margin: 0;
padding: 0;
}
textarea {
resize: vertical;
}
.hidden {
display: none !important;
}
.visuallyhidden {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
clip: auto;
height: auto;
margin: 0;
overflow: visible;
position: static;
width: auto;
}
.invisible {
visibility: hidden;
}
.clearfix:before,
.clearfix:after {
content: " "; /* 1 */
display: table; /* 2 */
}
.clearfix:after {
clear: both;
}
@media only screen and (min-width: 35em) {
/* Style adjustments for viewports that meet the condition */
}
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
/* Style adjustments for high resolution devices */
}
@media print {
*,
*:before,
*:after,
*:first-letter,
*:first-line {
background: transparent !important;
color: #000 !important; /* Black prints faster:
http://www.sanbeiji.com/archives/953 */
box-shadow: none !important;
text-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
}
a[href]:after {
content: " (" attr(href) ")";
}
abbr[title]:after {
content: " (" attr(title) ")";
}
a[href^="#"]:after,
a[href^="javascript:"]:after {
content: "";
}
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid;
}
thead {
display: table-header-group;
}
tr,
img {
page-break-inside: avoid;
}
img {
max-width: 100% !important;
}
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
h2,
h3 {
page-break-after: avoid;
}
}