Nuxt Content 3 migration #12

Merged
eggy merged 81 commits from js into master 2022-08-10 18:38:39 -04:00
Showing only changes of commit bbc137fbe8 - Show all commits

View File

@ -30,7 +30,7 @@ const imgUrl = `url(/assets/images/projects/${project.img ?? ""})`;
v-for="(lang, index) in project.langs"
:key="index"
/>
<span class="text-xs text-gray-500"
<span class="text-xs text-gray-500 whitespace-nowrap"
>· {{ project.license ?? "no license" }}</span
>
</div>
@ -74,6 +74,7 @@ html.dark .card {
.card-text {
width: 25%;
border-radius: 1.5rem 0 0 0;
transition: width 0.2s ease;
}
.card-img {
@ -81,8 +82,10 @@ html.dark .card {
background: v-bind(imgUrl);
background-color: rgb(255, 237, 241);
background-position: right 90% top 15%;
background-size: 100%;
background-size: cover;
background-repeat: no-repeat;
border-radius: 0 0 1.5rem 100%;
transition: width 0.2s ease;
}
.desc-text {
@ -94,4 +97,24 @@ html.dark .card {
a.unclickable {
pointer-events: none;
}
@media screen and (max-width: 720px) {
.card-text {
width: 30%;
}
.card-img {
width: 70%;
}
}
@media screen and (max-width: 540px) {
.card-text {
width: 37.5%;
}
.card-img {
width: 62.5%;
}
}
</style>