瀏覽代碼

Better styling

tags/v0.2.8
Fen Dweller 7 年之前
父節點
當前提交
a222ac03d3
共有 3 個檔案被更改,包括 37 行新增3 行删除
  1. +8
    -1
      feast.css
  2. +28
    -1
      feast.html
  3. +1
    -1
      feast.js

+ 8
- 1
feast.css 查看文件

@@ -3,7 +3,12 @@ body {
color: #eee; color: #eee;
height: 100%; height: 100%;
width: 100%; width: 100%;
font-family: sans-serif;
font-family: Arial;
}

a {
color: #7777FF;
text-decoration: none;
} }


body.combat { body.combat {
@@ -145,6 +150,8 @@ button {
} }


#create { #create {
color: #eee;
padding: 25px;
text-align: center; text-align: center;
} }




+ 28
- 1
feast.html 查看文件

@@ -25,7 +25,15 @@
<div id="game"> <div id="game">
<div id="game-and-stats"> <div id="game-and-stats">
<div id="log"> <div id="log">
Welcome to Feast v0.1.4
<div>
Welcome to Feast v0.1.5
</div>
<div>
&nbsp;
</div>
<div>
It's early morning, and you feel like eating a bunch of people
</div>
</div> </div>
<div class="stats"> <div class="stats">
<div id="player-stats"> <div id="player-stats">
@@ -144,6 +152,25 @@
</div> </div>
</div> </div>
<div id="create"> <div id="create">
<p>
Welcome to Feast v0.1.5
</p>

<p>
<b>This game features 18+ content</b>
</p>

<p>
<a href="/feast">Changelog</a>
</p>

<p>
<a href="https://t.me/joinchat/BSXHzQp-Isn9N9XgT2QRpw">Telegram</a>
</p>

<p>
<a href="https://discord.gg/7pdcVhD">Discord</a>
</p>
<form id="character-form"> <form id="character-form">
<ul id="character-form-list"> <ul id="character-form-list">
<li> <li>


+ 1
- 1
feast.js 查看文件

@@ -302,7 +302,7 @@ function start() {
world = createWorld(); world = createWorld();
currentRoom = world["Bedroom"]; currentRoom = world["Bedroom"];
respawnRoom = currentRoom; respawnRoom = currentRoom;
moveTo(currentRoom);
moveTo(currentRoom,"");
updateDisplay(); updateDisplay();
} }




Loading…
取消
儲存