mirror of https://github.com/Kylart/KawAnime.git
Reworked news component
This commit is contained in:
parent
c62afe6643
commit
0775e9fa4b
|
@ -28,58 +28,43 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style lang="stylus" scoped>
|
||||||
|
@import '~stylus/functions'
|
||||||
|
|
||||||
.elem
|
.elem
|
||||||
{
|
position relative
|
||||||
position: relative;
|
margin-bottom 15px
|
||||||
margin-bottom: 15px;
|
padding 0
|
||||||
padding: 0;
|
background-color rgb(60, 60, 60)
|
||||||
background-color: rgb(60, 60, 60);
|
|
||||||
}
|
|
||||||
|
|
||||||
.elem:hover
|
.elem:hover
|
||||||
{
|
hover_background()
|
||||||
transition: all 0.25s;
|
|
||||||
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
|
|
||||||
0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
||||||
0 3px 14px 2px rgba(0, 0, 0, 0.12) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title
|
.title
|
||||||
{
|
line-height 24px
|
||||||
line-height: 24px;
|
margin-top 10px
|
||||||
margin-top: 10px;
|
padding-left 2%
|
||||||
padding-left: 2%;
|
padding-right 2%
|
||||||
padding-right: 2%;
|
overflow hidden
|
||||||
overflow: hidden;
|
white-space nowrap
|
||||||
white-space: nowrap;
|
text-overflow ellipsis
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image
|
.image
|
||||||
{
|
height 220px
|
||||||
height: 220px;
|
max-width 100%
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.synopsis
|
.synopsis
|
||||||
{
|
padding-top 2%
|
||||||
padding-top: 2%;
|
height 150px
|
||||||
height: 150px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.link
|
.link
|
||||||
{
|
height 50%
|
||||||
height: 50%;
|
width 100%
|
||||||
width: 100%;
|
text-align right
|
||||||
text-align: right;
|
display inline-block
|
||||||
display: inline-block;
|
padding 0 5% 0 10%
|
||||||
padding: 0 5% 0 10%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.button-container
|
.button-container
|
||||||
{
|
display inline-block
|
||||||
display: inline-block;
|
width 15%
|
||||||
width: 15%;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue