293 lines
8.7 KiB
CSS
293 lines
8.7 KiB
CSS
html, body {
|
|
overscroll-behavior-y: contain; }
|
|
|
|
@keyframes move-avatar {
|
|
0% {
|
|
padding-bottom: 0rem; }
|
|
50% {
|
|
padding-bottom: 0.3rem; }
|
|
100% {
|
|
padding-bottom: 0rem; } }
|
|
|
|
body {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
height: 100%;
|
|
background: ghostwhite; }
|
|
body div.talk-npc div.detail {
|
|
display: flex;
|
|
flex-direction: column;
|
|
border-radius: 3px;
|
|
min-height: 100px;
|
|
border: solid 1px black;
|
|
align-items: center;
|
|
align-content: center;
|
|
justify-content: center; }
|
|
body div.talk-npc div.name-container {
|
|
display: flex;
|
|
padding: 10px;
|
|
align-items: center; }
|
|
body div.talk-npc div.name-container div.avatar {
|
|
max-width: 60%;
|
|
max-height: 8rem;
|
|
aspect-ratio: 1/1;
|
|
border-radius: 50%;
|
|
background: lightgray;
|
|
margin-right: 2%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative; }
|
|
body div.talk-npc div.name-container div.avatar img {
|
|
animation-name: move-avatar;
|
|
animation-duration: 0.5s;
|
|
animation-iteration-count: infinite;
|
|
width: 80%;
|
|
aspect-ratio: 1/1;
|
|
z-index: 1; }
|
|
body div.talk-npc div.name-container div.avatar div.shadow {
|
|
top: 78%;
|
|
position: absolute;
|
|
width: 50%;
|
|
aspect-ratio: 7/2;
|
|
background: darkgray;
|
|
border-radius: 50%; }
|
|
body div.talk-npc div.name-container div.name {
|
|
width: 100%;
|
|
font-size: 0.85rem;
|
|
display: flex;
|
|
align-items: center; }
|
|
body div.talk-npc div.buttons {
|
|
padding: 10px; }
|
|
body label.bar-container {
|
|
width: 90%; }
|
|
body label.bar-container div.bar {
|
|
margin-left: 3px;
|
|
width: 100%;
|
|
height: 1em;
|
|
border: solid 1px black; }
|
|
body label.bar-container div.bar div.filled {
|
|
background: lightgreen;
|
|
height: 100%; }
|
|
body a.action {
|
|
border: solid 1px black;
|
|
text-decoration: underline;
|
|
display: flex;
|
|
min-height: 100px;
|
|
align-content: center;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column; }
|
|
body a.action div.disabled-reason {
|
|
text-decoration: none; }
|
|
body div.pj-list-item {
|
|
display: flex;
|
|
font-size: 0.85rem;
|
|
align-items: center; }
|
|
body div.pj-list-item label.bar-container {
|
|
display: flex;
|
|
font-family: monospace; }
|
|
body div.pj-list-item div.avatar {
|
|
max-width: 60%;
|
|
max-height: 8rem;
|
|
aspect-ratio: 1/1;
|
|
border-radius: 50%;
|
|
background: lightgray;
|
|
margin-right: 2%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative; }
|
|
body div.pj-list-item div.avatar img {
|
|
animation-name: move-avatar;
|
|
animation-duration: 0.5s;
|
|
animation-iteration-count: infinite;
|
|
width: 80%;
|
|
aspect-ratio: 1/1;
|
|
z-index: 1; }
|
|
body div.pj-list-item div.avatar div.shadow {
|
|
top: 78%;
|
|
position: absolute;
|
|
width: 50%;
|
|
aspect-ratio: 7/2;
|
|
background: darkgray;
|
|
border-radius: 50%; }
|
|
body div.pj-list-item div.data {
|
|
width: 50%; }
|
|
body div.pj-list-item div.data p {
|
|
margin: 0; }
|
|
body div.presentation {
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 95%;
|
|
justify-content: center;
|
|
height: 50%; }
|
|
body div.presentation div.presentation-item {
|
|
margin: 1%;
|
|
width: 30%;
|
|
font-size: 1.7rem;
|
|
overflow-y: scroll; }
|
|
body div.presentation div.presentation-item * {
|
|
overflow-wrap: break-word;
|
|
white-space: pre-wrap; }
|
|
body div.presentation div.presentation-item code {
|
|
overflow-wrap: break-word; }
|
|
body div.presentation div.presentation-item code pre {
|
|
white-space: pre-wrap; }
|
|
body div.presentation div.presentation-item div.movement-menu {
|
|
font-size: 15px; }
|
|
body div.width-max-content {
|
|
width: max-content; }
|
|
body div#game-container {
|
|
height: 100vh; }
|
|
body div#game-container nav.menu-bar {
|
|
width: 100%;
|
|
background: grey;
|
|
height: 3rem;
|
|
display: flex;
|
|
justify-content: end;
|
|
align-items: center; }
|
|
body div#game-container nav.menu-bar a {
|
|
font-size: 1.7rem;
|
|
display: inline-block;
|
|
background: chocolate;
|
|
border-radius: 0.3rem;
|
|
color: ghostwhite;
|
|
text-decoration: none;
|
|
margin-right: 0.7rem;
|
|
margin-left: 0.7rem;
|
|
height: 100%; }
|
|
body div#game-container nav.menu-bar a:last-child {
|
|
margin-right: 0px; }
|
|
body div#game-container nav.menu-bar a:hover {
|
|
background: ghostwhite;
|
|
color: black; }
|
|
body div.pj-selection-menu {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100%;
|
|
background: ghostwhite;
|
|
flex-direction: column; }
|
|
body div.pj-selection-menu div.pj-selection-menu-container {
|
|
background: ghostwhite;
|
|
color: black;
|
|
padding: 30px;
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 80%;
|
|
min-height: 100%;
|
|
flex-direction: column;
|
|
overflow: scroll; }
|
|
body div.pj-selection-menu div.pj-selection-menu-container div.pj-list {
|
|
background: ghostwhite;
|
|
width: 90%;
|
|
padding: 10px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex-direction: row;
|
|
align-content: center;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-grow: 1px;
|
|
gap: 8px; }
|
|
body div.pj-selection-menu div.pj-selection-menu-container div.pj-list a {
|
|
width: 10em;
|
|
height: 10em;
|
|
background: white;
|
|
border: solid 1px black;
|
|
box-shadow: 3px 1px 3px 3px #333;
|
|
color: blue;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
text-decoration: none; }
|
|
body div.pj-selection-menu div.pj-selection-menu-container div.pj-list a:hover {
|
|
color: yellow;
|
|
background: gray; }
|
|
body div.login-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
background: url() no-repeat center black;
|
|
flex-direction: column; }
|
|
body div.login-container div.login-contained {
|
|
background: #001e8b;
|
|
color: azure;
|
|
padding: 30px;
|
|
border: solid 1px black;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column; }
|
|
body div.login-container div.login-contained input {
|
|
display: block; }
|
|
body div.login-container div.login-contained button {
|
|
display: block; }
|
|
body div.login-container div.login-contained div.login-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: max-content; }
|
|
body div.login-container div.login-contained div.login-form div.align-self-end {
|
|
align-self: end; }
|
|
body div.login-container div.login-contained a {
|
|
color: aquamarine; }
|
|
body div.login-container div.login-contained a:hover {
|
|
color: yellow; }
|
|
body div.login-container div.login-contained a.close-button {
|
|
width: 3rem;
|
|
aspect-ratio: 1/1;
|
|
border-radius: 50%;
|
|
background: gray;
|
|
color: white;
|
|
align-self: end;
|
|
display: flex;
|
|
text-align: center;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 1.5rem;
|
|
text-decoration: none; }
|
|
body div.login-container div.login-contained a.close-button:hover {
|
|
background: lightgray;
|
|
color: black; }
|
|
body div.word-selector {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
padding: 10px;
|
|
width: calc(100% - calc(2 * 10px));
|
|
height: calc(100% - calc(2 * 10px)); }
|
|
body div.word-selector a.close-button {
|
|
width: 3rem;
|
|
aspect-ratio: 1/1;
|
|
border-radius: 50%;
|
|
background: gray;
|
|
color: white;
|
|
align-self: end;
|
|
display: flex;
|
|
text-align: center;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 1.5rem;
|
|
text-decoration: none; }
|
|
body div.word-selector a.close-button:hover {
|
|
background: lightgray;
|
|
color: black; }
|
|
body div.word-selector div.word-list {
|
|
width: 50%; }
|
|
body div.word-selector div.word-list a.word {
|
|
text-decoration: none;
|
|
color: black;
|
|
display: flex;
|
|
border: 1px solid black;
|
|
font-size: 1.7rem;
|
|
height: 50px;
|
|
text-align: center;
|
|
flex-direction: column;
|
|
justify-content: center; }
|
|
body div.word-selector div.word-list a.word:hover {
|
|
color: white;
|
|
background: gray; }
|