commit d3129422e23e56d5bd3a4d3ef1a639e39bcb9327
parent 9b9f691bef792cf40922f71978efdfc9dba93e37
Author: erai <erai@omiltem.net>
Date: Sun, 14 Apr 2024 14:08:14 -0400
Add table formatting
Diffstat:
4 files changed, 21 insertions(+), 42 deletions(-)
diff --git a/about/index.html b/about/index.html
@@ -4,7 +4,12 @@
<title>About — Omiltem</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="robots" content="index, follow">
+ <meta name="twitter:card" content="summary">
+ <meta name="twitter:site" content="@erai271">
+ <meta property="og:image" content="https://omiltem.net/about/pfp.jpg">
+ <meta property="og:type" content="article">
+ <meta property="og:title" content="About — Omiltem">
+ <meta property="og:description" content="Hello, I'm erai and this is my website!">
<link rel="stylesheet" href="/css/style.css">
<link rel="icon" href="/favicon.png">
<link rel="me" href="https://furry.engineer/@erai">
@@ -19,7 +24,6 @@
<nav>
<ul class="links">
<li><a href="/">HOME</a></li>
- <li><a href="/blog">BLOG</a></li>
<li><a href="https://github.com/erai271">CODE</a></li>
<li><a href="/about">ABOUT</a></li>
</ul>
diff --git a/blog/index.html b/blog/index.html
@@ -1,31 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <title>Blog — Omiltem</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="robots" content="index, follow">
- <link rel="stylesheet" href="/css/style.css">
- <link rel="icon" href="/favicon.png">
- </head>
- <body>
- <header>
- <p>Omiltem</p>
- <ul class="links">
- <li><a href="/">HOME</a></li>
- <li><a href="/blog">BLOG</a></li>
- <li><a href="https://github.com/erai271">CODE</a></li>
- <li><a href="/about">ABOUT</a></li>
- </ul>
- </header>
- <main>
- <article>
- <h1>Blog</h1>
- Here is where I will put various writings.
- </article>
- </main>
- <footer>
- © 2024 erai
- </footer>
- </body>
-</html>
diff --git a/css/style.css b/css/style.css
@@ -79,7 +79,7 @@ footer {
text-align: center;
}
-code, pre {
+pre {
white-space: pre-wrap;
font-family: monospace;
background-color: #f4f4ff;
@@ -93,14 +93,16 @@ pre {
border-radius: 4pt;
}
-code {
- display: inline;
- padding: 2pt 3pt 1pt;
- border: 1pt solid #ccc;
- border-radius: 4pt;
+table, th, td {
+ border: 1px solid #000000;
}
-pre .prompt, code .prompt {
+table {
+ border-collapse: collapse;
+ margin: 0 auto;
+}
+
+pre .prompt {
user-select: none;
}
@@ -167,4 +169,8 @@ blockquote {
a:visited {
color: #8466cc;
}
+
+ table, th, td {
+ border: 1px solid #eeeeee;
+ }
}
diff --git a/index.html b/index.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <title>Home — Omiltem</title>
+ <title>Omiltem</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="twitter:card" content="summary">
@@ -27,7 +27,7 @@
<main>
<article>
<h1>Home</h1>
- Hello, I'm erai and this is my website!
+ <p>Hello, I'm erai and this is my website!</p>
</article>
</main>
<footer>