-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
277 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,275 @@ | ||
<!DOCTYPE html> | ||
<html onclick="setFocusToTextBox()"> | ||
<style> | ||
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap"); | ||
|
||
:root { | ||
--main-bg-color: #21252b; | ||
--box-bg-color: #282c34; | ||
--box-shadow-color: #323842; | ||
--primary-color: #d4d8df; | ||
--secondary-color: #abb2bf; | ||
|
||
--first-color: #e06c75; | ||
--second-color: #c678dd; | ||
--third-color: #98c379; | ||
--fourth-color: #61afef; | ||
--fifth-color: #e5c07b; | ||
|
||
--grid-column-count: 5; | ||
} | ||
|
||
* { | ||
cursor: default; | ||
} | ||
|
||
html { | ||
align-items: center; | ||
background-color: var(--main-bg-color); | ||
display: flex; | ||
font-size: 22px; | ||
line-height: 1.10; | ||
font-family: "Jetbrains Mono", "Vazirmatn", monospace; | ||
font-weight: 400; | ||
min-height: 100%; | ||
justify-content: center; | ||
} | ||
|
||
body { | ||
background-color: var(--box-bg-color); | ||
box-shadow: 0 0 3px 0 var(--box-shadow-color); | ||
color: var(--primary-color); | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-around; | ||
min-height: 60vh; | ||
min-width: 60vw; | ||
padding: 2em; | ||
border-radius: 15px; | ||
user-select: none; | ||
position: relative; | ||
} | ||
|
||
input, | ||
input:hover, | ||
input:focus, | ||
input:active { | ||
background: transparent; | ||
border: 0; | ||
border-style: none; | ||
border-color: transparent; | ||
outline: none; | ||
outline-offset: 0; | ||
box-shadow: none; | ||
caret-color: var(--secondary-color); | ||
caret-shape: block; | ||
color: var(--primary-color); | ||
height: 2ch; | ||
font-size: 22px; | ||
line-height: 1.05; | ||
font-family: "Jetbrains Mono", "Vazirmatn", monospace; | ||
} | ||
|
||
p { | ||
margin: 0; | ||
} | ||
|
||
p span { | ||
color: var(--secondary-color); | ||
} | ||
|
||
a { | ||
color: inherit; | ||
text-decoration: none; | ||
} | ||
|
||
a:focus, | ||
a:hover { | ||
font-weight: 700; | ||
} | ||
|
||
a::before { | ||
content: "> "; | ||
color: var(--secondary-color); | ||
font-weight: 400; | ||
} | ||
|
||
ul { | ||
list-style-type: none; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
nav { | ||
column-gap: 2em; | ||
display: grid; | ||
grid-template-columns: repeat(var(--grid-column-count), auto); | ||
padding: 1em 0; | ||
} | ||
|
||
ul:nth-child(5n + 1) li:first-child { | ||
color: var(--first-color); | ||
} | ||
|
||
ul:nth-child(5n + 2) li:first-child { | ||
color: var(--second-color); | ||
} | ||
|
||
ul:nth-child(5n + 3) li:first-child { | ||
color: var(--third-color); | ||
} | ||
|
||
ul:nth-child(5n + 4) li:first-child { | ||
color: var(--fourth-color); | ||
} | ||
|
||
ul:nth-child(5n + 5) li:first-child { | ||
color: var(--fifth-color); | ||
} | ||
|
||
li:first-child { | ||
font-weight: 700; | ||
margin: 0 0 0.5em; | ||
} | ||
|
||
li:last-child { | ||
margin: 0 0 1em; | ||
} | ||
|
||
.action-buttons { | ||
display: flex; | ||
flex-direction: row-reverse; | ||
gap: 6px; | ||
position: absolute; | ||
top: 12px; | ||
right: 12px; | ||
} | ||
|
||
.ext, .max, .min { | ||
border-radius: 50%; | ||
width: 18px; | ||
height: 18px; | ||
color: var(--main-bg-color); | ||
font-size: 18px; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.ext:hover, .max:hover, .min:hover { | ||
filter: brightness(0.8); | ||
} | ||
|
||
.action-buttons .ext { | ||
background-color: var(--first-color); | ||
} | ||
|
||
.action-buttons .max { | ||
background-color: var(--third-color); | ||
} | ||
|
||
.action-buttons .min { | ||
background-color: var(--fifth-color); | ||
} | ||
</style> | ||
<head> | ||
<title>ali@XD $ newtab</title> | ||
<link rel="icon" type="image/svg" href="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%2398c379%22%20class%3D%22w-6%20h-6%22%3E%20%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M9%204.5a.75.75%200%2001.721.544l.813%202.846a3.75%203.75%200%20002.576%202.576l2.846.813a.75.75%200%20010%201.442l-2.846.813a3.75%203.75%200%2000-2.576%202.576l-.813%202.846a.75.75%200%2001-1.442%200l-.813-2.846a3.75%203.75%200%2000-2.576-2.576l-2.846-.813a.75.75%200%20010-1.442l2.846-.813A3.75%203.75%200%20007.466%207.89l.813-2.846A.75.75%200%20019%204.5zM18%201.5a.75.75%200%2001.728.568l.258%201.036c.236.94.97%201.674%201.91%201.91l1.036.258a.75.75%200%20010%201.456l-1.036.258c-.94.236-1.674.97-1.91%201.91l-.258%201.036a.75.75%200%2001-1.456%200l-.258-1.036a2.625%202.625%200%2000-1.91-1.91l-1.036-.258a.75.75%200%20010-1.456l1.036-.258a2.625%202.625%200%20001.91-1.91l.258-1.036A.75.75%200%200118%201.5zM16.5%2015a.75.75%200%2001.712.513l.394%201.183c.15.447.5.799.948.948l1.183.395a.75.75%200%20010%201.422l-1.183.395c-.447.15-.799.5-.948.948l-.395%201.183a.75.75%200%2001-1.422%200l-.395-1.183a1.5%201.5%200%2000-.948-.948l-1.183-.395a.75.75%200%20010-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75%200%200116.5%2015z%22%20clip-rule%3D%22evenodd%22%20%2F%3E%20%3C%2Fsvg%3E"> | ||
<script> | ||
function setFocusToTextBox() { | ||
document.getElementById("input").focus(); | ||
} | ||
</script> | ||
</head> | ||
|
||
<body onload="setFocusToTextBox()" onclick="setFocusToTextBox()"> | ||
<div class="action-buttons"> | ||
<span class="ext">×</span> | ||
<span class="max">+</span> | ||
<span class="min">−</span> | ||
</div> | ||
<p><span>ali@XD $ </span>newtab <span>--ls</span></p> | ||
|
||
<nav> | ||
<ul> | ||
<li>Apps</li> | ||
<li><a href="https://mail.google.com/">Gmail</a></li> | ||
<li><a href="https://drive.google.com/">Drive</a></li> | ||
<li> | ||
<a href="https://calendar.google.com/">Calendar</a> | ||
</li> | ||
<li><a href="https://meet.google.com/">Meet</a></li> | ||
<li><a href="https://keep.google.com/">Keep</a></li> | ||
<li><a href="https://dropbox.com/">Dropbox</a></li> | ||
<li><a href="https://around.co/">Around</a></li> | ||
<li><a href="https://translate.google.com/">Translate</a></li> | ||
<li><a href="https://contacts.google.com/">Contacts</a></li> | ||
</ul> | ||
|
||
<ul> | ||
<li>Development</li> | ||
<li><a href="https://github.com">Github</a></li> | ||
<li><a href="https://codepen.io">Codepen</a></li> | ||
<li><a href="https://stackoverflow.com/">Stack Overflow</a></li> | ||
<li><a href="https://replit.com/">Replit</a></li> | ||
<li><a href="https://cdnjs.com/">CDNjs</a></li> | ||
<li><a href="https://cdnfonts.com/">CDNfonts</a></li> | ||
<li><a href="https://www.gitignore.io/">gitignore</a></li> | ||
<li><a href="https://cheat.sh/">cheat.sh</a></li> | ||
</ul> | ||
|
||
<ul> | ||
<li>Design</li> | ||
<li><a href="https://fonts.google.com/">Google Fonts</a></li> | ||
<li><a href="https://dribbble.com/">Dribbble</a></li> | ||
<li><a href="https://yeun.github.io/open-color/">Open Colors</a></li> | ||
<li><a href="https://flatuicolors.com/">Flat UI</a></li> | ||
<li><a href="https://coolors.co/">Coolors</a></li> | ||
<li><a href="https://paletton.com/">Paletton</a></li> | ||
<li><a href="https://maketintsandshades.com/">Tints and Shades</a></li> | ||
<li><a href="https://type-scale.com/">Type Scale</a></li> | ||
<li><a href="https://heroicons.com/">Heroicons</a></li> | ||
<li><a href="https://ionic.io/ionicons/">ionicons</a></li> | ||
<li><a href="https://phosphoricons.com/">Phosphor</a></li> | ||
</ul> | ||
|
||
<ul> | ||
<li>Docs</li> | ||
<li><a href="https://developer.mozilla.org/">MDN</a></li> | ||
<li><a href="https://docs.python.org/">Python</a></li> | ||
<li><a href="https://w3schools.com/">W3Schools</a></li> | ||
<li><a href="https://tailwindcss.com/docs/">Tailwindcss</a></li> | ||
<li> | ||
<a href="https://codingheroes.io/resources/">Jonas' Resources</a> | ||
</li> | ||
<li><a href="https://www.freecodecamp.com/">freeCodeCamp</a></li> | ||
<li><a href="https://github.com/sindresorhus/awesome/">Awesome</a></li> | ||
</ul> | ||
|
||
<ul> | ||
<li>Social</li> | ||
<li><a href="https://twitter.com/">Twitter</a></li> | ||
<li><a href="https://instagram.com/">Instagram</a></li> | ||
<li><a href="https://linkedin.com/">LinkedIn</a></li> | ||
<li><a href="https://app.slack.com/">Slack</a></li> | ||
<li><a href="https://reddit.com/">Reddit</a></li> | ||
<li><a href="https://medium.com/">Medium</a></li> | ||
<li><a href="https://hashnode.com/">Hashnode</a></li> | ||
</ul> | ||
</nav> | ||
|
||
<form action="http://www.duckduckgo.com/" method="get"> | ||
<p onclick="setFocusToTextBox()"> | ||
<span>ali@XD $ </span>newtab<span> --ddg -q</span> | ||
<input | ||
type="text" | ||
name="q" | ||
size="50" | ||
id="input" | ||
autocomplete="off" | ||
spellcheck="false" | ||
/> | ||
</p> | ||
</form> | ||
</body> | ||
</html> |