diff --git a/content/.vuepress/components/GitRepos/GithubRepository.vue b/content/.vuepress/components/GitRepos/GithubRepository.vue index fd951ef..b0f57de 100644 --- a/content/.vuepress/components/GitRepos/GithubRepository.vue +++ b/content/.vuepress/components/GitRepos/GithubRepository.vue @@ -1,13 +1,17 @@ @@ -24,8 +28,20 @@ const props = defineProps({ @import '../../styles/classes.less'; .githubRepo { - max-width: 35rem; + width: 35rem; padding: 3rem; - background-color: @nord3; + background-color: @nord4; + + html.dark & { + background-color: @nord3; + } + + .info { + max-width: 30rem; + } + + .stats { + width: 4rem; + } } diff --git a/content/.vuepress/components/GitRepos/ListRepositories.vue b/content/.vuepress/components/GitRepos/ListRepositories.vue index 37d5bf7..61c3a04 100644 --- a/content/.vuepress/components/GitRepos/ListRepositories.vue +++ b/content/.vuepress/components/GitRepos/ListRepositories.vue @@ -1,6 +1,13 @@ @@ -47,4 +54,10 @@ const filterRepos = (response: GithubRepo[]) => { }; - + diff --git a/content/.vuepress/styles/classes.less b/content/.vuepress/styles/classes.less index c17405f..57afdd1 100644 --- a/content/.vuepress/styles/classes.less +++ b/content/.vuepress/styles/classes.less @@ -18,15 +18,26 @@ each(range(5), { flex-direction: row; } -@flex-justifications: flex-start, flex-end, center, space-between, space-around, - space-evenly; -each(@flex-justifications, { +@flex-justifications-prefixed: flex-start, flex-end; +each(@flex-justifications-prefixed, { .@{value} { .flex(); justify-content: @value; } }); +@flex-justifications: center, space-between, space-around, space-evenly; +each(@flex-justifications, { + .flex-@{value} { + .flex(); + justify-content: @value; + } +}); + .rounded-corners { - border-radius: 1rem; + border-radius: 0.3rem; +} + +.center { + margin: 0 auto; }