c3d2-web/content/static/datenspuren/2016/style/style.css

316 lines
5.2 KiB
CSS
Raw Normal View History

body {
2016-04-06 01:17:10 +02:00
display: flex;
flex-direction: column;
height: 100vh;
margin: 0 auto;
padding: 0;
2016-04-05 23:18:33 +02:00
background-color: #ff0000;
color: #ffffff;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
}
2016-04-06 01:17:10 +02:00
.wrapper {
flex: 1;
}
nav {
position: fixed;
top: 0;
2016-04-06 01:17:10 +02:00
/*left: 0;*/
right: 0;
2016-04-06 01:17:10 +02:00
text-align: center;
z-index: 5; /* on top of <article> */
}
nav ul {
2016-04-06 01:17:10 +02:00
width: 30em;
height: 30em;
list-style-type: none;
margin: 0 auto;
padding: 0;
color: #0a0;
font-size: 80%;
}
2016-04-05 23:18:33 +02:00
/** Circular menu **/
nav ul > *:nth-of-type(1) {
2016-04-06 01:17:10 +02:00
transform: rotate(-0deg) translate(-15em) rotate(0deg);
2016-04-05 23:18:33 +02:00
}
nav ul > *:nth-of-type(2) {
2016-04-06 01:17:10 +02:00
transform: rotate(-30deg) translate(-15em) rotate(30deg);
2016-04-05 23:18:33 +02:00
}
nav ul > *:nth-of-type(3) {
2016-04-06 01:17:10 +02:00
transform: rotate(-60deg) translate(-15em) rotate(60deg);
2016-04-05 23:18:33 +02:00
}
nav ul > *:nth-of-type(4) {
2016-04-06 01:17:10 +02:00
transform: rotate(-90deg) translate(-15em) rotate(90deg);
2016-04-05 23:18:33 +02:00
}
nav li {
2016-04-06 01:17:10 +02:00
width: 6em;
height: 6em;
display: inline-block;
2016-04-06 01:17:10 +02:00
/*border: 2px solid black;*/
border-radius: 50%;
background-color: #ffffff;
position: absolute;
}
nav li a {
display: inline-block;
2016-04-06 01:17:10 +02:00
color: #ff0000;
font-weight: bold;
/*padding: 0.3em 0.5em 0.5em;*/
line-height: 10ex;
text-decoration: none;
}
nav li a:hover {
color: #cfc;
}
a {
2016-04-06 01:17:10 +02:00
color: #ffffff;
text-decoration: underline;
}
h3 {
font-size: 120%;
margin: 1em 0;
padding: 0;
}
.bordered {
border: 2px solid black;
}
.block{
display: block;
white-space: pre;
margin: 0 auto;
}
.center {
text-align: center;
}
dl dt {
font-weight: bold;
}
#head1 {
position: relative;
z-index: 1;
margin-top: 32px;
height: 77px;
background: url('../images/style/tsd1.png') center top no-repeat;
}
#head2 {
position: relative;
z-index: 2;
margin-top: -27px;
height: 200px;
background: url('../images/style/tsd2.png') center top no-repeat;
}
#head3 {
position: relative;
z-index: 3;
margin-top: -1px;
height: 86px;
background: url('../images/style/tsd3.png') center top no-repeat;
}
article {
position: relative;
box-sizing: border-box;
z-index: 4;
margin: -5px auto 0;
padding: 16px 170px 16px;
max-width: 960px;
2016-04-05 23:52:01 +02:00
/*background: url('../images/style/tsd4.png') center top no-repeat;*/
}
article > * {
}
footer {
position: relative;
2016-04-05 23:52:01 +02:00
background-color: #000;
color: #777;
text-align: center;
}
footer a {
color: #fff;
}
#oldds {
list-style-type: none;
margin: 0 auto;
}
#oldds li {
display: inline;
padding: 0 0.3em;
}
#foodlocator {
cursor: pointer;
}
#foordlocator.expanded {
cursor: default;
}
#food dt {
clear: both;
margin-top: 1em;
font-weight: bold;
}
#food dt .wheelchair {
font-size: 120%;
line-height: 1em;
color: #444;
}
#food dt .addr, #food dt .website {
font-weight: normal;
margin-left: 0.8em;
color: #444;
}
#food dd {
color: #444;
font-size: 80%;
margin: 0 0 0 2em;
}
.geo-arrow {
float: left;
clear: left;
margin: 0 0.5em 1.5em 0;
}
.geo-arrow .arrow {
margin: 0;
text-align: center;
font-size: 200%;
font-weight: bold;
line-height: 1em;
}
.geo-arrow .arrow span {
display: inline-block;
}
.geo-arrow .dist {
margin: 0;
text-align: center;
font-size: 70%;
line-height: 1em;
font-weight: 100;
}
.schedule td.cell-height1,
.schedule td.cell-height2,
.schedule td.cell-height3,
.schedule td.cell-height4,
.schedule td.cell-height5,
.schedule td.cell-height6,
.schedule td.cell-height7,
.schedule td.cell-height8 {
border: 1px solid #ccc;
}
.schedule td.cell-time {
border-bottom: 1px solid #ccc;
border-right: 1px solid #ccc;
}
.schedule td {
padding: 1px 2px;
vertical-align: top;
}
.schedule {
border-collapse: collapse;
table-layout: fixed;
width: 620px;
}
.schedule thead th {
border-bottom: 1px solid #ccc;
border-right: 1px solid #ccc;
}
.schedule th, .schedule td {
width: 190px;
}
.schedule th.cell-time, .schedule td.cell-time {
width: 50px;
height: 2em;
}
.schedule h2 {
font-size: 110%;
margin: 0;
}
.schedule .event-details {
color: #666;
}
a[href$="mitschnitte-rss.xml"]:before {
padding-right: 0.3em;
content: url(../images/feed.png);
text-align: right;
vertical-align: middle;
}
.resource {
display: inline-block;
margin: 8px;
padding: 0;
box-sizing: border-box;
width: 290px;
border: 2px solid black;
}
.resource h4 {
text-align: center;
margin: 2px 4px;
padding: 0;
font-size: 100%;
font-weight: bold;
}
.resource img {
width: 100%;
}
.resource .links {
margin: 2px 4px;
padding: 0;
list-style-type: none;
text-align: center;
}
.resource .links li {
display: inline-block;
font-size: 80%;
padding: 0 0.5em;
}
.resource .links li .size {
padding: 0 0 0 0.4em;
color: #777;
}
/* *** NEW *** */
article {
padding: 1em;
}
@media (min-width: 768px) {
article {
padding: 16px 170px 16px;
}
nav li {
2016-04-06 01:17:10 +02:00
min-width: 6em;
margin: 0 0 1em;
}
nav li a {
2016-04-06 01:17:10 +02:00
/*padding: 0.3em 2em 0.5em;*/
}
}
article .center a img {
width: 100%;
}
article dl dd a {
word-wrap: break-word;
}