c3d2-web/content/static/autotopia/autotopia.css

111 lines
1.8 KiB
CSS

* {
box-sizing: border-box;
}
html {
font-family: "URW Gothic l";
font-size: larger;
}
body {
margin: 0;
padding: 0;
color: #111;
background: repeat url('autotopia_background_ornament.svg');
background-size: 50%;
hyphens: auto;
}
.wrapper {
/* margin: 0.5em auto;*/
/* max-width: 560px;*/
/* min-height: 800px;*/
/* background: left top no-repeat url('autotopia_vertical_header.svg');*/
/* /* make a "containing block" */
/* background-size: 50%;*/
/* position: relative;*/
}
.vertical-header{
width:20%;
min-width:150px;
float:left;
}
.a-content{
width:40%;
min-width:20em;
max-width:90em;
float:left;
border-width: 2px;
border-left-style:solid;
line-height: 150%;
}
.a-panel{
width:20%;
min-width:25em;
max-width:35em;
padding-left: 4em;
font-size: medium;
border-left-style:none;
}
.a-content-item{
min-height: 1rlh;
border-width: 2px;
border-right-style:solid;
border-bottom-style:solid;
padding-left: 1em;
padding-right: 1em;
background-color: rgba(240,240,250,0.6);
text-align: justify;
}
/* Language selection */
input[name=langselect] {
position: absolute;
top: -9999px;
left: -9999px;
/* For mobile, it's typically better to position checkbox on top of clickable
area and turn opacity to 0 instead. */
}
label {
cursor: pointer;
}
input[id=lang-en]:checked ~ .a-content :lang(de-DE) {
visibility: hidden;
display:none;
}
input[id=lang-de]:checked ~ .a-content :lang(en) {
visibility: hidden;
display:none;
}
/* Other tags */
td {
vertical-align: top;
}
nav ul, nav ul li {
list-style-type: none;
margin: 0;
padding: 0;
}
nav ul li a {
display: inline-block;
width: 0;
height: 0;
overflow: hidden;
padding: 30px 40px 0 0;
text-decoration: none;
}
nav .index {
position: absolute;
right: 375px;
top: 110px;
}