Version 2.3.0 release

This commit is contained in:
Maciej Pędzich 2021-01-17 19:45:35 +01:00
parent d9f725c592
commit 269e4d647e
4 changed files with 120 additions and 102 deletions

View File

@ -1,5 +1,10 @@
# Changelog # Changelog
## 2.3.0
- Add special _'help'_ command for dummies
- Add `::selection` styling rules
## 2.2.0 ## 2.2.0
- Change copyright header - Change copyright header

View File

@ -12,6 +12,11 @@
body { body {
background-color: black; background-color: black;
} }
::selection {
background-color: whitesmoke;
color: black;
}
} }
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
@ -23,6 +28,11 @@
body { body {
background-color: whitesmoke; background-color: whitesmoke;
} }
::selection {
background-color: black;
color: whitesmoke;
}
} }
@media (min-width: 1200px) { @media (min-width: 1200px) {

View File

@ -43,6 +43,9 @@ window.addEventListener('keypress', (evt) => {
case 'github': case 'github':
window.open('https://github.com/maciejpedzich'); window.open('https://github.com/maciejpedzich');
break; break;
case "'help'":
output.textContent = 'Without the quotes, dummy.';
break;
case 'help': case 'help':
output.innerHTML = `<p>about - shows everything you need to know about Maciej</p> output.innerHTML = `<p>about - shows everything you need to know about Maciej</p>
<p>cls - clears screen</p> <p>cls - clears screen</p>

View File

@ -12,7 +12,7 @@
</head> </head>
<body> <body>
<div id="header"> <div id="header">
<p>maciejpedzi.ch [Version 2.2.0]</p> <p>maciejpedzi.ch [Version 2.3.0]</p>
<p>(C) Maciej Pedzich <span id="current-year"></span></p> <p>(C) Maciej Pedzich <span id="current-year"></span></p>
<p id="hint">Welcome! Type 'help' for more information</p> <p id="hint">Welcome! Type 'help' for more information</p>
</div> </div>