LoveIt/assets/css/_partial/_archive/_terms.scss

79 lines
1.3 KiB
SCSS
Raw Normal View History

2019-08-18 19:36:52 +02:00
.archive-item {
margin-left: 2rem;
}
2019-08-11 19:36:19 +02:00
2019-08-18 19:36:52 +02:00
.categories-card {
margin: 0 auto;
2019-08-24 13:32:41 +02:00
margin-top: 3rem;
2019-08-18 19:36:52 +02:00
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: row;
flex-wrap: wrap;
2019-08-24 13:32:41 +02:00
padding: 0 2.5rem;
line-height: 1.6rem;
2019-08-11 19:36:19 +02:00
2019-08-18 19:36:52 +02:00
.card-item {
2019-08-24 13:32:41 +02:00
font-size: .875rem;
2019-08-18 19:36:52 +02:00
text-align: left;
width: 45%;
2019-08-11 19:36:19 +02:00
display: flex;
2019-08-18 19:36:52 +02:00
align-items: flex-start;
2019-08-24 13:32:41 +02:00
margin-top: 2rem;
min-height: 10rem;
2019-08-18 19:36:52 +02:00
padding: 0 2%;
position: relative;
2019-08-11 19:36:19 +02:00
.card-item-wrapper {
2019-08-19 17:24:29 +02:00
width: 100%;
2019-08-18 19:36:52 +02:00
overflow: hidden;
.card-item-title {
font-size: 1.2rem;
font-weight: bold;
display: inline-block;
}
span {
float: right;
padding-right: 1rem;
}
2019-08-11 19:36:19 +02:00
}
}
2019-08-18 19:36:52 +02:00
}
2019-08-11 19:36:19 +02:00
2019-08-18 19:36:52 +02:00
.archive-item-link {
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 95%;
&:hover {
color: $global-link-hover-color;
background-color: transparent;
}
.dark & {
2019-08-18 19:36:52 +02:00
color: $global-link-color-dark;
2019-08-11 19:36:19 +02:00
&:hover {
2019-08-18 19:36:52 +02:00
color: $global-link-hover-color-dark;
2019-08-11 19:36:19 +02:00
}
}
2019-08-18 19:36:52 +02:00
}
2019-08-11 19:36:19 +02:00
2019-08-18 19:36:52 +02:00
.archive-item-date {
float: right;
text-align: right;
color: $global-font-secondary-color;
2019-08-11 19:36:19 +02:00
.dark & {
2019-08-18 19:36:52 +02:00
color: $global-font-secondary-color-dark;
2019-08-11 19:36:19 +02:00
}
2019-08-18 19:36:52 +02:00
}
2019-08-11 19:36:19 +02:00
2019-08-18 19:36:52 +02:00
.more-post {
text-align: right;
2019-08-11 19:36:19 +02:00
}