Skip to content

Commit 73fbc5a

Browse files
committed
docs: vm update
1 parent a259f88 commit 73fbc5a

File tree

2 files changed

+21
-20
lines changed

2 files changed

+21
-20
lines changed
Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,51 @@
1-
<script setup lang="ts">
2-
</script>
1+
<script setup lang="ts"></script>
32

43
<template>
54
<div class="container">
65
<div class="inside">
7-
<a href="https://www.vuemastery.com/pinia?coupon=PINIA-DOCS&via=eduardo" target="_blank">
6+
<a
7+
href="https://www.vuemastery.com/pinia?coupon=PINIA-DOCS&via=eduardo"
8+
target="_blank"
9+
>
810
<span class="logo-wrapper">
9-
<img alt="Vue Mastery Logo" width="25px" src="https://firebasestorage.googleapis.com/v0/b/vue-mastery.appspot.com/o/flamelink%2Fmedia%2Fvue-mastery-logo-small.png?alt=media&token=941fcc3a-2b6f-40e9-b4c8-56b3890da108">
11+
<img
12+
alt="Vue Mastery Logo"
13+
width="25px"
14+
src="https://firebasestorage.googleapis.com/v0/b/vue-mastery.appspot.com/o/flamelink%2Fmedia%2Fvue-mastery-logo-small.png?alt=media&token=941fcc3a-2b6f-40e9-b4c8-56b3890da108"
15+
/>
1016
</span>
1117
<span class="description">
12-
Get the <span class="highlight">Pinia Cheat Sheet</span> from Vue Mastery
18+
Get the <span class="highlight">Pinia Cheat Sheet</span> from Vue
19+
Mastery
1320
</span>
1421
</a>
1522
</div>
1623
</div>
1724
</template>
1825

19-
2026
<style scoped>
2127
.container {
2228
text-align: center;
2329
margin-top: 30px;
2430
}
2531
.inside {
26-
width:960px;
32+
width: 960px;
2733
border-bottom: 1px solid var(--c-divider);
28-
padding-bottom:50px;
34+
padding-bottom: 50px;
2935
margin: 0 auto;
3036
}
3137
a {
3238
background-color: var(--c-bg-accent);
3339
border-radius: 8px;
3440
padding: 8px 16px 8px 8px;
41+
text-decoration: none !important;
3542
}
3643
.description {
3744
line-height: 20px;
3845
color: var(--c-text);
39-
margin-left:10px;
46+
margin-left: 10px;
4047
transition: color 0.5s;
4148
}
42-
a:hover {
43-
text-decoration: none !important;
44-
}
4549
a:hover .highlight {
4650
text-decoration: underline;
4751
}
@@ -50,14 +54,14 @@ a:hover .highlight {
5054
}
5155
@media (max-width: 960px) {
5256
.inside {
53-
width:100%;
57+
width: 100%;
5458
}
5559
}
56-
@media (max-width: 420px) {
60+
@media (max-width: 420px) {
5761
a {
58-
display:block;
62+
display: block;
5963
margin-left: 10px;
6064
margin-right: 10px;
6165
}
6266
}
63-
</style>
67+
</style>

packages/docs/.vitepress/theme/components/VueMasteryLogoLink.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ a {
2626
align-items: center;
2727
margin-top: 10px;
2828
margin-bottom: 10px;
29+
text-decoration: none !important;
2930
}
3031
3132
.description {
@@ -38,10 +39,6 @@ a {
3839
transition: color 0.5s;
3940
}
4041
41-
a:hover {
42-
text-decoration: none !important;
43-
}
44-
4542
.description span {
4643
color: var(--vp-c-brand);
4744
}

0 commit comments

Comments
 (0)