So I have a small problem probably caused by my inability to fully understand how CSS works in Harlowe.
Now I have divided the scree in three pieces: the sidebar to the left, the main passage in the centre right and a smaller sub-passage under it. The idea is to use this sub passage to display descriptions, thoughts and lore that would interrupt the flow of the story. This sub passage is tagged header so that it is loaded every time.
I was trying to build a small test to see if everything works and when I added some random background colors I noticed there was a good second of difference between the moment the main passage and the sub passage load their backgrounds (here: http://imgur.com/tAH0RYd is just started. Here: http://imgur.com/jSPiB19 is one second after).
Any idea why?
Here's the CSS I am using. I'm sorry if it's not really good coding, but it's the first time I do something more complicated than changing text color.
tw-story{
width: 100%;
height: 100%;
margin: 0;
}
tw-passage{
position: absolute;
margin: 0;
width: 80%;
height: 75%;
top: 0;
right: 0;
border-style: hidden;
padding-top: 3em;
padding-right: 3em;
padding-left: 3em;
padding-bottom: 3em;
overflow: auto;
text-align: left;
font-size: 90%;
background-image: linear-gradient(to top, CornflowerBlue, MediumPurple);
}
tw-passage tw-include[title="infoBar"] {
width: 80%;
height: 25%;
position: fixed;
bottom: 0;
right: 0;
left: 20%;
padding-right: 3em;
padding-left: 3em;
padding-bottom: 3em;
border-style: hidden;
overflow: auto;
text-align: left;
font-size: 70%;
background-image: linear-gradient(to bottom, CornflowerBlue, MediumPurple);
}
tw-sidebar{
width: 20%;
height: 100%;
position: fixed;
top: 0;
left: 0;
padding-top: 3em;
padding-right: 3em;
padding-left: 1em;
padding-bottom: 3em;
border-style: hidden;
border-right-style: solid;
overflow: auto
text-align: left;
font-size: 110%;
background-image: linear-gradient(to left, CadetBlue , DodgerBlue );
}