Просмотр исходного кода

Trying new, darker dark mode, plus meta info

tags/v0.7.0
Fen Dweller 8 лет назад
Родитель
Сommit
1f432f37ea
3 измененных файлов: 11 добавлений и 3 удалений
  1. +2
    -0
      game.js
  2. +6
    -0
      stroll.html
  3. +3
    -3
      style.css

+ 2
- 0
game.js Просмотреть файл

@@ -3373,6 +3373,8 @@ function startGame(e) {


document.getElementById("actions-body").style.display = 'flex'; document.getElementById("actions-body").style.display = 'flex';
document.getElementById("stat-container").style.display = 'flex'; document.getElementById("stat-container").style.display = 'flex';

window.scroll(0,0);
} }


function actionTab(e) { function actionTab(e) {


+ 6
- 0
stroll.html Просмотреть файл

@@ -8,6 +8,12 @@
<script src="recursive-macro.js"></script> <script src="recursive-macro.js"></script>
<script src="recursive-desc.js"></script> <script src="recursive-desc.js"></script>
<script src="game.js"></script> <script src="game.js"></script>
<meta name="theme-color" content="#000000"/>
<meta property="description" content="An 18+ macro/vore text game"/>
<meta property="og:title" content="Stroll"/>
<meta property="oh:description" content="An 18+ macro/vore text game"/>
<meta property="og:image" content="https://chemicalcrux.org/stroll.png"/>
<link rel="shortcut icon" href="https://chemicalcrux.org/favicon.ico" type="image/x-icon" />
</head> </head>
<body class="light"> <body class="light">
<div class="game-area"> <div class="game-area">


+ 3
- 3
style.css Просмотреть файл

@@ -7,7 +7,7 @@


.dark { .dark {
color: #eee; color: #eee;
background: #111;
background: #000;
font-family: Arial; font-family: Arial;
} }


@@ -41,7 +41,7 @@ body.dark button {
} }


body.dark div { body.dark div {
background: #111;
background: #000;
} }


.game-area { .game-area {
@@ -77,7 +77,7 @@ body.dark #log {
height: 900px; height: 900px;
overflow: auto; overflow: auto;
color: #eee; color: #eee;
background-color: #111;
background-color: #222;
} }


.stat-header-self { .stat-header-self {


Загрузка…
Отмена
Сохранить