Fix background issues
This commit is contained in:
parent
814b8fdb41
commit
67ae7af771
@ -4,11 +4,11 @@
|
|||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: popUpFont;
|
font-family: popUpFont;
|
||||||
src: url(/fonts/monaco.ttf);
|
src: url('../fonts/monaco.ttf');
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: headersFont;
|
font-family: headersFont;
|
||||||
src: url(/fonts/Good_Morning.ttf);
|
src: url('../fonts/Good_Morning.ttf');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -16,7 +16,13 @@
|
|||||||
/*-----------------------Character CSS high-resolution--------------------------------*/
|
/*-----------------------Character CSS high-resolution--------------------------------*/
|
||||||
|
|
||||||
html{
|
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 */
|
/* HOVER STYLES */
|
||||||
div#pop-up-police {
|
div#pop-up-police {
|
||||||
@ -42,10 +48,6 @@ h1 {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
|
||||||
background-color: whitesmoke;
|
|
||||||
}
|
|
||||||
|
|
||||||
.active {
|
.active {
|
||||||
pointer-events: auto;
|
pointer-events: auto;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
@ -58,31 +60,31 @@ html {
|
|||||||
|
|
||||||
#station-building {
|
#station-building {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 49rem;
|
top: 46rem;
|
||||||
left: 17rem;
|
left: 17rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#police-building {
|
#police-building {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 22rem;
|
top: 20rem;
|
||||||
left: 17rem;
|
left: 17rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#cinema-building {
|
#cinema-building {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 19rem;
|
top: 17rem;
|
||||||
left: 54.5rem;
|
left: 54.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#burguer-building {
|
#burguer-building {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 22rem;
|
top: 20rem;
|
||||||
left: 91rem;
|
left: 91rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#club-building {
|
#club-building {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50rem;
|
top: 46rem;
|
||||||
left: 89rem;
|
left: 89rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 147 KiB After Width: | Height: | Size: 153 KiB |
@ -81,4 +81,4 @@
|
|||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
||||||
<script src="js/script.js"></script>
|
<script src="js/script.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user