latest version

This commit is contained in:
cbax 2024-10-22 18:38:28 -04:00
parent 3a44d4923b
commit 8e34b59d07
2 changed files with 100 additions and 64 deletions

View file

@ -1,3 +1,6 @@
@import url('/res/css/nord.css');
@font-face { @font-face {
font-family: 'Intel One Mono Regular'; font-family: 'Intel One Mono Regular';
font-style: normal; font-style: normal;
@ -12,18 +15,34 @@
src: local('Sans Forgetica Regular'), url('/res/woff/sf.woff') format('woff'); src: local('Sans Forgetica Regular'), url('/res/woff/sf.woff') format('woff');
} }
:root {
--bg-accent: var(--nord2);
--bg-main: var(--nord0);
--text-primary: var(--nord4);
--highlight-primary: #00fcff;
--highlight-secondary: var(--nord5);
--card-margin: 2svh;
--card-radius: 15px;
--card-shadow-size: 5px;
font-family: "Intel One Mono Regular", monospace, sans-serif;
scrollbar-width: none;
background-color: var(--base);
color: var(--text);
}
body { body {
background: #00fcff; background: var(--bg-accent);
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
font-family: 'Intel One Mono Regular'; color: var(--text-primary);
color: #ededed;
} }
h1 { h1 {
font-family: 'Sans Forgetica Regular'; font-family: 'Sans Forgetica Regular';
font-size: 4em; font-size: 4em;
color: #00fcff; color: var(--highlight-primary);
text-shadow: #ededed 3px -3px; text-shadow: #ededed 3px -3px;
margin-top: 2svh; margin-top: 2svh;
margin-bottom: 2svh; margin-bottom: 2svh;
@ -33,37 +52,21 @@ span {
display: inline-block; display: inline-block;
} }
.vl {
border-left: 1px solid #ededed;
border-right: 1px solid #ededed;
margin-left: 1ch;
margin-right: 1ch;
height: 4rem;
}
.icon {
width: 4rem;
height: 4rem;
}
.container { .container {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
height: 100svh; height: 100svh;
} }
.links {
display: flex
}
figure { figure {
display: inline-block; display: inline-block;
margin: 20px; /* adjust as needed */ margin: 20px; /* adjust as needed */
} }
figure img { figure img {
width: 10vw; width: 10vw;
height: auto; height: auto;
border-radius: 20px; border-radius: var(--card-radius);
vertical-align: top; vertical-align: top;
} }
figure figcaption { figure figcaption {
@ -73,18 +76,19 @@ figure figcaption {
.main { .main {
flex: 1 1 auto; flex: 1 1 auto;
border-radius: 20px; border-radius: var(--card-radius);
margin-top: 1svh; margin-top: var(--card-margin);
margin-left: 1svh; margin-left: var(--card-margin);
margin-right: 1svh; margin-right: var(--card-margin);
margin-bottom: 1svh; margin-bottom: var(--card-margin);
padding: 1svh; padding: 2svh;
/*height: 78svh;*/ /*height: 78svh;*/
background: #3c3c3c; background: var(--bg-main);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
box-shadow: var(--highlight-primary) calc(var(--card-shadow-size) * -1) var(--card-shadow-size);
} }
.card { .card {
@ -101,43 +105,57 @@ figure figcaption {
footer { footer {
flex: 0 1 15svh; flex: 0 1 15svh;
border-radius: 20px; border-radius: var(--card-radius);
margin-left: 1svh; margin-left: var(--card-margin);
margin-right: 1svh; margin-right: var(--card-margin);
margin-bottom: 1svh; margin-bottom: var(--card-margin);
padding: 1svh; padding: 1svh;
background: #3c3c3c; background: var(--bg-main);
display: flex; display: flex;
/*height: 15svh;
min-height: 32px;*/
justify-content: center; justify-content: center;
align-items: center; align-items: center;
flex-wrap: wrap; flex-wrap: wrap;
gap: 1em; gap: 0.25vw;
box-shadow: var(--highlight-secondary) calc(var(--card-shadow-size) * -1) var(--card-shadow-size);
} }
a { a {
color: #ededed; color: var(--text-primary);
text-decoration: underline #00fcff; text-decoration: underline var(--highlight-primary);
} }
a:visited { a:visited {
color: #444; color: #444;
text-decoration: underline #00fcff; text-decoration: underline var(--highlight-primary);
}
td:nth-child(1) {
font-weight: 900;
word-break: keep-all;
}
td:nth-child(2) {
padding-left: 0.5em;
word-break: break-all;
}
fieldset {
border-color: var(--bg-accent);
border-radius: var(--card-radius);
} }
.fancy { .fancy {
background-image: linear-gradient( background-image: linear-gradient(
to right, to right,
#00fcff, var(--highlight-primary),
#00fcff 50%, var(--highlight-primary) 50%,
#ededed 50% #ededed 50%
); );
text-decoration: underline #00fcff; text-decoration: underline var(--highlight-primary);
background-size: 200% 100%; background-size: 200% 100%;
background-position: -100%; background-position: -100%;
display: inline-block; display: inline-block;
padding: 5px 0; padding: 0px 0;
position: relative; position: relative;
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
@ -146,10 +164,10 @@ a:visited {
.fancy:before { .fancy:before {
content: ''; content: '';
background: #00fcff; background: var(--highlight-primary);
display: block; display: block;
position: absolute; position: absolute;
bottom: -3px; bottom: 0px;
left: 0; left: 0;
width: 0; width: 0;
height: 3px; height: 3px;

View file

@ -18,33 +18,51 @@
<br> <br>
<hl></hl> <hl></hl>
<br> <br>
<div> <fieldset>
<legend>Contacts & Links</legend>
<table>
<tbody>
<tr>
<td>Email</td>
<td>me (at) cbax dot dev</td>
</tr>
<tr>
<td>GitHub</td>
<td><a href="//github.com/mrcbax" class="fancy">mrcbax</a></td>
</tr>
<tr>
<td>Blog</td>
<td><a href="//computeco.de" class="fancy">ComputeCode</a></td>
</tr>
</tbody>
</table>
</fieldset>
<fieldset>
<legend>About</legend>
<ul> <ul>
<li>42U homelab owner <a class="fancy" href="/homelab">See Details</a></li> <li>42U homelab owner <a class="fancy" href="/homelab">See Details</a></li>
<li>Amateur radio operator</li> <li>Amateur radio operator</li>
<li>AS202239 - 44net member</li> <li>AS202239 - 44net member</li>
<li>Retro-tech enthusiast</li> <li>Retro-tech enthusiast</li>
</ul> </ul>
</div> </fieldset>
</div> </div>
<span class="links">
<a href="//computeco.de"><img class="icon" src="/res/img/blog.svg"/></a><div class="vl"></div><a href="//github.com/mrcbax"><img class="icon" src="/res/img/github.svg"/></a>
</span>
</div> </div>
<footer> <footer>
<a href="//cbax.dev"><img src="/res/img/cbax.gif"/></a> <a href="//cbax.dev"><img src="/res/img/cbax.gif"/></a>
<a href="//ssi.fyi"><img src="/res/img/ssi.gif"/></a> <a href="//ssi.fyi"><img src="/res/img/ssi.gif"/></a>
<a href="//matdoes.dev"><img src="/res/img/mat.png"/></a> <a href="//adryd.com"><img src="/res/img/adryd.png"/></a>
<a href="//adryd.com"><img src="/res/img/adryd.png"/></a> <a href="//matdoes.dev"><img src="/res/img/mat.png"/></a>
<a href="//kibty.town"><img src="/res/img/eva.gif"/></a> <a href="//shrecked.dev"><img src="/res/img/shwecky.png"/></a>
<a href="//shrecked.dev"><img src="/res/img/shwecky.png"/></a> <a href="//honbra.com"><img src="/res/img/honbra.png"/></a>
<a href="//honbra.com"><img src="/res/img/honbra.png"/></a> <a href="//notnite.com"><img src="/res/img/notnite.gif"/></a>
<a href="//notnite.com"><img src="/res/img/notnite.gif"/></a> <a href="//damcraft.de"><img src="/res/img/dam.gif"/></a>
<a href="//archlinux.org"><img src="/res/img/archbtw.png"/></a> <a href="//kibty.town"><img src="/res/img/eva.gif"/></a>
<a href="//neovim.io"><img src="/res/img/neovim.gif"/></a> <a href="//alpinelinux.org"><img src="/res/img/powered_by_alpine.gif"/></a>
<a href="//ublockorigin.com"><img src="/res/img/ublockorigin.png"/></a> <a href="//neovim.io"><img src="/res/img/neovim.gif"/></a>
<a href="//www.mozilla.org/en-US/firefox/new"><img src="/res/img/abc.gif"/></a> <a href="//ublockorigin.com"><img src="/res/img/ublockorigin.png"/></a>
<a href="//ko-fi.com/mrcbax"><img src="/res/img/kofi.gif"/></a> <a href="//www.mozilla.org/en-US/firefox/new"><img src="/res/img/abc.gif"/></a>
<a href="//ko-fi.com/mrcbax"><img src="/res/img/kofi.gif"/></a>
</footer> </footer>
</div> </div>
</body> </body>