Compare commits

..

No commits in common. 'eda0b2f9e8d755e5c3885bc361ea03883db98fb8' and 'fdeef6efaeeddf69e5f000068ae01c0e4f51b265' have entirely different histories.

  1. 5
      home/library/index.html
  2. BIN
      home/library/logs/bg.jpg
  3. 47
      home/library/logs/index.html
  4. 4
      home/library/logs/markdown/home.md
  5. 23
      home/library/logs/markdown/slowly.md
  6. BIN
      home/library/logs/markdown/waifuism_tan.png
  7. 55
      home/library/logs/styles.css
  8. 3
      home/library/markdown/home.md
  9. BIN
      home/library/static/bg.jpg
  10. BIN
      home/library/static/frieren.jpg
  11. 23
      home/library/styles.css

@ -11,8 +11,9 @@
<div class="window">
<div class="nav">
<button onclick="loadContent('home.md')">Home</button>
<a href="./logs/"><button>Logs</button></a>
<a href="./grimoire/"><button>Grimoire</button></a>
<button onclick="loadContent('about.md')">About</button>
<button onclick="loadContent('contact.md')">Contact</button>
<button>Grimoire</button>
</div>
<div class="content" id="mainContent">

BIN
home/library/logs/bg.jpg (Stored with Git LFS)

Binary file not shown.

@ -1,47 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Library | waifuism.life</title>
<link rel="stylesheet" href="styles.css">
<script src="/libs/marked.min.js"></script>
</head>
<body>
<div class="window">
<div class="nav">
<button onclick="loadContent('home.md')">Home</button>
<button onclick="loadContent('slowly.md')">Slowly</button>
</div>
<div class="content" id="mainContent">
</div>
</div>
<script>
function loadContent(file) {
fetch(`markdown/${file}`)
.then(response => {
if (!response.ok) {
throw new Error(`Network response was not ok: ${response.statusText}`);
}
return response.text();
})
.then(text => {
const mainContent = document.getElementById('mainContent');
mainContent.innerHTML = marked.parse(text);
})
.catch(error => {
console.error('Error loading content:', error);
const mainContent = document.getElementById('mainContent');
mainContent.innerHTML = `<p>Error loading content. Please try again later.</p>`;
});
}
// Load the default home content on page load
window.onload = function() {
loadContent('home.md');
};
</script>
</body>
</html>

@ -1,4 +0,0 @@
# Home
This is a kind of blog I guess.
![test](markdown/waifuism_tan.png)

@ -1,23 +0,0 @@
# Slowly
Even now as I write, I wonder to feels if I should be paying attention to the things around me or not.
I love to walk through a small park near my apartment, it's size is barely a block but I've seen it have quite the movement, children playing, people drinking mate, the usual.
I have to remind myself to walk slowly through it in order to enjoy it.
Is it normal to be walking so fast?
I wondered myself if forcing yourself to be overworked because "you will not be able to finish a piece of art" is something worthwhile for me.
Would I be sad I didn't finish a piece when I die?
I like to think it's a similar question to "Am I sad because I didn't read more books when I was at school? Because I never told my crush my feelings? Because I didn't do something that I can't do anymore?"
Honestly I am not sure what would I say on that day when I finally bite the dust.
But today I shall enjoy it the ways that I know how to.
Today that answer may be "No, not really.".
They recently opened a coffee place near my house, I wonder if their coffee has good aroma.

Binary file not shown.

@ -1,55 +0,0 @@
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
background-image: url("./bg.jpg");
background-position: center;
}
.window {
display: flex;
width: 80%;
height: 80%;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
background-color: rgb(255, 255, 255);
border-radius: 8px;
}
.nav {
width: 10%;
background-color: #306cab;
color: rgb(255, 255, 255);
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
}
.nav button {
width: 100%;
margin: 10px 0;
padding: 10px;
border: none;
border-radius: 4px;
background-color: #77e6ea;
color: rgb(0, 0, 0);
cursor: pointer;
transition: background-color 0.3s;
}
.nav button:hover {
background-color: #1abc9c;
}
.content {
width: 90%;
padding: 20px;
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
overflow-y: auto;
}
.content img {
max-width: 100%;
height: auto;
}

@ -1,3 +0,0 @@
# Library
![](./static/frieren.jpg)

BIN
home/library/static/bg.jpg (Stored with Git LFS)

Binary file not shown.

BIN
home/library/static/frieren.jpg (Stored with Git LFS)

Binary file not shown.

@ -5,10 +5,7 @@ body {
align-items: center;
height: 100vh;
margin: 0;
background-color: #211000;
background-image: url("./static/bg.jpg");
background-position: center;
background-repeat: no-repeat;
background-color: #f0f0f0;
}
.window {
display: flex;
@ -39,12 +36,9 @@ body {
color: white;
cursor: pointer;
transition: background-color 0.3s;
transform: 0.3s;
}
.nav button:hover {
background-color: #c2a25e;
transform: scale(1.05) rotate(1deg);
background-color: #1abc9c;
}
.content {
width: 75%;
@ -52,15 +46,4 @@ body {
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
overflow-y: auto;
}
.content img {
max-width: 100%;
height: auto;
}
/* Move when clicked */
.nav button:active {
transform: scale(1.2);
}
}
Loading…
Cancel
Save