diff --git a/index.html b/index.html index 95aaf2c..cc2df76 100644 --- a/index.html +++ b/index.html @@ -45,7 +45,6 @@

O mnie

hej, mam ??? lat. mieszkam w okolicach Myślenic.

-

do niedawna byłem dość aspołeczny, jednak wiele ludzi uważa, że zmieniam się na lepsze.

moje zainteresowania:

-

jestem fanem/entuzjastą:

+

jestem fanem/po prostu słucham:

diff --git a/script.js b/script.js index 280d3c2..eab9d47 100644 --- a/script.js +++ b/script.js @@ -22,7 +22,7 @@ async function updateOpacity(block, show) { await wait(0.3); block.style.opacity = '1'; } - + block.classList.toggle('visible'); } @@ -39,8 +39,13 @@ function resetPoints() { } function swapContent() { - contentContainer.style.flexDirection = - contentContainer.style.flexDirection === 'row-reverse' ? 'row' : 'row-reverse'; + if (window.innerWidth < 768) { + contentContainer.style.flexDirection = + contentContainer.style.flexDirection === 'column-reverse' ? 'column' : 'column-reverse'; + } else { + contentContainer.style.flexDirection = + contentContainer.style.flexDirection === 'row-reverse' ? 'row' : 'row-reverse'; + } } // listeners diff --git a/style.css b/style.css index 1a0de1d..861f1d3 100644 --- a/style.css +++ b/style.css @@ -317,4 +317,10 @@ body:not(.dark) #age { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; } + + #socials { + display: flex; + flex-direction: column; + justify-content: center; + } } \ No newline at end of file