Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Twine CSS
/* ADD <meta name="viewport" content="width=device-width, initial-scale=1.0"> TO HEAD OF TWINE HTML */
/* My Game Styles */
@import url('https://fonts.googleapis.com/css?family=Lato');
tw-sidebar {
display: none;
}
body {
background: #000;
}
h1 {
hyphens: manual;
}
tw-story {
font-family: 'Lato', sans-serif;
margin-left: auto;
margin-right: auto;
padding: 5% 10%;
max-width: 80%;
}
/* Portrait */
@media only screen
and (orientation: portrait) {
tw-story {
padding: 5%;
max-width: 90%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.