Skip to content

Commit

Permalink
Fix lots of stuff in md file and html files
Browse files Browse the repository at this point in the history
  • Loading branch information
dyzqy committed Apr 13, 2024
1 parent 0ce9b43 commit 4a27dff
Show file tree
Hide file tree
Showing 10 changed files with 3,472 additions and 3,582 deletions.
Binary file added other/FrutigerNeue.ttf
Binary file not shown.
31 changes: 25 additions & 6 deletions other/main.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
body {
font-family: Arial, sans-serif;
font-family: Frutiger, Arial, sans-serif;
color: black;
}
h1, h3 {
font-family: Arial, sans-serif;
font-family: Frutiger, Arial, sans-serif;
font-weight: bolder;
/*text-decoration: underline;*/
letter-spacing: -0.5px;
Expand All @@ -12,7 +12,7 @@ h1, h3 {
font-size: 45px;
}
h2 {
font-family: Arial, sans-serif;
font-family: Frutiger, Arial, sans-serif;
font-weight: bolder;
/*text-decoration: underline;*/
letter-spacing: -0.5px;
Expand All @@ -21,7 +21,7 @@ h2 {
font-size: 25px;
}
p {
font-family: Arial, sans-serif;
font-family: Frutiger, Arial, sans-serif;
padding: 0;
margin: 0%;
font-size: 20px;
Expand All @@ -44,6 +44,25 @@ a:hover {
}
}

#xmlContent {
white-space: pre-wrap; /* Preserve whitespace and line breaks */
.table-container {
margin: 0 auto;
}
table {
width: 100%;
max-width: 50%; /* Limiting to 40% of screen width */
border-collapse: collapse;
}
th, td {
border: 1px solid #dddddd;
text-align: center;
padding: 5px;
}
th {
background-color: #f2f2f2;
color: #24292E;
}

@font-face {
font-family: Frutiger;
src: url('FrutigerNeue.ttf');
}
33 changes: 30 additions & 3 deletions other/wiki/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,44 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<!--<meta http-equiv="refresh" content="0;url=https://stickwar.miraheze.org/wiki/Main_Page">-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Wiki Page</title>
<link rel="stylesheet" href="../main.css">
</head>
<body>
<h1>Main Resources</h1>
<ul>
<!--<ul>
<li><p><strong>Stick War 2</strong> units <a href="./swiidata.html">stats & data</a>.</p></li>
<li><p><strong>Stick War 2</strong> campaign <a href="./swiicampaigndata.html">stats & data</a>.</p></li>
<li><p><strong>Stick Empires</strong> units <a href="./stickempiresdata.html">stats & data</a>.</p></li>
</ul>
</ul>-->
<table>
<tr>
<th></th>
<th>Stats</th>
<th>Campaign</th>
<th>Other</th>
</tr>
<!--<tr>
<th>Stick War I</th>
<td>/</td>
<td>/</td>
<td>/</td>
</tr>-->
<tr>
<th>Stick War II</th>
<td><a href="./swiidata.html">Game Constants</a></td>
<td><a href="./swiicampaigndata.html">Campaign Constants</a></td>
<td>/</td>
</tr>
<tr>
<th>Stick Empires</th>
<td><a href="./stickempiresdata.html">Game Constants</a></td>
<td>/</td>
<td>/</td>
</tr>
</table>
<br>
<p>Access wiki page from <a href="https://stickwar.miraheze.org/wiki/Main_Page">here</a>!</p>
</body>
</html>
Loading

0 comments on commit 4a27dff

Please sign in to comment.