forked from DebaucheryLibrarian/traxxx
Added Kelly Madison profile scraper.
This commit is contained in:
@@ -22,6 +22,23 @@
|
||||
v-else
|
||||
class="avatar"
|
||||
>No photo</span>
|
||||
|
||||
<span
|
||||
v-if="actor.age || actor.origin"
|
||||
class="details"
|
||||
>
|
||||
<span class="age">{{ actor.age }}</span>
|
||||
<span
|
||||
v-if="actor.origin"
|
||||
class="country"
|
||||
>
|
||||
{{ actor.origin.country.alpha2 }}
|
||||
<img
|
||||
class="flag"
|
||||
:src="`/img/flags/${actor.origin.country.alpha2.toLowerCase()}.png`"
|
||||
>
|
||||
</span>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</template>
|
||||
@@ -45,6 +62,7 @@ export default {
|
||||
background: $background;
|
||||
display: inline-block;
|
||||
margin: 0 .5rem .5rem 0;
|
||||
position: relative;
|
||||
box-shadow: 0 0 3px $shadow-weak;
|
||||
}
|
||||
|
||||
@@ -78,4 +96,18 @@ export default {
|
||||
object-fit: cover;
|
||||
object-position: 50% 0;
|
||||
}
|
||||
|
||||
.details {
|
||||
background: $shadow;
|
||||
color: $text-contrast;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
box-sizing: border-box;
|
||||
padding: .5rem;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
font-size: .8rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -33,7 +33,6 @@ export default {
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
padding: .5rem 1rem;
|
||||
border-radius: .25rem;
|
||||
box-shadow: 0 0 3px rgba(0, 0, 0, .25);
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
@@ -53,7 +52,7 @@ export default {
|
||||
object-fit: contain;
|
||||
font-size: 1rem;
|
||||
font-weight: bold;
|
||||
filter: drop-shadow(0 0 1px $shadow);
|
||||
filter: $logo-outline;
|
||||
}
|
||||
|
||||
.title {
|
||||
|
||||
@@ -53,7 +53,7 @@ export default {
|
||||
object-fit: contain;
|
||||
font-size: 1rem;
|
||||
font-weight: bold;
|
||||
filter: drop-shadow(0 0 1px $shadow);
|
||||
filter: $logo-outline;
|
||||
}
|
||||
|
||||
.title {
|
||||
|
||||
Reference in New Issue
Block a user