Skip to content

Commit

Permalink
Merge pull request #5 from PJ-568/main
Browse files Browse the repository at this point in the history
【新增】适配 WeDot 图标并修复些许错误
  • Loading branch information
PJ-568 authored Oct 31, 2024
2 parents e46ba98 + 1260713 commit 78ffa77
Show file tree
Hide file tree
Showing 12 changed files with 3,075 additions and 25 deletions.
8 changes: 4 additions & 4 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
content="A multi-platform 2D and 3D game engine focused solely on technology and user experience">
<title>WeDot Engine | 404</title>
<link rel="stylesheet" href="/css/main.css">
<link rel="icon" type="image/svg+xml" href="/img/wedot.png">
<link rel="icon" type="image/svg+xml" href="/logo/wedot-icon.svg">
<link rel="stylesheet" href="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-y/font-awesome/6.0.0/css/all.min.css">
<script src="//lib.baomitu.com/pjax/0.2.8/pjax.min.js" type="text/javascript"></script>
<script src="//lib.baomitu.com/translate.js/3.7.2/translate.js" type="text/javascript"></script>
Expand Down Expand Up @@ -37,10 +37,10 @@
<nav>
<div class="nav-content max-width">
<div class="logo">
<img alt="Temporary Icon" title="Temporary Icon" src="/img/wedot.png">
<img alt="Temporary Icon" title="Temporary Icon" src="/logo/wedot-logo2_text.svg">
</div>
<div class="ul">
<a title="Home page" href="#"><i class="fa fa-home"></i> Home</a>
<a title="Home page" href="/"><i class="fa fa-home"></i> Home</a>
<a title="WeDot Forum" href="/forum"><i class="fa fa-comment"></i> Forum</a>
<a title="WeDot Progress" href="https://todo.wedot.top"><i class="fa fa-tasks"></i> Progress</a>
<a title="About the WeDot Engine" href="https://github.com/Wedot-Engine"><i
Expand All @@ -55,7 +55,7 @@

<!-- 主要内容 -->
<div class="container max-width">
<h1 title="Nothing found.">404</h1>
<h1 title="Nothing found." class="top-space">404</h1>
<p>Nothing found here. Try <a href="/">home page</a>?</p>
</div>

Expand Down
15 changes: 9 additions & 6 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ nav {

nav .logo img,
nav .logo svg {
width: 30px;
margin: 1rem;
height: 50px;
margin-left: 1rem;
}

nav .nav-content {
Expand Down Expand Up @@ -109,14 +109,17 @@ nav .ul a:hover {

/* 主要内容 */
.container {
margin: 6rem auto;
margin: 1rem auto;
box-sizing: border-box;
padding: 1rem;
flex-direction: column;
align-items: center;
display: flex;
justify-content: center;
}
.container .top-space {
margin-top: 6rem;
}

.container h1 {
text-align: center;
Expand All @@ -135,7 +138,7 @@ nav .ul a:hover {

.container .main-logo {
width: 75%;
max-width: 256px;
max-width: 512px;
}

.container .contact {
Expand Down Expand Up @@ -194,8 +197,8 @@ nav .ul a:hover {
position: fixed;
left: 0;
top: 0;
background: #4e54c8;
background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);
background: #2c818d;
background: -webkit-linear-gradient(to left, #43c6d9, #2c818d);
width: 100%;
height: 100vh;
}
Expand Down
12 changes: 6 additions & 6 deletions forum/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<meta name="viewport" content="width=width=400, initial-scale=1">
<meta name="description" content="A temporary forum page for WeDot Engine community">
<title>WeDot Forum</title>
<link rel="stylesheet" href="/css/main.css">
<link rel="icon" type="image/svg+xml" href="/img/wedot.png">
<link rel="stylesheet" href="../css/main.css">
<link rel="icon" type="image/svg+xml" href="../logo/wedot-icon.svg">
<link rel="stylesheet" href="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-y/font-awesome/6.0.0/css/all.min.css">
<script src="//lib.baomitu.com/pjax/0.2.8/pjax.min.js" type="text/javascript"></script>
<script src="//lib.baomitu.com/translate.js/3.7.2/translate.js" type="text/javascript"></script>
<script src="//lib.baomitu.com/Darkmode.js/1.5.7/darkmode-js.min.js" type="text/javascript"></script>
<script src="/js/main.js" type="text/javascript"></script>
<!-- <script src="//lib.baomitu.com/Darkmode.js/1.5.7/darkmode-js.min.js" type="text/javascript"></script> -->
<script src="../js/main.js" type="text/javascript"></script>
</head>

<body>
Expand All @@ -36,10 +36,10 @@
<nav>
<div class="nav-content max-width">
<div class="logo">
<img alt="Temporary Icon" title="Temporary Icon" src="/img/wedot.png">
<img alt="WeDot Logo" title="WeDot Logo" src="../logo/wedot-logo2_text.svg">
</div>
<div class="ul">
<a title="Home page" href="/"><i class="fa fa-home"></i> Home</a>
<a title="Home page" href="../"><i class="fa fa-home"></i> Home</a>
<a title="WeDot Forum" href="#"><i class="fa fa-comment"></i> Forum</a>
<a title="WeDot Progress" href="https://todo.wedot.top"><i class="fa fa-tasks"></i> Progress</a>
<a title="About the WeDot Engine" href="https://github.com/Wedot-Engine"><i
Expand Down
Binary file removed img/wedot.png
Binary file not shown.
15 changes: 6 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<meta name="description"
content="A multi-platform 2D and 3D game engine focused solely on technology and user experience">
<title>WeDot Engine</title>
<link rel="stylesheet" href="/css/main.css">
<link rel="icon" type="image/svg+xml" href="/img/wedot.png">
<link rel="stylesheet" href="css/main.css">
<link rel="icon" type="image/svg+xml" href="logo/wedot-icon.svg">
<link rel="stylesheet" href="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-y/font-awesome/6.0.0/css/all.min.css">
<script src="//lib.baomitu.com/pjax/0.2.8/pjax.min.js" type="text/javascript"></script>
<script src="//lib.baomitu.com/translate.js/3.7.2/translate.js" type="text/javascript"></script>
<!-- <script src="//lib.baomitu.com/Darkmode.js/1.5.7/darkmode-js.min.js" type="text/javascript"></script> -->
<script src="/js/main.js" type="text/javascript"></script>
<script src="js/main.js" type="text/javascript"></script>
</head>

<body>
Expand All @@ -37,11 +37,11 @@
<nav>
<div class="nav-content max-width">
<div class="logo">
<img alt="Temporary Icon" title="Temporary Icon" src="/img/wedot.png">
<img alt="Temporary Icon" title="Temporary Icon" src="logo/wedot-logo2_text.svg">
</div>
<div class="ul">
<a title="Home page" href="#"><i class="fa fa-home"></i> Home</a>
<a title="WeDot Forum" href="/forum"><i class="fa fa-comment"></i> Forum</a>
<a title="WeDot Forum" href="forum"><i class="fa fa-comment"></i> Forum</a>
<a title="WeDot Progress" href="https://todo.wedot.top"><i class="fa fa-tasks"></i> Progress</a>
<a title="About the WeDot Engine" href="https://github.com/Wedot-Engine"><i
class="fa fa-info-circle"></i> About</a>
Expand All @@ -55,10 +55,7 @@

<!-- 主要内容 -->
<div class="container max-width">
<img class="main-logo" alt="Temporary Icon" title="Temporary Icon" src="/img/wedot.png"></img>
<exegesis>↑ Temporary Icon ↑ :-)</exegesis>
<h1 title="A multi-platform 2D and 3D game engine focused solely on technology and user experience">WeDot Engine
</h1>
<img class="main-logo" alt="Temporary Icon" title="Temporary Icon" src="logo/wedot-logo_text.svg"></img>
<p>A multi-platform 2D and 3D game engine focused solely on technology and user experience</p>
<div class="contact">
<a title="Github" href="https://github.com/Wedot-Engine"><i class="fab fa-github"></i></a>
Expand Down
5 changes: 5 additions & 0 deletions logo/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
WeDot Engine Logo
Copyright (c) 2024 Xiwoof

This work is licensed under the Creative Commons Attribution 4.0 International
license (CC BY 4.0 International): https://creativecommons.org/licenses/by/4.0/
Loading

0 comments on commit 78ffa77

Please sign in to comment.