Ghost_Ruby_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-right: -30px;
2020-10-19 04:07:40 +03:00
margin-left: -30px;
2020-09-28 06:05:46 +03:00
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
width: 100%;
2020-10-19 04:07:40 +03:00
height: 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;
line-height: 1.3;
2020-10-19 04:07:40 +03:00
font-weight: 700;
}
2020-09-24 05:18:34 +03:00
.kg-bookmark-description {
2020-09-28 06:05:46 +03:00
overflow: hidden;
2020-10-19 04:07:40 +03:00
margin-top: 5px;
color: var(--secondary-text-color);
2020-09-28 06:05:46 +03:00
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
display: flex;
2020-10-19 04:07:40 +03:00
align-items: center;
2020-09-28 06:05:46 +03:00
margin-top: 5px;
2020-10-19 04:07:40 +03:00
font-size: 14px;
}
2020-09-24 05:18:34 +03:00
.kg-bookmark-icon {
2020-09-28 06:05:46 +03:00
margin-right: 5px;
width: 20px;
2020-10-19 04:07:40 +03:00
height: 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-10-19 04:07:40 +03:00
position: relative;
2020-09-28 06:05:46 +03:00
flex-shrink: 0;
margin-left: 20px;
width: 300px;
}
2020-09-24 05:18:34 +03:00
.kg-bookmark-thumbnail img {
2020-09-28 06:05:46 +03:00
position: absolute;
width: 100%;
2020-10-19 04:07:40 +03:00
height: 100%;
object-fit: cover;
}
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 {
margin-left: 0;
width: 100%;
2020-10-19 04:07:40 +03:00
height: 200px;
2020-09-28 06:05:46 +03:00
}
}