metanohi-misc-subsites/subsites/natur/style.css

310 lines
4.5 KiB
CSS
Raw Normal View History

2011-08-05 00:49:51 +02:00
@font-face {
font-family: 'Hand';
font-weight: normal;
src: local("Domestic Manners"),
url("Domestic_Manners.ttf") format("truetype");
}
* {
margin: 0;
padding: 0;
}
body {
font-family: 'DejaVu Serif', 'Bitstream Vera Serif', 'Liberation Serif',
'Times New Roman', 'serif', 'sans';
font-size: 14px;
color: #dbf6d0;
background-color: #00e500;
overflow: hidden;
}
object#bgflow {
position: fixed;
overflow: hidden;
width: 100%;
height: 100%;
background: #8c0000;
}
div#text_wrapper {
position: absolute;
width: 100%;
height: 100%;
overflow-y: scroll;
overflow-x: auto;
}
div#text_box {
width: 525px;
margin: 48px auto;
min-height: 50%;
background: rgba(0, 0, 0, 0.7) url(img/eyes.jpg) no-repeat;
border-width: 2px;
border-style: solid;
border-color: rgba(125, 75, 25, 0.7);
overflow: hidden;
}
a#text_header {
display: block;
position: absolute;
width: 525px;
height: 100px;
cursor: pointer;
}
div#text_header_content {
position: absolute;
bottom: 3px;
left: 7px;
color: #8ec813;
font-family: Hand, 'Domestic Manners';
font-size: 30px;
text-shadow: #000 1px -1px 1px;
}
div#text_header_space {
margin-top: 100px;
height: 2px;
background: #000;
}
ul#text_menu {
display: block;
width: 513px;
background: #000;
padding: 4px 6px 6px 6px;
color: #fff;
}
ul#text_menu li {
list-style: none;
float: left;
width: 167px;
margin-left: 6px;
font-weight: bold;
font-size: 18px;
text-align: center;
position: relative;
}
ul#text_menu li:first-child {
margin-left: 0;
}
ul#text_menu a {
display: block;
width: 100%;
height: 100%;
padding: 4px 0;
}
ul#text_menu a:link, ul#text_menu a:visited {
text-decoration: none;
color: #ccc;
background-color: #222;
}
ul#text_menu a:hover {
color: #222;
background-color: #ccc;
}
ul#text_menu li.focus a {
color: #111;
background-color: #eee;
}
div#text_content {
width: 513px;
padding: 6px;
position: relative;
}
div#text_content > div {
width: 513px;
overflow: hidden;
margin-bottom: 20px;
}
div#text_content > div.focus, div#text_content > div:last-child {
margin-bottom: 0;
}
div#text_content > div.hidden {
display: none;
}
h1 {
font-weight: normal;
font-size: 28px;
}
h2 {
margin-top: 10px;
font-weight: normal;
font-size: 24px;
}
h3 {
font-weight: normal;
font-size: 20px;
}
p {
text-indent: 6px;
}
img {
border: 0;
padding: 0;
}
img.left {
float: left;
margin: 2px 6px 3px 2px;
}
.bottom-page {
position: absolute;
bottom: 0;
left: 0;
width: 525px;
height: 289px;
border-top: 2px solid #333;
}
.large {
font-size: 20px;
}
.error {
color: #440000;
background-color: rgba(255, 155, 55, 0.5);
padding: 0 3px;
}
.center {
text-align: center;
}
.noindent {
text-indent: 0;
}
hr {
border: 1px dashed #8f97e8;
margin: 5px 0;
}
a:link, a:visited {
color: #a2ecff;
padding: 0 3px;
background-color: rgba(223, 251, 212, 0.2);
text-decoration: none;
}
a:hover {
color: #44f6c5;
background-color: rgba(123, 251, 212, 0.2);
}
a.img:link, a.img:visited, a.img:hover {
padding: 0;
background-color: transparent;
display: block;
}
a.shotimg:link, a.shotimg:visited, a.shotimg:hover {
padding: 0;
background-color: transparent;
display: block;
width: 513px;
height: 282px;
margin-bottom: 4px;
}
a.shotimg img {
width: 100%;
height: 100%;
opacity:.8;
-moz-opacity:.8;
-khtml-opacity: .8;
//-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
//filter:alpha(opacity=80);
}
a.shotimg:hover img {
opacity:1;
-moz-opacity:1;
-khtml-opacity: 1;
//-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
//filter:alpha(opacity=100);
}
div.end {
clear: both;
}
#cinema {
position: fixed;
left: 50%;
top: 50%;
width: 650px;
height: 440px;
margin-left: -325px;
margin-top: -250px;
background-color: #000;
display: none;
z-index: 2;
}
#cinema-close {
position: absolute;
right: 10px;
bottom: 10px;
width: 50px;
height: 50px;
background: url(img/stop.png) no-repeat;
cursor: pointer;
display: none;
}
#cinema-close:hover {
background-position: 0 -50px;
}
#cinema-film {
position: absolute;
left: 5px;
top: 5px;
width: 640px;
height: 360px;
}
#cinema-info {
position: absolute;
left: 20px;
bottom: 10px;
font-family: Hand, 'Domestic Manners';
font-size: 30px;
color: #f9dfdf;
display: none;
}
#subtitle {
position: absolute;
bottom: 0;
left: 50%;
width: 400px;
margin-left: -200px;
text-align: center;
padding: 3px;
background-color: rgba(0, 0, 0, 0.5);
font-family:Dejavu Sans, Arial, sans;
color: #fff;
}