commit baa423b38cee14964b9ee9854fbef69a06e59adf
parent 182a93c3b183f497acd8c993a2315f67cd0a06f5
Author: evenfri <evenfri256@gmail.com>
Date: Wed, 12 Aug 2026 21:36:28 +0800
redesigned
Diffstat:
| M | about.html | | | 79 | +++++++++++++++++++++++++++++++++++++++---------------------------------------- |
| A | contributing.html | | | 109 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| M | index.html | | | 72 | ++++++++++++++++++++++++++++++++++++++---------------------------------- |
| M | license.html | | | 6 | +++--- |
| M | links.html | | | 34 | ++++++++++++++++++---------------- |
| M | philosophy.html | | | 34 | ++++++++++++++++++---------------- |
| M | style.css | | | 91 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------- |
7 files changed, 301 insertions(+), 124 deletions(-)
diff --git a/about.html b/about.html
@@ -2,54 +2,52 @@
<html lang="en">
<head>
<meta charset="UTF-8">
- <meta name="viewport" content="width=1024, initial-scale=0.1">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/png" href="favicon.png">
- <title>evenfri</title>
-
+ <title>evenfri - about</title>
</head>
<body>
- <center>
-
- <h1><a href="index.html"
- style="color: white; text-decoration: none;">
- evenfri</a></h1>
+ <div class="container">
+ <h1><a href="index.html">evenfri</a></h1>
- <br>
- host<br>
- ====<br>
- distro — artix<br>
- kernel — linux-lts (soon custom)<br>
- init — runit<br>
- wm — bspwm<br>
- term — st<br>
- sh — zsh<br>
- lang — c<br>
- edit — vim<br>
+ <div class="nav">
+ < <a href="index.html">home</a> >
+ </div>
- <br>
- hard<br>
- ====<br>
- cpu — xeon e5 2670v3<br>
- gpu — 1660 super<br>
- ram — 32g<br>
- nvme 256g — /, /home<br>
- hdd 1000g — /mnt/games<br>
- ssd 128g — /mnt/develop<br>
- ssd 128g — external drive<br>
- ssd 480g — notebook asus x505za<br>
+ <pre>
+host
+====
+distro — artix
+kernel — linux-lts (soon custom)
+init — runit
+wm — bspwm
+term — st
+sh — zsh
+lang — c
+edit — vim
- <br>
- setup<br>
- =====<br>
- mon 1 — ardor gaming portal af24h1 144hz 1920x1080<br>
- mon 2 — sanc 75hz 1920x1080<br>
- mouse 1 — logitech g102<br>
- mouse 2 — zelotes t-20<br>
- kbd — vorotex k840<br>
+hard
+====
+cpu — xeon e5 2670v3
+gpu — 1660 super
+ram — 32g
+nvme 256g — /, /home
+hdd 1000g — /mnt/games
+ssd 128g — /mnt/develop
+ssd 128g — external drive
+ssd 480g — notebook asus x505za
- </center>
+setup
+=====
+mon 1 — ardor gaming portal af24h1 144hz 1920x1080
+mon 2 — sanc 75hz 1920x1080
+mouse 1 — logitech g102
+mouse 2 — zelotes t-20
+kbd — vorotex k840
+ </pre>
+ </div>
</body>
-</html>
+</html>
+\ No newline at end of file
diff --git a/contributing.html b/contributing.html
@@ -0,0 +1,108 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
+ <link rel="stylesheet" href="style.css">
+ <link rel="icon" type="image/png" href="favicon.png">
+ <title>evenfri - contributing</title>
+ </head>
+
+ <body>
+ <div class="container">
+ <h1><a href="index.html">evenfri</a></h1>
+
+ <div class="nav">
+ < <a href="index.html">home</a> >
+ </div>
+
+ <h2>content</h2>
+ <ul>
+ <li><a href="#standards">coding standards</a></li>
+ <li><a href="#submit-patch">submitting patches</a></li>
+ </ul>
+
+ <h2 id="standards"><a href="#standards">coding standards</a></h2>
+
+ <h3>1. formatting & layout</h3>
+ <ul>
+ <li><strong>indentation:</strong> 2 spaces (no tabs)</li>
+ <li><strong>line length:</strong> max 80 characters</li>
+ <li><strong>whitespace:</strong> no trailing whitespace allowed</li>
+ <li><strong>brackets:</strong> K&R style (opening bracket on the same line)</li>
+ </ul>
+
+ <h3>2. naming conventions</h3>
+ <ul>
+ <li><strong>style:</strong> <code>snake_case</code> for functions, variables, and structures</li>
+ <li><strong>macros:</strong> <code>lower_case</code> for constant macros; <code>UPPER_CASE</code> for standard macros</li>
+ <li><strong>config macros:</strong> <code>CONFIG_UPPER_CASE</code> in <code>config.h</code></li>
+ <li><strong>pointers:</strong> <code>char* func(...)</code> for types, <code>const char *str</code> for variables</li>
+ </ul>
+
+ <h3>3. function design</h3>
+ <ul>
+ <li>keep functions small (50-75 lines max) and single-purpose</li>
+ <li>max 3 levels of nesting (split into helpers if deeper)</li>
+ </ul>
+
+ <h3>4. comments & headers</h3>
+ <ul>
+ <li>write in English, lowercase, no trailing dot (except copyright notices)</li>
+ <li>explain <em>why</em>, not <em>what</em></li>
+ <li>use standard C-style comments (<code>/* ... */</code>)</li>
+ <li>use include guards in lowercase for header files (e.g., <code>#ifndef filename_h</code>)</li>
+ <li>keep header files minimal: max 4 headers (<code>fns.h</code>, <code>dat.h</code>, project header, <code>config.h</code>)</li>
+ </ul>
+
+ <h3>5. dependencies & build</h3>
+ <ul>
+ <li><strong>dependencies:</strong> max 1-2 external dependencies; write custom code if non-essential</li>
+ <li><strong>allowed defaults:</strong> gcc, make, X11, libc, mk</li>
+ <li><strong>shell scripts:</strong> use <code>#!/bin/sh</code> and <code>snake_case</code> naming</li>
+ <li><strong>build tool:</strong> Makefile/mkfile required with <code>-Wall -Wextra</code> flags</li>
+ <li><strong>build targets:</strong> mandatory <code>all</code>, <code>rebuild</code>, <code>clean</code>, and <code>nuke</code></li>
+ <li><strong>languages:</strong> C, GASM, NASM</li>
+ </ul>
+
+ <h3>6. required files</h3>
+ <ul>
+ <li><code>README</code> and <code>LICENSE</code> in plain text format</li>
+ <li><code>Makefile</code> or <code>mkfile</code></li>
+ </ul>
+
+ <h3>example</h3>
+ <pre>/*
+ * main.c — entry point example
+ */
+
+#define sys_write 1
+#define stdout 1
+
+static long write(int fd, const void *buf, unsigned long count) {
+ long ret;
+ asm volatile (
+ "syscall"
+ : "=a"(ret)
+ : "a"(sys_write), "D"(fd), "S"(buf), "d"(count)
+ : "rcx", "r11", "memory"
+ );
+ return ret;
+}
+
+int main(int argc, char *argv[]) {
+ write(stdout, "hello world\n", 12);
+
+ return 0;
+}</pre>
+
+ <h2 id="submit-patch"><a href="#submit-patch">submitting patches</a></h2>
+ <ul>
+ <li><strong>committing changes:</strong> <code>git commit -m "feature: add lexer"</code></li>
+ <li><strong>generate patch:</strong> <code>git format-patch --subject-prefix="PATCH" -1 HEAD</code></li>
+ <li><strong>send email:</strong> <code>git send-email --to="evenfri256@gmail.com" 0001-feature-add-lexer.patch</code></li>
+ </ul>
+ </div>
+ </body>
+</html>
+\ No newline at end of file
diff --git a/index.html b/index.html
@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
- <meta name="viewport" content="width=1024, initial-scale=0.1">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/png" href="favicon.png">
@@ -10,43 +10,46 @@
</head>
<body>
- <center>
-
- <h1><a href="index.html"
- style="color: white; text-decoration: none;">
- evenfri</a></h1>
-
- <img src="assets/pfp.png" width="50%">
+ <div class="container">
+ <h1><a href="index.html">evenfri</a></h1>
+
+ <div class="nav">
+ <
+ <a href="http://git.evenfri.duckdns.org/">src</a> |
+ <a href="about.html">about</a> |
+ <a href="contributing.html">contributing</a> |
+ <a href="philosophy.html">philosophy</a> |
+ <a href="license.html">license</a> |
+ <a href="links.html">links</a>
+ >
+ </div>
- <p><
- <a href="http://git.evenfri.duckdns.org/">src</a> |
- <a href="about.html">about</a> |
- <a href="philosophy.html">philosophy</a> |
- <a href="license.html">license</a> |
- <a href="links.html">links</a>
- ></p>
+ <div style="text-align: center; margin-bottom: 15px;">
+ <img src="assets/pfp.png" style="max-width: 50%; border: 1px solid #000000;">
+ </div>
- i use artix btw<br>
- i use C btw<br>
- i use bspwm btw<br>
- i use vim btw<br>
- i love femboys btw<br><br>
- my beloved girl friend:
- <a href="https://t.me/Laneks_143">@Laneks_143</a>
+ <div style="text-align: center;">
+ i use artix btw<br>
+ i use C btw<br>
+ i use bspwm btw<br>
+ i use vim btw<br>
+ i love femboys btw<br><br>
+ my beloved girl friend:
+ <a href="https://t.me/Laneks_143">@Laneks_143</a>
+ </div>
- <br><br>
+ <hr>
<div class="banners">
- <img src="assets/trans.png">
- <img src="assets/bi.png">
- <img src="assets/artix.gif">
- <img src="assets/drug.gif">
- <img src="assets/vim.gif">
- <img src="assets/gnu-linux.gif">
- <img src="assets/notall.gif">
- <img src="assets/nya2.gif">
+ <img src="assets/trans.png" alt="trans">
+ <img src="assets/bi.png" alt="bi">
+ <img src="assets/artix.gif" alt="artix">
+ <img src="assets/drug.gif" alt="drug">
+ <img src="assets/vim.gif" alt="vim">
+ <img src="assets/gnu-linux.gif" alt="gnu/linux">
+ <img src="assets/notall.gif" alt="notall">
+ <img src="assets/nya2.gif" alt="nya">
</div>
-
- </center>
+ </div>
</body>
-</html>
+</html>
+\ No newline at end of file
diff --git a/license.html b/license.html
@@ -19,11 +19,11 @@
<br>
- All of my projects are licensed under the <br>
+ all of my projects are licensed under the <br>
<a href="LICENSE.txt">GNU GPL v3</a><br>
(or later) license, unless a different license is explicitly stated <br>
- in the root of the repository. The full text of the license is <br>
- available at the link above.<br>
+ in the root of the repository. the full text of the license is <br>
+ available at the link above<br>
</center>
</body>
diff --git a/links.html b/links.html
@@ -2,29 +2,30 @@
<html lang="en">
<head>
<meta charset="UTF-8">
- <meta name="viewport" content="width=1024, initial-scale=0.1">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/png" href="favicon.png">
- <title>evenfri</title>
-
+ <title>evenfri - links</title>
</head>
<body>
- <center>
-
- <h1><a href="index.html"
- style="color: white; text-decoration: none;">
- evenfri</a></h1>
-
- <img src="assets/links-banner.png" width="50%">
+ <div class="container">
+ <h1><a href="index.html">evenfri</a></h1>
- <br><br>
+ <div class="nav">
+ < <a href="index.html">home</a> >
+ </div>
- <a href="https://suckless.org">suckless.org</a> — softwares that suck less<br>
- <a href="https://artixlinux.org">artixlinux.org</a> — sysd free distro<br>
- <a href="https://coreberg.org">codeberg.org</a> — git host<br>
+ <div style="text-align: center; margin-bottom: 15px;">
+ <img src="assets/links-banner.png" style="max-width: 50%; border: 1px solid #000000;">
+ </div>
- </center>
+ <ul>
+ <li><a href="https://suckless.org">suckless.org</a> — softwares that suck less</li>
+ <li><a href="https://artixlinux.org">artixlinux.org</a> — sysd free distro</li>
+ <li><a href="https://codeberg.org">codeberg.org</a> — git host</li>
+ </ul>
+ </div>
</body>
-</html>
+</html>
+\ No newline at end of file
diff --git a/philosophy.html b/philosophy.html
@@ -2,29 +2,30 @@
<html lang="en">
<head>
<meta charset="UTF-8">
- <meta name="viewport" content="width=1024, initial-scale=0.1">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/png" href="favicon.png">
- <title>evenfri</title>
-
+ <title>evenfri - philosophy</title>
</head>
<body>
- <center>
-
- <h1><a href="index.html"
- style="color: white; text-decoration: none;">
- evenfri</a></h1>
-
- <img src="assets/philosophy.png" width="50%">
+ <div class="container">
+ <h1><a href="index.html">evenfri</a></h1>
- <br><br>
+ <div class="nav">
+ < <a href="index.html">home</a> >
+ </div>
- "do one thing, but do it well"<br>
- "suckless"<br>
- "keep it simple, stupid"<br>
+ <div style="text-align: center; margin-bottom: 15px;">
+ <img src="assets/philosophy.png" style="max-width: 50%; border: 1px solid #000000;">
+ </div>
- </center>
+ <blockquote>
+ "do one thing, but do it well"<br>
+ "suckless"<br>
+ "keep it simple, stupid"
+ </blockquote>
+ </div>
</body>
-</html>
+</html>
+\ No newline at end of file
diff --git a/style.css b/style.css
@@ -1,25 +1,86 @@
body {
- background-color: #000000;
- color: #ffffff;
- font-family: Tamzen;
- font-size: 1rem;
- min-height: 100vh;
- margin: 0;
- display: flex;
- justify-content: center;
- align-items: flex-start;
- text-align: center;
+ background-color: #ffffff;
+ color: #000000;
+ font-family: monospace, serif;
+ font-size: 14px;
+ line-height: 1.4;
+ margin: 20px;
+ padding: 0;
+}
+
+.container {
+ max-width: 750px;
+ margin: 0 auto;
+ padding: 15px;
+ border: 1px solid #999999;
+ background-color: #f8f8f8;
+}
+
+h1 {
+ font-size: 1.8rem;
+ font-weight: bold;
+ margin-top: 0;
+ margin-bottom: 10px;
+ border-bottom: 2px solid #000000;
+ padding-bottom: 5px;
+}
+
+h1 a, h1 a:visited {
+ color: #000000;
+ text-decoration: none;
+}
+
+h1 a:hover {
+ text-decoration: underline;
+}
+
+a {
+ color: #0000ee;
+ text-decoration: underline;
}
-a, a:visited {
- color: #5555ee;
+a:visited {
+ color: #551a8b;
+}
+
+a:active {
+ color: #ff0000;
+}
+
+a:hover {
+ color: #0000ff;
+ background-color: #ffffcc;
+}
+
+.nav {
+ background-color: #eeeeee;
+ border: 1px solid #cccccc;
+ padding: 5px 10px;
+ margin-bottom: 15px;
+ font-weight: bold;
+ text-align: center;
}
.banners {
+ margin-top: 15px;
display: flex;
+ flex-wrap: wrap;
+ gap: 4px;
+ justify-content: center;
+}
+
+.banners img {
+ border: 1px solid #666666;
+}
+
+hr {
+ border: none;
+ border-top: 1px solid #aaaaaa;
+ margin: 15px 0;
}
-@font-face {
- font-family: Tamzen;
- src: url(assets/Tamzen8x16r.ttf);
+pre, code {
+ font-family: monospace;
+ background-color: #ededed;
+ padding: 2px 4px;
}
\ No newline at end of file