blog_theme/assets/css/misc/kg.css

128 lines
2.0 KiB
CSS
Raw Normal View History

2019-05-14 18:48:55 +03:00
.kg-width-wide,
.kg-width-full {
2020-09-28 06:05:46 +03:00
margin-left: -30px;
margin-right: -30px;
max-width: calc(100% + 60px);
width: auto;
2019-05-14 18:48:55 +03:00
}
2020-09-24 05:18:34 +03:00
.kg-width-wide img,
.kg-width-full img {
2020-09-28 06:05:46 +03:00
width: 100%;
}
2020-09-24 05:18:34 +03:00
2020-03-23 11:04:05 +02:00
.kg-image-card .kg-image {
2020-09-28 06:05:46 +03:00
cursor: pointer;
2020-03-23 11:04:05 +02:00
}
2020-09-24 05:18:34 +03:00
2019-05-14 18:48:55 +03:00
.kg-gallery-container {
2020-09-28 06:05:46 +03:00
display: flex;
flex-direction: column;
2019-05-14 18:48:55 +03:00
}
2020-09-24 05:18:34 +03:00
2019-05-14 18:48:55 +03:00
.kg-gallery-row {
2020-09-28 06:05:46 +03:00
display: flex;
flex-direction: row;
justify-content: center;
2019-05-14 18:48:55 +03:00
}
2020-09-24 05:18:34 +03:00
2020-03-22 10:50:59 +02:00
.kg-gallery-image {
2020-09-28 06:05:46 +03:00
cursor: pointer;
2019-05-14 18:48:55 +03:00
}
2020-09-24 05:18:34 +03:00
.kg-gallery-image img {
2020-09-28 06:05:46 +03:00
height: 100%;
width: 100%;
}
2020-09-24 05:18:34 +03:00
2019-05-14 18:48:55 +03:00
.kg-gallery-row:not(:first-of-type) {
2020-09-28 06:05:46 +03:00
margin: 10px 0 0 0;
2019-05-14 18:48:55 +03:00
}
2020-09-24 05:18:34 +03:00
2019-05-14 18:48:55 +03:00
.kg-gallery-image:not(:first-of-type) {
2020-09-28 06:05:46 +03:00
margin: 0 0 0 10px;
}
2020-09-24 05:18:34 +03:00
.kg-bookmark-card {
2020-09-28 06:05:46 +03:00
border: 1px solid var(--mid-gray-color);
border-radius: 4px;
}
2020-09-24 05:18:34 +03:00
.kg-bookmark-container {
2020-09-28 06:05:46 +03:00
display: flex;
overflow: hidden;
}
2020-09-24 05:18:34 +03:00
.kg-bookmark-container::after {
2020-09-28 06:05:46 +03:00
display: none;
}
2020-09-24 05:18:34 +03:00
.kg-bookmark-content {
2020-09-28 06:05:46 +03:00
overflow: hidden;
padding: 25px;
}
2020-09-24 05:18:34 +03:00
.kg-bookmark-title {
2020-09-28 06:05:46 +03:00
color: var(--dark-gray-color);
font-size: 18px;
font-weight: 700;
line-height: 1.3;
}
2020-09-24 05:18:34 +03:00
.kg-bookmark-description {
2020-09-28 06:05:46 +03:00
color: var(--secondary-text-color);
margin-top: 5px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
2020-09-24 05:18:34 +03:00
.kg-bookmark-metadata {
2020-09-28 06:05:46 +03:00
align-items: center;
display: flex;
font-size: 14px;
margin-top: 5px;
}
2020-09-24 05:18:34 +03:00
.kg-bookmark-icon {
2020-09-28 06:05:46 +03:00
height: 20px;
margin-right: 5px;
width: 20px;
}
2020-09-24 05:18:34 +03:00
.kg-bookmark-author,
.kg-bookmark-publisher {
2020-09-28 06:05:46 +03:00
color: var(--dark-gray-color);
}
2020-09-24 05:18:34 +03:00
.kg-bookmark-publisher::before {
2020-09-28 06:05:46 +03:00
content: "•";
padding: 0 5px;
}
2020-09-24 05:18:34 +03:00
.kg-bookmark-thumbnail {
2020-09-28 06:05:46 +03:00
flex-shrink: 0;
margin-left: 20px;
position: relative;
width: 300px;
}
2020-09-24 05:18:34 +03:00
.kg-bookmark-thumbnail img {
2020-09-28 06:05:46 +03:00
height: 100%;
object-fit: cover;
position: absolute;
width: 100%;
}
2020-09-24 05:18:34 +03:00
@media (max-width: 767px) {
2020-09-28 06:05:46 +03:00
.kg-bookmark-container {
flex-direction: column;
}
.kg-bookmark-thumbnail {
height: 200px;
margin-left: 0;
width: 100%;
}
}