LoveIt/assets/css/_page/_terms.scss

82 lines
1.4 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;
margin-top: 3em;
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: row;
flex-wrap: wrap;
padding: 0 2.5em;
line-height: 1.6em;
2019-08-11 19:36:19 +02:00
2019-08-18 19:36:52 +02:00
.card-item {
font-size: 14px;
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;
margin-top: 2em;
min-height: 16em;
padding: 0 2%;
position: relative;
2019-08-11 19:36:19 +02:00
2019-08-18 19:36:52 +02:00
.categories {
overflow: hidden;
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;
text-decoration: none;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 95%;
&:hover {
color: $global-link-hover-color;
background-color: transparent;
}
.dark-theme & {
color: $global-link-color-dark;
2019-08-11 19:36:19 +02:00
text-decoration: none;
2019-08-18 19:36:52 +02:00
transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
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
text-decoration: none;
transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
}
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
2019-08-18 19:36:52 +02:00
.dark-theme & {
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
}
.categories {
h3 {
display: inline-block;
}
span {
float: right;
padding-right: 1em;
}
2019-08-18 19:36:52 +02:00
}