Heyo, i'm new on Twine development.
I start to create a visual novel with CSS language, for training.
I have a menu passage, next an introduction passage (With black background and white text, no textbox). And after the game start. But I can't get the textbox to hide only during the menu and introduction passages. Either the textbox is hidden or it is visible on all passages. I guess it's because of the #passage, so it's complicated.
You can test the game with this link if you don't understand, my english is a little bad.
My Stylesheet is based on the default model, i don't use another sheet.
Here's my code.
/* FONT */
@import url(https://fonts.googleapis.com/css?family=VT323);
/* STYLESHEET */
body {
background-color: black;
}
body.menu .passage {
margin: 30% 0 0 0;
text-align: center;
font-size: 35px
}
body.cutscene .passage {
text-align: center;
font-size: 20px;
}
body.chapter1 {
background-image: url('image/background.png');
background-color: black;
background-attachment: fixed;
background-repeat: no-repeat;
background-position: center;
background-size: 90%;
}
/* PASSAGE */
#passages {
width: 800px;
}
.passage {
color: black;
font: 16px/1.5 "VT323", serif;
text-align: justify;
}
a.link-internal {
color: #fb9551;
font-weight: 300%;
}
a.link-internal:hover {
color: white;
text-decoration: none;
}
/* LOADING */
#init-screen {
top: 100px;
left: 0px;
background-color: black;
}
html[data-init="loading"] #init-loading {
display: block;
border: 10px solid transparent;
border-radius: 50%;
border-top-color: #fb9551;
border-bottom-color: #fb9551;
width: 50px;
height: 50px;
animation: init-loading-spin 2s linear infinite;
}
Maybe it's simple. I tried to add another tag like "body.chapter1 .text {}", but i doesn't work.
Thanks for the answer, i'm a real newbie.