Skip to content

Commit bde05c9

Browse files
authored
Merge pull request #10 from nikolan123/main
fix minor issues and background color on the dymap notice
2 parents 5f4ef96 + ebd7a3e commit bde05c9

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

templates/base.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,12 @@
3636
width: 100%; /* Full width */
3737
height: 100%; /* Full height */
3838
overflow: auto; /* Enable scroll if needed */
39-
background-color: rgb(0,0,0); /* Fallback color */
40-
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
4139
}
4240

4341
/* Modal Content/Box */
4442
.modal-content {
45-
background-color: #fefefe;
43+
background-color: rgb(0,0,0); /* Fallback color */
44+
background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
4645
margin: 15% auto; /* 15% from the top and centered */
4746
padding: 20px;
4847
border: 1px solid #888;
@@ -55,13 +54,15 @@
5554
float: right;
5655
font-size: 28px;
5756
font-weight: bold;
57+
transition: color .25s;
5858
}
5959

6060
.close:hover,
6161
.close:focus {
62-
color: black;
62+
color: white;
6363
text-decoration: none;
6464
cursor: pointer;
65+
transition: color .25s;
6566
}
6667
</style>
6768
</head>
@@ -73,14 +74,15 @@
7374
<div class="modal-content">
7475
<span class="close">&times;</span>
7576
<p>
76-
If you are here because of a message in your minecraft server console, this wasn't us and is a harassment campaign from a griefing group.
77-
Your server is not hacked they are just sending messages in your chat from the dynmap plugin/mod.
78-
To fix this open the dynmap config and change the allowchat setting to false like this:
77+
If you are here because of a message in your Minecraft server console, this wasn't us. This is a harassment campaign from a griefing group.
78+
Your server is not hacked; they are just sending messages in your chat from the Dynmap plugin/mod.
79+
To fix this, open the Dynmap configuration file and change the <code>allowchat</code> setting to <code>false</code> like this:
7980
</p>
8081
<code><pre>
8182
- class: org.dynmap.SimpleWebChatComponent
8283
allowchat: false
83-
# If true, web UI users can supply name for chat using 'playername' URL parameter. 'trustclientname' must also be set true.
84+
# If true, web UI users can supply name for chat using 'playername' URL parameter.
85+
# 'trustclientname' must also be set true.
8486
allowurlname: false
8587
</pre></code>
8688
</div>

0 commit comments

Comments
 (0)