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

83 lines
1.4 KiB
SCSS
Raw Normal View History

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
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;
margin-top: 1rem;
margin-bottom: .75rem;
}
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
.archive-item {
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
margin: .25rem 0 .25rem 1.5rem;
}
2019-08-18 19:36:52 +02:00
.archive-item-link {
min-width: 10%;
2019-08-18 19:36:52 +02:00
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
2019-08-18 19:36:52 +02:00
&:hover {
color: $global-link-hover-color;
background-color: transparent;
}
2020-04-27 19:38:22 +02:00
[theme=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 {
width: 4em;
2019-08-18 19:36:52 +02:00
text-align: right;
color: $global-font-secondary-color;
2019-08-11 19:36:19 +02:00
2020-04-27 19:38:22 +02:00
[theme=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
}