Compare commits
3
Commits
d8fb84460f
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23e51e8093 | ||
|
|
964b15ad4f | ||
|
|
4141f1e069 |
No files matched your search
+24
-23
@@ -200,9 +200,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.card .details {
|
.card .details {
|
||||||
flex: 1;
|
padding: 0 50px 10px 50px;
|
||||||
overflow-y: auto;
|
|
||||||
padding: 0 50px 50px 50px;
|
|
||||||
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
@@ -213,6 +211,10 @@ body {
|
|||||||
height: var(--height-main-expanded);
|
height: var(--height-main-expanded);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#details:target + .card-container .back {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
#details:target + .card-container .details {
|
#details:target + .card-container .details {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
@@ -268,6 +270,18 @@ body {
|
|||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#details:target + .card-container .details-close {
|
||||||
|
position: sticky;
|
||||||
|
order: 1;
|
||||||
|
left: auto;
|
||||||
|
transform: none;
|
||||||
|
flex: none;
|
||||||
|
justify-content: center;
|
||||||
|
margin-top: auto;
|
||||||
|
padding: 18px 0 15px 0;
|
||||||
|
background: linear-gradient(to bottom, rgba(248, 248, 248, 0), rgb(248, 248, 248) 45%);
|
||||||
|
}
|
||||||
|
|
||||||
.card .back hr {
|
.card .back hr {
|
||||||
margin: 0 20px;
|
margin: 0 20px;
|
||||||
}
|
}
|
||||||
@@ -406,6 +420,13 @@ html:not(.js) .requires-js {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 760px) {
|
||||||
|
#details:target + .card-container .back-main > ul,
|
||||||
|
#details:target + .card-container .back-main > hr {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 600px) {
|
@media only screen and (max-width: 600px) {
|
||||||
:root {
|
:root {
|
||||||
--max-height: calc(100dvh - 110px);
|
--max-height: calc(100dvh - 110px);
|
||||||
@@ -447,12 +468,7 @@ html:not(.js) .requires-js {
|
|||||||
padding-bottom: 30px;
|
padding-bottom: 30px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
#details:target + .card-container .back {
|
|
||||||
overflow-y: auto;
|
|
||||||
}
|
|
||||||
#details:target + .card-container .details {
|
#details:target + .card-container .details {
|
||||||
flex: none;
|
|
||||||
overflow: visible;
|
|
||||||
padding: 20px 25px 5px 25px;
|
padding: 20px 25px 5px 25px;
|
||||||
}
|
}
|
||||||
#details:target + .card-container .back-main {
|
#details:target + .card-container .back-main {
|
||||||
@@ -462,10 +478,6 @@ html:not(.js) .requires-js {
|
|||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
padding: 15px 25px 0 25px;
|
padding: 15px 25px 0 25px;
|
||||||
}
|
}
|
||||||
#details:target + .card-container .back-main > ul,
|
|
||||||
#details:target + .card-container .back-main > hr {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
#details:target + .card-container .interests {
|
#details:target + .card-container .interests {
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
row-gap: 4px;
|
row-gap: 4px;
|
||||||
@@ -489,17 +501,6 @@ html:not(.js) .requires-js {
|
|||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
#details:target + .card-container .details-close {
|
|
||||||
position: sticky;
|
|
||||||
order: 1;
|
|
||||||
left: auto;
|
|
||||||
transform: none;
|
|
||||||
flex: none;
|
|
||||||
justify-content: center;
|
|
||||||
margin-top: auto;
|
|
||||||
padding: 18px 0 15px 0;
|
|
||||||
background: linear-gradient(to bottom, rgba(248, 248, 248, 0), rgb(248, 248, 248) 45%);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-reduced-motion: reduce) {
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
|||||||
@@ -22,4 +22,8 @@ var now = new Date();
|
|||||||
document.getElementById("age").textContent = now.getFullYear() - 2003 - (now.getMonth() < 8 ? 1 : 0);
|
document.getElementById("age").textContent = now.getFullYear() - 2003 - (now.getMonth() < 8 ? 1 : 0);
|
||||||
document.getElementById("linux-years").textContent = now.getFullYear() - 2017;
|
document.getElementById("linux-years").textContent = now.getFullYear() - 2017;
|
||||||
|
|
||||||
|
window.addEventListener("hashchange", () => {
|
||||||
|
if(location.hash !== "#details") document.querySelector(".card .back").scrollTop = 0;
|
||||||
|
});
|
||||||
|
|
||||||
requestAnimationFrame(() => requestAnimationFrame(() => document.documentElement.classList.remove("preload")));
|
requestAnimationFrame(() => requestAnimationFrame(() => document.documentElement.classList.remove("preload")));
|
||||||
Reference in new issue
Block a user