Alexander Yakovlev
4867de7d55
In my experience, people don't like learning npm and SCSS just to package their small game, so why should they? With inklecate-wasm dead, this template is quite outdated so I figured it could be a light almost-no-installation-required version. (It still requires you to spin up a web server.)
88 lines
1.6 KiB
CSS
88 lines
1.6 KiB
CSS
:root {
|
|
--font-family: 'PT Sans','Open Sans',"Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
--headings-font-family: "PT Sans Caption",var(--font-family-sans-serif);
|
|
|
|
--body-bg: #E4CDD4;
|
|
--content-bg: rgba(202,158,185, 0.4);
|
|
--body-color: #3A2D42;
|
|
--link-color: #7D6393;
|
|
--link-button-background: rgb(202, 158, 185);
|
|
--link-button-background-hover: var(--body-color);
|
|
--link-button-foreground: var(--body-color);
|
|
--link-button-foreground-hover: var(--body-bg);
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-family);
|
|
background-color: var(--body-bg);
|
|
color: var(--body-color);
|
|
}
|
|
a {
|
|
color: var(--link-color);
|
|
}
|
|
h1,h2,h3 {
|
|
font-family: var(--headings-font-family);
|
|
font-weight: bold;
|
|
text-align: center;
|
|
}
|
|
h1 {
|
|
color: #333;
|
|
}
|
|
h2 {
|
|
color: #666;
|
|
}
|
|
#page {
|
|
background: var(--content-bg);
|
|
border-radius: 5px;
|
|
margin-top: 1rem;
|
|
padding-top: 0.5rem;
|
|
}
|
|
#restart {
|
|
position: fixed;
|
|
top: 0.5rem;
|
|
right: 0.5rem;
|
|
}
|
|
#content {
|
|
.subtitle {
|
|
display: none;
|
|
}
|
|
}
|
|
#options {
|
|
border: 1px solid #876;
|
|
padding: 0;
|
|
list-style-type: none;
|
|
border-radius: 4px;
|
|
}
|
|
#options:empty {
|
|
display: none;
|
|
}
|
|
#options li {
|
|
background-color: var(--link-button-background);
|
|
padding: 0.5em;
|
|
border-bottom: 1px solid #876;
|
|
}
|
|
#options li,
|
|
#options li a {
|
|
color: var(--link-button-foreground);
|
|
}
|
|
#options li:hover {
|
|
background-color: var(--link-button-background-hover);
|
|
cursor: pointer;
|
|
}
|
|
#options li:hover,
|
|
#options li:hover a {
|
|
color: var(--link-button-foreground-hover);
|
|
}
|
|
#options li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
#options .subtitle {
|
|
display: block;
|
|
font-size: 0.9rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
.room-start {
|
|
border-top: none;
|
|
}
|