🎨 making index.css paths relative

This commit is contained in:
Michael Straßburger 2016-12-05 16:57:10 +01:00
parent 966b6ba0a7
commit 247e91ab97

View file

@ -1,18 +1,18 @@
@font-face { @font-face {
font-family: 'OpenSans'; font-family: 'OpenSans';
src: url('/fonts/OpenSans-Regular.ttf'); src: url('fonts/OpenSans-Regular.ttf');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: 'OpenSans'; font-family: 'OpenSans';
src: url('/fonts/OpenSans-Italic.ttf'); src: url('fonts/OpenSans-Italic.ttf');
font-weight: normal; font-weight: normal;
font-style: italic; font-style: italic;
} }
@font-face { @font-face {
font-family: 'OpenSans'; font-family: 'OpenSans';
src: url('/fonts/OpenSans-Bold.ttf'); src: url('fonts/OpenSans-Bold.ttf');
font-weight: bold; font-weight: bold;
font-style: normal; font-style: normal;
} }
@ -149,21 +149,21 @@ footer a {
body { body {
background-repeat:no-repeat !important; background-repeat:no-repeat !important;
background-size: contain !important; background-size: contain !important;
background-image: url(/images/header-map-640px.png); background-image: url(images/header-map-640px.png);
} }
@media only screen and (min-width: 641px) { @media only screen and (min-width: 641px) {
body { body {
background-image: url(/images/header-map-1280px.png); background-image: url(images/header-map-1280px.png);
} }
} }
@media only screen and (min-width: 1281px) { @media only screen and (min-width: 1281px) {
body { body {
background-image: url(/images/header-map-1600px.png); background-image: url(images/header-map-1600px.png);
} }
} }
@media only screen and (min-width: 1601px) { @media only screen and (min-width: 1601px) {
body { body {
background-image: url(/images/header-map-2560px.png); background-image: url(images/header-map-2560px.png);
} }
} }
@ -209,4 +209,4 @@ body {
.btn:first-child{ .btn:first-child{
padding: 0 20px; padding: 0 20px;
} }
} }