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

133 lines
2.3 KiB
CSS

html {
font-family: "URW Gothic l";
}
*{
transition:all 2s ease-out;
-webkit-transition:all 2s ease-out;
-moz-transition:all 2s ease-out;
-o-transition:all 2s ease-out;
}
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;*/
}
article {
display: flex;
flex-wrap: wrap;
}
.vertical-header{
flex: 1 1 20%;
}
.vertical-header-image{
width:100%;
min-width:300px;
}
.a-content{
border-width: 2px;
border-bottom-style:solid;
padding-bottom: 2em;
flex-direction:column;
}
.a-main{
flex: 1 1 40%;
min-width:20em;
max-width:90em;
border-width: 2px;
border-left-style:solid;
line-height: 150%;
}
.a-main p,ul{
font-size: larger;
}
.a-panel{
flex: 1 1 35%;
min-width:25em;
}
.a-item{
border-width: 2px;
border-right-style:solid;
border-bottom-style:solid;
padding-left: 1em;
padding-right: 1em;
background-color: rgba(240,240,250,0.2);
text-align: justify;
margin-right: 2em;
margin-bottom: 2em;
}
.a-item > .header{
margin-top: 1em;
font-weight: bold;
}
/* 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;
font-size:larger;
}
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 */
tr{
flex-direction: column; /*!!!does not work*/
}
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;
}