Update index.html

This commit is contained in:
mathias 2015-12-12 16:19:40 +02:00
parent 281b6ba1fb
commit 6d80f012bc

View file

@ -108,7 +108,7 @@
} }
body { body {
font-family: montserratlight,"Helvetica Neue",Helvetica,Arial,sans-serif; font-family: montserratlight,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 16px; font-size: 1.000em;
color: #fff; color: #fff;
background: #000; background: #000;
-webkit-tap-highlight-color: rgba(255,255,255,.2); -webkit-tap-highlight-color: rgba(255,255,255,.2);
@ -143,14 +143,14 @@
} }
h1 { h1 {
font-family: montserratregular,"Helvetica Neue",Helvetica,Arial,sans-serif; font-family: montserratregular,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 16px; font-size: 1.000em;
margin: 0 0 38px 0; margin: 0 0 2.125em 0;
line-height: 30px; line-height: 1.875em;
} }
h2 { h2 {
font-family: montserratregular,"Helvetica Neue",Helvetica,Arial,sans-serif; font-family: montserratregular,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 28px; font-size: 1.750em;
margin: 0 0 25px 0; margin: 0 0 0.813em 0;
} }
a { a {
text-decoration: none; text-decoration: none;
@ -191,8 +191,9 @@
#introcontainer, #aboutcontainer, #newscontainer, #contactcontainer { #introcontainer, #aboutcontainer, #newscontainer, #contactcontainer {
display: table-cell; display: table-cell;
vertical-align: middle; vertical-align: middle;
font-size: 16px; font-size: 1.000em;
text-align: center; text-align: center;
padding: 2.000em 0 2.000em 0;
-moz-animation: fadein 1s; -moz-animation: fadein 1s;
-webkit-animation: fadein 1s; -webkit-animation: fadein 1s;
animation: fadein 1s; animation: fadein 1s;
@ -201,16 +202,13 @@
#intro { #intro {
background: #aa0000; background: #aa0000;
} }
#introcontainer {
padding: 30px 0 30px 0;
}
#intro i:before { #intro i:before {
font-size: 350px; font-size: 21.875em;
line-height: 400px; line-height: 1.120em;
content: "\1F525"; content: "\1F525";
} }
#intro p { #intro p {
font-size: 49px; font-size: 3.063em;
text-transform: uppercase; text-transform: uppercase;
font-family: montserratbold,"Helvetica Neue",Helvetica,Arial,sans-serif; font-family: montserratbold,"Helvetica Neue",Helvetica,Arial,sans-serif;
letter-spacing: 1px; letter-spacing: 1px;
@ -219,95 +217,89 @@
#intro a { #intro a {
background: #fff; background: #fff;
color: #aa0000; color: #aa0000;
font-size: 19px; font-size: 1.188em;
transition: background .2s ease-in-out; transition: background .2s ease-in-out;
padding: 8px 15px 6px 15px; padding: 0.438em 0.875em 0.313em 0.875em;
} }
#intro a:hover { #intro a:hover {
background: rgba(255,255,255,.9); background: rgba(255,255,255,.9);
} }
#intro a:first-of-type { #intro a:first-of-type {
border-radius: 21px 0px 0px 21px; border-radius: 1.313em 0 0 1.313em;
border-right: 1px solid #aa0000; border-right: 1px solid #aa0000;
padding: 8px 14px 6px 20px; padding: 0.438em 0.813em 0.313em 1.188em;
} }
#intro a:last-of-type { #intro a:last-of-type {
border-radius: 0px 21px 21px 0px; border-radius: 0 1.313em 1.313em 0;
border-left: 1px solid #aa0000; border-left: 1px solid #aa0000;
padding: 8px 20px 6px 14px; padding: 0.438em 1.188em 0.313em 0.813em;
} }
/* About */ /* About */
#aboutcontainer {
padding: 40px 90px 40px 90px;
}
#about h2:before, #contact h2:before, #news h2:before { #about h2:before, #contact h2:before, #news h2:before {
position: relative; position: relative;
top: 2px; top: 2px;
margin: 0 16px 0 0; margin: 0 0.625em 0 0;
} }
#about h2:before { #about h2:before {
font-size: 29px; font-size: 1.025em;
} }
#about p { #about p {
text-align: center; text-align: center;
margin: 0 0 40px 0; margin: 0 0 2.375em 0;
line-height: 1.6; line-height: 1.6;
} }
#about span { #about span {
font-family: montserratregular,"Helvetica Neue",Helvetica,Arial,sans-serif; font-family: montserratregular,"Helvetica Neue",Helvetica,Arial,sans-serif;
color: #000; color: #000;
background: #fff; background: #fff;
padding: 7px 7px 7px 10px; padding: 0.438em 0.438em 0.438em 0.625em;
border-radius: 5px 0px 0px 5px; border-radius: 0.313em 0 0 0.313em;
} }
#about i { #about i {
border: #fff solid 1px; border: #fff solid 1px;
color: #fff; color: #fff;
padding: 6px 10px 7px 9px; padding: 0.375em 0.625em 0.438em 0.563em;
border-radius: 0px 5px 5px 0px; border-radius: 0 0.313em 0.313em 0;
} }
/* News */ /* News */
#news { #news {
background: #0b0b0b; background: #0b0b0b;
} }
#newscontainer {
padding: 40px 150px 40px 150px;
}
#box { #box {
height: 60%; height: 60%;
overflow: scroll; overflow: scroll;
overflow-x: hidden; overflow-x: hidden;
margin: 0 0 25px 0; margin: 0 0 1.563em 0;
} }
#box ul { #box ul {
text-align: left; text-align: left;
list-style-type: none; list-style-type: none;
padding: 0 10px 0 0; padding: 0 0.625em 0 0;
} }
#box li { #box li {
margin: 0 0 20px 0; margin: 0 0 1.250em 0;
line-height: 1.5; line-height: 1.5;
} }
#box li:last-child { #box li:last-child {
margin: 0; margin: 0;
} }
#box span { #box span {
font-size: 13px; font-size: 0.813em;
color: rgba(255,255,255,.4); color: rgba(255,255,255,.4);
} }
#facebook:before, #twitter:before { #facebook:before, #twitter:before {
border-radius: 50%; border-radius: 50%;
display: inline-block; display: inline-block;
padding: 6px; padding: 0.188em;
font-size: 28px; font-size: 1.750em;
color: #fff; color: #fff;
transition: background .2s ease-in-out; transition: background .2s ease-in-out;
} }
#facebook { #facebook {
margin: 0 6px 0 0; margin: 0 0.375em 0 0;
} }
#twitter { #twitter {
margin: 0 0 0 6px; margin: 0 0 0 0.375em;
} }
#facebook:before { #facebook:before {
background: rgba(59,89,152,.7); background: rgba(59,89,152,.7);
@ -324,17 +316,14 @@
background: rgba(0,132,180,1); background: rgba(0,132,180,1);
} }
/* Contact */ /* Contact */
#contactcontainer {
padding: 40px 230px 40px 230px;
}
input, textarea { input, textarea {
font-family: montserratlight,"Helvetica Neue",Helvetica,Arial,sans-serif; font-family: montserratlight,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 16px; font-size: 1.000em;
border: 0; border: 0;
color: #000; color: #000;
background: #fff; background: #fff;
padding: 9px 11px 9px 11px; padding: 0.563em 0.688em 0.563em 0.688em;
border-radius: 4px; border-radius: 0.250em;
display: block; display: block;
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
@ -342,24 +331,127 @@
resize: none; resize: none;
} }
input { input {
margin: 0 0 24px 0; margin: 0 0 1.500em 0;
} }
button { button {
font-family: montserratregular,"Helvetica Neue",Helvetica,Arial,sans-serif; font-family: montserratregular,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 16px; font-size: 1.000em;
text-transform: uppercase; text-transform: uppercase;
color: #fff; color: #fff;
background: none; background: none;
border: #fff solid 1px; border: #fff solid 1px;
padding: 8px 10px 8px 11px; padding: 0.500em 0.625em 0.500em 0.688em;
margin: 26px 0 0 0; margin: 1.625em 0 0 0;
border-radius: 5px; border-radius: 0.313em;
cursor: pointer; cursor: pointer;
transition: background .2s ease-in-out; transition: background .2s ease-in-out;
} }
button:hover, button:focus { button:hover, button:focus {
background: rgba(255,255,255,.05); background: rgba(255,255,255,.05);
} }
@media (min-width: 0px) {
html { font-size: 64%; }
#aboutcontainer, #newscontainer, #contactcontainer { padding-right: 3%; padding-left: 3%; }
}
@media (min-width: 100px) {
html { font-size: 67%; }
}
@media (min-width: 200px) {
html { font-size: 70%; }
}
@media (min-width: 300px) {
html { font-size: 73%; }
#newscontainer { padding-right: 4%; padding-left: 4%; }
#contactcontainer { padding-right: 4%; padding-left: 4%; }
}
@media (min-width: 400px) {
html { font-size: 76%; }
#newscontainer { padding-right: 5%; padding-left: 5%; }
#contactcontainer { padding-right: 6%; padding-left: 6%; }
}
@media (min-width: 500px) {
html { font-size: 79%; }
#newscontainer { padding-right: 6%; padding-left: 6%; }
#contactcontainer { padding-right: 8%; padding-left: 8%; }
}
@media (min-width: 600px) {
html { font-size: 82%; }
#aboutcontainer { padding-right: 4%; padding-left: 4%; }
#newscontainer { padding-right: 7%; padding-left: 7%; }
#contactcontainer { padding-right: 10%; padding-left: 10%; }
}
@media (min-width: 700px) {
html { font-size: 85%; }
#aboutcontainer { padding-right: 5%; padding-left: 5%; }
#newscontainer { padding-right: 8%; padding-left: 8%; }
#contactcontainer { padding-right: 12%; padding-left: 12%; }
}
@media (min-width: 800px) {
html { font-size: 88%; }
#aboutcontainer { padding-right: 6%; padding-left: 6%; }
#newscontainer { padding-right: 9%; padding-left: 9%; }
#contactcontainer { padding-right: 14%; padding-left: 14%; }
}
@media (min-width: 900px) {
html { font-size: 91%; }
#aboutcontainer { padding-right: 7%; padding-left: 7%; }
#newscontainer { padding-right: 10%; padding-left: 10%; }
#contactcontainer { padding-right: 16%; padding-left: 16%; }
}
@media (min-width: 1000px) {
html { font-size: 94%; }
#aboutcontainer { padding-right: 8%; padding-left: 8%; }
#newscontainer { padding-right: 11%; padding-left: 11%; }
#contactcontainer { padding-right: 18%; padding-left: 18%; }
}
@media (min-width: 1100px) {
html { font-size: 97%; }
#aboutcontainer { padding-right: 9%; padding-left: 9%; }
#newscontainer { padding-right: 12%; padding-left: 12%; }
#contactcontainer { padding-right: 20%; padding-left: 20%; }
}
@media (min-width: 1200px) {
html { font-size: 100%; }
#aboutcontainer { padding-right: 10%; padding-left: 10%; }
#newscontainer { padding-right: 13%; padding-left: 13%; }
#contactcontainer { padding-right: 22%; padding-left: 22%; }
}
@media (min-width: 1300px) {
html { font-size: 103%; }
#aboutcontainer { padding-right: 11%; padding-left: 11%; }
#newscontainer { padding-right: 14%; padding-left: 14%; }
#contactcontainer { padding-right: 24%; padding-left: 24%; }
}
@media (min-width: 1400px) {
html { font-size: 106%; }
#aboutcontainer { padding-right: 12%; padding-left: 12%; }
#newscontainer { padding-right: 15%; padding-left: 15%; }
#contactcontainer { padding-right: 26%; padding-left: 26%; }
}
@media (min-width: 1500px) {
html { font-size: 109%; }
#aboutcontainer { padding-right: 13%; padding-left: 13%; }
#newscontainer { padding-right: 16%; padding-left: 16%; }
#contactcontainer { padding-right: 28%; padding-left: 28%; }
}
@media (min-width: 1600px) {
html { font-size: 112%; }
#aboutcontainer { padding-right: 14%; padding-left: 14%; }
#newscontainer { padding-right: 17%; padding-left: 17%; }
#contactcontainer { padding-right: 30%; padding-left: 30%; }
}
@media (min-width: 1700px) {
html { font-size: 115%; }
#aboutcontainer { padding-right: 15%; padding-left: 15%; }
#newscontainer { padding-right: 18%; padding-left: 18%; }
#contactcontainer { padding-right: 32%; padding-left: 32%; }
}
@media (min-width: 1800px) {
html { font-size: 119%; }
#aboutcontainer { padding-right: 16%; padding-left: 16%; }
#newscontainer { padding-right: 19%; padding-left: 19%; }
#contactcontainer { padding-right: 34%; padding-left: 34%; }
}
</style> </style>
</head> </head>
<body> <body>