Przeglądaj źródła

Make group buttons bigger; restyle banners

tags/v1.1.2
Fen Dweller 5 lat temu
rodzic
commit
69c81aa5d3
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: E80B35A6F11C3656
3 zmienionych plików z 10 dodań i 4 usunięć
  1. +2
    -0
      game.js
  2. +1
    -1
      stroll.html
  3. +7
    -3
      style.css

+ 2
- 0
game.js Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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;
}

Ładowanie…
Anuluj
Zapisz