c3d2-web/content/static/datenspuren/2016/style/style.css
2016-04-22 10:30:37 +02:00

354 lines
5.8 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; /* on top of <article> */
padding-top: 4ex;
}
nav ul {
/*width: auto;
height: auto;*/
list-style-type: none;
margin: 0 auto;
padding: 0;
color: #0a0;
/*font-size: 80%;*/
}
nav li {
display: inline-block;
/*background-color: #ffffff;*/
position: relative;
}
nav li a {
width: 7.5ex;
height: 7.5ex;
border: 0.5px solid red;
border-radius: 50%;
display: inline-block;
color: white;
background-color: red;
box-shadow: 0 0 10px 6px red;
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 {
transform: scale(1.2);
transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}
a {
color: red;
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: 0;
padding-top: 16px;
padding-bottom: 16px;
padding-left: 5%;
/*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;
}
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: 0 0 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;
right: 0;
padding-top: 10ex;
}
nav ul {
width: 60ex;
height: 35ex;
margin-right: -10ex;
}
nav li {
position: absolute;
}
nav ul > *:nth-of-type(1) {
transform: rotate(-0deg) translate(-30ex) rotate(0deg);
}
nav ul > *:nth-of-type(2) {
transform: rotate(-20deg) translate(-30ex) rotate(20deg);
}
nav ul > *:nth-of-type(3) {
transform: rotate(-40deg) translate(-30ex) rotate(40deg);
}
nav ul > *:nth-of-type(4) {
transform: rotate(-60deg) translate(-30ex) rotate(60deg);
}
article {
padding-left: 90px;
/*max-width: 960px;*/
max-width: 66%;
}
}