-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathGuideItem.vue
More file actions
52 lines (45 loc) · 814 Bytes
/
GuideItem.vue
File metadata and controls
52 lines (45 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<script></script>
<template>
<div class="guide-item">
<div class="guide-item-logo">
<slot name="image" />
</div>
<div class="guide-item-content">
<slot name="content" />
</div>
</div>
</template>
<style lang="scss">
.guide-item {
display: flex;
padding: 2rem 1.5rem;
align-items: center;
border: 2px solid #ddd;
border-radius: 8px;
margin-bottom: 2rem;
}
.guide-item:first-child {
margin-bottom: 0;
}
.guide-item-logo img {
max-width: 150px;
max-height: 150px;
margin-right: 1rem;
}
.guide-item-content {
h3 {
display: block;
margin-bottom: 0;
font-size: 1.8rem;
font-weight: 600;
text-decoration: none;
}
.description {
margin-bottom: 0;
font-size: 1.1rem;
}
h3 + .subtitle {
margin-bottom: 1rem;
}
}
</style>