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

374 lines
6.2 KiB
CSS

body {
display: flex;
flex-direction: column;
height: 100vh;
margin: 0 auto;
padding: 0;
background-color: white;
color: black;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
}
.wrapper {
flex: 1;
}
nav {
position: relative;
text-align: center;
z-index: 5; /* over <article> */
padding-top: 4ex;
}
nav ul {
/*width: auto;
height: auto;*/
list-style-type: none;
margin: 0 auto;
padding: 0;
color: #0a0;
/*font-size: 80%;*/
z-index: 5;
}
nav li {
display: inline-block;
/*background-color: #ffffff;*/
position: relative;
margin-right: 15px;
}
nav li a {
width: 7.5ex;
height: 7.5ex;
border: 0.5px solid white;
border-radius: 50%;
display: inline-block;
color: white;
background-color: #ff4141;
box-shadow: 0 0 5px 5px #ff4141;
font-weight: bold;
/*padding: 0.3em 0.5em 0.5em;*/
line-height: 7.5ex;
text-decoration: none;
transition-duration: 0.4s;
}
nav li a:hover {
text-decoration: none;
transform: scale(1.2);
transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}
a {
color: #ff4141;
text-decoration: none;
}
a:hover {
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;
}
dd {
margin-left: 0;
}
dl dt {
font-weight: bold;
margin-top: 3ex;
}
#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-top: -5px;
margin-bottom: -5px;*/
margin: 0 20px 0;
padding-top: 16px;
padding-bottom: 16px;
/*max-width: 960px;*/
max-width: 90%;
/*background: url('../images/style/tsd4.png') center top no-repeat;*/
}
article > * {
}
footer {
position: relative;
background-color: #000;
color: #777;
text-align: center;
z-index: 6;
}
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 *** */
@media (min-width: 768px) {
article {
padding-top: 16px;
padding-bottom: 16px;
}
nav li {
margin-bottom: 1em;
}
nav li a {
/*padding: 0.3em 2em 0.5em;*/
}
}
article .center a img {
width: 100%;
}
article dl dd a {
word-wrap: break-word;
}
/** Circular menu **/
@media (min-width: 1000px) {
nav {
position: fixed;
top: 0;
left: 0;
padding-top: 10ex;
z-index: 3;
width: 800px;
height: 800px;
background-image: url(/2016/images/logo.svg);
background-position: -180px -230px;
background-repeat: no-repeat;
}
nav ul {
width: 60ex;
height: 35ex;
margin-left: -20ex;
}
nav li {
position: absolute;
}
nav ul > *:nth-of-type(1) {
transform: rotate(180deg) translate(-30ex) rotate(-180deg);
}
nav ul > *:nth-of-type(2) {
transform: rotate(200deg) translate(-30ex) rotate(-200deg);
}
nav ul > *:nth-of-type(3) {
transform: rotate(220deg) translate(-30ex) rotate(-220deg);
}
nav ul > *:nth-of-type(4) {
transform: rotate(240deg) translate(-30ex) rotate(-240deg);
}
nav ul > *:nth-of-type(5) {
transform: rotate(260deg) translate(-30ex) rotate(-260deg);
}
article {
margin-right: 30px;
margin-left: 52ex;
padding-left: 15px;
padding-right: 15px;
/*background-color: white;
box-shadow: 0 0 5px black;
height: 101%;*/
}
}