Compare commits

..

No commits in common. "a963a54808eab8e1db88ab381bfd4e175ef0dfe9" and "e79123c0ca75452e6f667658047238ccf4be1e29" have entirely different histories.

14 changed files with 63 additions and 126 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,14 +0,0 @@
<nav class="navbar-wrapper">
<div class="navbar-content">
<ul>
<li id="home"><a href="/">home</a></li>
<li id="about"><a href="/about">about</a></li>
<li id="blog"><a href="/blog">blog</a></li>
<li id="reviews"><a href="/reviews">reviews</a></li>
<li id="links"><a href="/links">links</a></li>
<li id="contact"><a href="/contact">contact</a></li>
<li id="nav-hover" aria-hidden="true"></li>
</ul>
</div>
</nav>

View file

@ -0,0 +1,10 @@
<nav class="navbar-wrapper">
<ul>
<li><a href="/">home</a></li>
<li><a href="/about">about</a></li>
<li><a href="/blog">blog</a></li>
<li><a href="/reviews">reviews</a></li>
<li><a href="/links">links</a></li>
<li><a href="/contact">contact</a></li>
</ul>
</nav>

View file

@ -1,6 +1,5 @@
---
lastfm: false
navbar: "default_navbar.njk"
---
<!DOCTYPE html>
<html>
@ -13,14 +12,8 @@ navbar: "default_navbar.njk"
<div class="header">
<h1>yukinets</h1>
<a href="/"><div class="header-banner" title="{{ meta.sitename }}"></div></a>
<!--<div class="motd">
<marquee behavior="scroll" direction="left">
<p>{{ meta.motd }}</p>
</marquee>
</div>-->
</div>
{% include navbar %}
{% include "topmost_navbar.njk" %}
</div>
<div class="base-content-wrapper">
@ -29,7 +22,7 @@ navbar: "default_navbar.njk"
<footer>
<marquee behavior="scroll" direction="left">
<a href="https://www.youtube.com/embed/w1dXpAJ1qfA" target="_blank"><img src="/img/Witch-on-broom.gif" alt=""></a>
<a href="https://www.youtube.com/embed/w1dXpAJ1qfA"><img src="/img/Witch-on-broom.gif" alt=""></a>
</marquee>
{% include "footer.njk" %}
</footer>
@ -38,4 +31,4 @@ navbar: "default_navbar.njk"
<script src="/js/lastfm.js"></script>
{% endif %}
</body>
</html>
</html>

View file

@ -4,12 +4,20 @@ title: home
lastfm: true
---
<div class="welcome-aside-left">
<div id="listening"></div>
<div class="now-playing-wrapper box">
<h2>last played</h2>
<div id="listening"></div>
<div class="noscript">
<noscript>
<h3 style="padding: 0px 0px 4px 0px;">javascript is disabled...</h2>
</noscript>
</div>
</div>
<div class="buttons-wrapper box">
<h2>please visit...</h3>
<div class="buttons">
{% for button in 88x31.buttons.people.slice(0, 5) %}
<a href="{{ button.link }}" target="_blank" title="{{ button.name }}">
<a href="{{ button.link }}" title="{{ button.name }}">
{% if button.image.startsWith("http") %}
<img src="{{ button.image }}" alt="{{ button.name }}">
{% else %}
@ -35,5 +43,4 @@ lastfm: true
{% endfor %}
</ul>
</div>
<!--<img src="/img/home_rightside.jpg" id="rightside">-->
</div>

View file

@ -22,12 +22,9 @@ body {
.header-wrapper {
display: flex;
align-items: flex-start;
gap: 0px;
height: fit-content;
flex-direction: row;
gap: 16px;
.header {
display: flex;
flex-direction: column;
display: block;
h1 {
display: none;
height: 0;
@ -42,61 +39,37 @@ body {
}
.header-banner:hover{ background-image: url("/img/home_banner_hover.jpg"); }
}
.navbar-wrapper {
display: flex;
align-items: flex-start;
margin: 8px 0px 2px 0px;
width: 100%;
margin-top: 8px;
.navbar-content {
ul {
display: flex;
flex-direction: column;
width: 100%;
ul {
flex-direction: row;
flex-wrap: wrap;
list-style: none;
padding: 0;
li {
display: flex;
flex-direction: row;
flex-wrap: wrap;
list-style: none;
padding: 0 4px;
li {
display: flex;
margin: 2px;
a {
padding: 0.2em 0.5em;
border: 1px solid mp.$border;
margin: 2px;
a {
padding: 0.2em 0.5em;
border: 1px solid mp.$border;
background: mp.$bg;
background: linear-gradient(0deg,rgba(0, 0, 0, 1) 10%, c.adjust($color: mp.$link, $saturation: 4%, $lightness: -20%) 100%);
color: mp.$text;
font-family: fonts.$ll;
font-weight: normal;
font-size: 1em;
text-decoration: none;
/*text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;*/
&:hover { background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, c.adjust($color: mp.$link, $saturation: 4%, $lightness: -10%) 100%); }
}
--hover-image: url('/img/nav/default_hover.jpg');
/* TODO: finish each navbar image
&#home:hover ~ #nav-hover { --hover-image: url('/img/nav/home_hover.jpg'); }
&#about:hover ~ #nav-hover { --hover-image: url('/img/nav/about_hover.jpg'); }
&#blog:hover ~ #nav-hover { --hover-image: url('/img/nav/blog_hover.jpg'); }
&#reviews:hover ~ #nav-hover { --hover-image: url('/img/nav/reviews_hover.jpg'); }
&#links:hover ~ #nav-hover { --hover-image: url('/img/nav/links_hover.jpg'); }
&#contact:hover ~ #nav-hover { --hover-image: url('/img/nav/contact_hover.jpg'); }
*/
}
#nav-hover {
width: 100%;
height: 104px;
max-height: 103px;
background: mp.$bg;
background-image: var(--hover-image, none);
/* temporary until i finish navbar images */
&:hover { --hover-image: url('/img/nav/temp_hover.jpg'); }
background: linear-gradient(0deg,rgba(0, 0, 0, 1) 10%, c.adjust($color: mp.$link, $saturation: 4%, $lightness: -20%) 100%);
color: mp.$text;
font-family: fonts.$ll;
font-weight: normal;
font-size: 1em;
text-decoration: none;
/*text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;*/
}
a:hover { background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, c.adjust($color: mp.$link, $saturation: 4%, $lightness: -10%) 100%); }
}
}
}
@ -126,37 +99,23 @@ body {
.now-playing-wrapper {
width: 190px;
h2 { margin-bottom: 0px; }
a { text-decoration: none; }
#trackInfo {
#listening {
display: flex;
align-items: flex-start;
max-height: 64px;
overflow: hidden;
justify-content: space-evenly;
img {
height: 100%;
margin: 0px 0px 0px 0px;
order: 1;
max-width: 36px;
padding: 4px;
}
#trackInfoText {
display: flex;
align-items: flex-start;
flex-direction: column;
h3 {
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-size: 0.8em;
padding: 0px 0px 0px 4px;
}
p {
font-size: 0.7em;
padding: 0px 0px 0px 4px;
}
h3 {
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-size: 0.8em;
padding: 0px 0px 0px 4px;
}
&:hover {
background: hsl(0, 65%, 5%);
max-height: fit-content;
height: 100%;
p {
font-size: 0.7em;
padding: 0px 0px 2px 4px;
}
}
}
@ -187,14 +146,10 @@ body {
.welcome-aside-right {
width: max-content;
display: flex;
flex-direction: column;
.recent-posts {
width: 190px;
ul {
list-style: none;
padding: 0 0 4px 0;
list-style: none;
text-align: center;
@ -205,12 +160,6 @@ body {
}
}
}
/* TODO: rightside img
#rightside {
padding: 0px;
margin: 0px;
}
*/
}
}
@ -219,4 +168,3 @@ footer p {
font-size: 0.7em;
text-align: right;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 846 B

View file

@ -23,17 +23,10 @@ const getTrack = async () => {
// ARTIST: json.track.artist['#text']
document.getElementById("listening").innerHTML = `
<div class="now-playing-wrapper box" title="listening to...">
<!--<h2>listening to:</h2>-->
<a href="https://fm.yuki.k4w411.net/" target="_blank">
<div id="trackInfo">
<img src="${json.track.image[1]['#text']}">
<div id="trackInfoText">
<h3 id="trackName">${json.track.name}</h3>
<p id="artistName">by ${json.track.artist['#text']}</p>
</div>
</div>
</a>
<img src="${json.track.image[1]['#text']}">
<div id="trackInfo">
<h3 id="trackName">${json.track.name}</h3>
<p id="artistName">${json.track.artist['#text']}</p>
</div>
`
};