Fix background issues

This commit is contained in:
Paweł Kawczyński 2018-01-03 13:14:54 +01:00
parent 814b8fdb41
commit 67ae7af771
4 changed files with 20 additions and 13 deletions

View File

@ -4,11 +4,11 @@
@font-face {
font-family: popUpFont;
src: url(/fonts/monaco.ttf);
src: url('../fonts/monaco.ttf');
}
@font-face {
font-family: headersFont;
src: url(/fonts/Good_Morning.ttf);
src: url('../fonts/Good_Morning.ttf');
}
@ -16,7 +16,13 @@
/*-----------------------Character CSS high-resolution--------------------------------*/
html{
background-image: url(/img/background.png);
background-image: url('../img/background.png');
background-attachment: fixed;
width: auto;
height: auto;
background-position: left top;
background-repeat: no-repeat;
background-size: cover;
}
/* HOVER STYLES */
div#pop-up-police {
@ -42,10 +48,6 @@ h1 {
justify-content: center;
}
html {
background-color: whitesmoke;
}
.active {
pointer-events: auto;
cursor: default;
@ -58,31 +60,31 @@ html {
#station-building {
position: absolute;
top: 49rem;
top: 46rem;
left: 17rem;
}
#police-building {
position: absolute;
top: 22rem;
top: 20rem;
left: 17rem;
}
#cinema-building {
position: absolute;
top: 19rem;
top: 17rem;
left: 54.5rem;
}
#burguer-building {
position: absolute;
top: 22rem;
top: 20rem;
left: 91rem;
}
#club-building {
position: absolute;
top: 50rem;
top: 46rem;
left: 89rem;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

After

Width:  |  Height:  |  Size: 153 KiB

View File

@ -81,4 +81,4 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="js/script.js"></script>
</body>
</html>
</html>

5
wytyczne Normal file
View File

@ -0,0 +1,5 @@
- obsluga bledu, gdzie nie ma gry,
- formularz do wprowadzania pytan,
- testy do gier dodac,
- snake - moze kiedy zje to wydluza sie jezeli zostanie podana poprawna odpowiwiedz
- 17.01(ostatnie zajecia ktore pokazuja juz finalny produkt)