瀏覽代碼

Make group buttons bigger; restyle banners

tags/v1.1.2
Fen Dweller 5 年之前
父節點
當前提交
69c81aa5d3
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: E80B35A6F11C3656
共有 3 個檔案被更改,包括 10 行新增4 行删除
  1. +2
    -0
      game.js
  2. +1
    -1
      stroll.html
  3. +7
    -3
      style.css

+ 2
- 0
game.js 查看文件

@@ -5976,12 +5976,14 @@ function construct_options() {

label.setAttribute("for", "group-toggle-" + group);
label.innerText = groupInfo[group].name;
label.classList.add("group-toggle");
input.addEventListener("input", update_visible_groups);

label.classList.add("solo");
group_holder.appendChild(input);
group_holder.appendChild(label);
group_holder.appendChild(document.createElement("br"));

})



+ 1
- 1
stroll.html 查看文件

@@ -294,7 +294,7 @@
</div>

<div class="custom-category">
<p>Show/hide whole groups character features here.</p>
<p>Show/hide whole groups of character features here.</p>
<div id="group-button-holder">

</div>


+ 7
- 3
style.css 查看文件

@@ -948,14 +948,18 @@ body {

.group-banner {
min-width: 80vw;
min-height: 10vh;
min-height: 7vh;
font-size: 6vh;
margin: auto;
}

body.dark div.group-banner {
background-color: #444;
background-color: #333;
}
body.light div.group-banner {
background-color: #bbb;
background-color: #ccc;
}

label.group-toggle {
font-size: 30pt !important;
}

Loading…
取消
儲存