Skip to content

Commit e2dc776

Browse files
ItzSelenuxItzSelenux
authored andcommitted
wiki test
1 parent 73e7504 commit e2dc776

File tree

22 files changed

+1467
-0
lines changed

22 files changed

+1467
-0
lines changed

wiki/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Main Page
2+
3+
## Welcome to Cereus Linux wiki, in this webpage, you can see detailed explanations about Cereus Linux components, situations, FAQs and guides, you may prefer to read <a href="wiki/get_started/index.html">Getting Started</a>

wiki/TEMPLATE.html

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!--HEADERS-->
2+
3+
<!DOCTYPE html>
4+
<head>
5+
<meta charset="UTF-8">
6+
<link rel="stylesheet" href="../../css.css">
7+
<script src="../../bar.js"></script>
8+
<script src="https://kit.fontawesome.com/b99e675b6e.js"></script>
9+
<script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs@2/webcomponents-loader.min.js"></script>
10+
<script type="module" src="https://cdn.jsdelivr.net/gh/zerodevx/zero-md@2/dist/zero-md.min.js"></script>
11+
12+
<!--TITLE-->
13+
<link rel="shortcut icon" type="image/x-icon" href="../../favicon.ico?">
14+
<title>@TITLE - Cereus Linux wiki</title>
15+
</head>
16+
17+
<!--NavBar-->
18+
<div inc="../../wikibar.html"></div>
19+
<script>includeHTML();</script>
20+
</div>
21+
22+
<!--WebPage Content-->
23+
<center>
24+
25+
<br><br><br><br><br>
26+
<img width="79%" src="../../res/favicons/banner.png">
27+
</center>
28+
<!--Wiki Content-->
29+
<div class="wiki_content">
30+
<zero-md src="@TITLE.md">
31+
<!-- Wrap with a <template> tag -->
32+
<template>
33+
<!-- Load external stylesheets with a `<link rel="stylesheet">` tag -->
34+
<link rel="stylesheet" href="../../md.css" />
35+
</template>
36+
</zero-md>
37+
</div>
38+
39+
40+
41+
<br><br><br>
42+
</body>
43+
</html>

wiki/about.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<!--HEADERS-->
2+
<!DOCTYPE html>
3+
<head>
4+
<meta charset="UTF-8">
5+
<link rel="stylesheet" href="css.css">
6+
<script src="bar.js"></script>
7+
<script src="https://kit.fontawesome.com/b99e675b6e.js"></script>
8+
9+
10+
<!--TITLE-->
11+
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico?">
12+
<title>HTML Template</title>
13+
</head>
14+
15+
<!--NavBar-->
16+
<div inc="bar.html"></div>
17+
<script>includeHTML();</script>
18+
19+
<!--WebPage Content-->
20+
<center>
21+
<br><br><br><br>
22+
<h1>lorem ipsum</h1>
23+
<h3>ItzSelenux</h3>
24+
<hr color=#ffffff size="2.6" width="66%"><br>
25+
<img width="320px" src="res/pages/pixelitos-icon-theme/banner.png">
26+
<br>
27+
No data but ducks
28+
</center>
29+
</body>
30+
</html>

wiki/bar.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
<nav>
3+
<input type="checkbox" id="check">
4+
<label for="check" class="checkbtn">
5+
<div class="lines"> <h1>&nbsp≡&nbsp</h1> </div>&nbsp
6+
</label>
7+
8+
<img class="logo" height="40px" src="res/favicons/banner.png">
9+
10+
11+
<ul>
12+
<li><a href="index.html">Home</a></li>
13+
<li><a href="https://github.com/ItzSelenux?tab=repositories">Repositories</a>
14+
<li><a href="https://github.com/ItzSelenux">Github Profile</a></li>
15+
<li><a href="about.html">About Me</a></li>
16+
</ul>
17+
</nav>
18+
19+
<div class="wrapper">
20+
</div>

wiki/bar.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
function includeHTML() {
2+
var z, i, elmnt, file, xhttp;
3+
z = document.getElementsByTagName("*");
4+
for (i = 0; i < z.length; i++)
5+
{
6+
elmnt = z[i];
7+
file = elmnt.getAttribute("inc");
8+
if (file)
9+
{
10+
xhttp = new XMLHttpRequest();
11+
xhttp.onreadystatechange = function()
12+
{
13+
if (this.readyState == 4)
14+
{
15+
if (this.status == 200) {elmnt.innerHTML = this.responseText;}
16+
elmnt.removeAttribute("inc");
17+
}}
18+
xhttp.open("GET", file, true);
19+
xhttp.send();
20+
return;
21+
}}};

wiki/css.css

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
body{background: #2a2a2a; color: #ffffff;}
2+
*{padding: 0; margin: 0; text-decoration: none; list-style: none; box-sizing: border-box;}
3+
4+
.wrapper
5+
{display: flex; position: fixed;}
6+
7+
.wrapper .sidebar
8+
{width: 50px; height: 200%; padding-top: 6px; background: #2d2d2d; position: fixed;}
9+
10+
.wrapper .sidebar ul li
11+
{padding: 16px; border-bottom: 1px solid #91a666; border-bottom: 0px;border-top: 0px;}
12+
13+
.wrapper .sidebar ul li a
14+
{color: #fff; display: flex;}
15+
16+
.wrapper .sidebar ul li:hover
17+
{background-color: #91a666; transition: 0.6s; border-radius: 3px;}
18+
19+
.wrapper .sidebar ul li:hover a
20+
{color: #fff}
21+
22+
.lines
23+
{font-size: 32px; margin-top: -6px;}
24+
.lines:hover
25+
{ background-color: #91a666;}
26+
27+
.logo
28+
{color: #8fa875; line-height: 80px; margin-left: 75px; margin-top: 13px; }
29+
30+
.wiki_content
31+
{width: 74%; margin-left: 13%;}
32+
33+
.code table tr
34+
{display: flex; border-radius: 9px; background-color: #1a1a1a; font-family: monospace;}
35+
36+
.wp
37+
{ display: flex; padding-left: 79px; padding-top: 96px;}
38+
39+
body
40+
{font-family: sans-serif;}
41+
42+
nav
43+
{background: #2f2f2f; height: 66px; width: 100%; position:fixed;}
44+
45+
label.logo
46+
{color: #8fa875; line-height: 80px; padding: 110 100px;}
47+
48+
nav ul
49+
{float: right;}
50+
51+
nav ul li
52+
{display: flex;line-height: 80px; margin: 0 5px;}
53+
54+
nav ul li a
55+
{color: #fff; font-size: 17px; padding: 7px 13px; border-radius: 3px;}
56+
57+
.checkbtn
58+
{ color: #fff; float: left; line-height: 60px;
59+
margin-left: 13px; cursor: pointer; display: flex; position: fixed; padding-top: 9px;}
60+
61+
#check
62+
{display: none;}
63+
64+
.checkbtn i
65+
{padding-top: 13px;font-size: 26px;}
66+
67+
nav ul
68+
{position: fixed; width: 200px; height: 100vh; background: #2d2d2d;
69+
top: 60px; left: -100%; text-align: left; padding-left: 13px; transition: 0.6s;}
70+
71+
nav ul li
72+
{display: flex; line-height: 34px; border-radius: 6px;}
73+
74+
nav ul li:hover
75+
{background: #91a666; transition: 0.6s;}
76+
77+
nav ul li a
78+
{font-size: 16px; vertical-align: middle;}
79+
80+
#check:checked ~ ul
81+
{left: 36px;}
82+
83+
td
84+
{padding-right: 16px;padding-left: 16px;}

wiki/encore.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Lista de Carpetas</title>
7+
</head>
8+
<body>
9+
<h1>Lista de Carpetas</h1>
10+
<ul id="folderList"></ul>
11+
12+
<script src="app.js"></script>
13+
</body>
14+
</html>

wiki/favicon.ico

33.1 KB
Binary file not shown.

wiki/index.html

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!--HEADERS-->
2+
<!DOCTYPE html>
3+
<head>
4+
<meta charset="UTF-8">
5+
<link rel="stylesheet" href="css.css">
6+
<script src="bar.js"></script>
7+
<script src="https://kit.fontawesome.com/b99e675b6e.js"></script>
8+
<script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs@2/webcomponents-loader.min.js"></script>
9+
<script type="module" src="https://cdn.jsdelivr.net/gh/zerodevx/zero-md@2/dist/zero-md.min.js"></script>
10+
11+
<!--TITLE-->
12+
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico?">
13+
<title>Main Page - Cereus Linux Wiki</title>
14+
</head>
15+
16+
<!--NavBar-->
17+
<div inc="bar.html"></div>
18+
<script>includeHTML();</script>
19+
</div>
20+
21+
<!--WebPage Content-->
22+
<center>
23+
24+
<br><br><br><br><br>
25+
<img width="79%" src="res/favicons/banner.png">
26+
</center>
27+
<!--Wiki Content-->
28+
<div class="wiki_content">
29+
<zero-md src="README.md">
30+
<!-- Wrap with a <template> tag -->
31+
<template>
32+
<!-- Load external stylesheets with a `<link rel="stylesheet">` tag -->
33+
<link rel="stylesheet" href="md.css" />
34+
</template>
35+
</zero-md>
36+
</div>
37+
38+
39+
40+
<br><br><br>
41+
</body>
42+
</html>

0 commit comments

Comments
 (0)