mirror of
https://github.com/TryGhost/Ruby.git
synced 2024-10-30 04:48:33 +02:00
106 lines
1.8 KiB
CSS
106 lines
1.8 KiB
CSS
.kg-width-wide,
|
|
.kg-width-full {
|
|
margin-left: -30px;
|
|
margin-right: -30px;
|
|
max-width: calc(100% + 60px);
|
|
width: auto;
|
|
}
|
|
.kg-width-wide img,
|
|
.kg-width-full img {
|
|
width: 100%;
|
|
}
|
|
.kg-image-card .kg-image {
|
|
cursor: pointer;
|
|
}
|
|
.kg-gallery-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.kg-gallery-row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
}
|
|
.kg-gallery-image {
|
|
cursor: pointer;
|
|
}
|
|
.kg-gallery-image img {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
.kg-gallery-row:not(:first-of-type) {
|
|
margin: 10px 0 0 0;
|
|
}
|
|
.kg-gallery-image:not(:first-of-type) {
|
|
margin: 0 0 0 10px;
|
|
}
|
|
.kg-bookmark-card {
|
|
border: 1px solid var(--mid-gray-color);
|
|
border-radius: 4px;
|
|
}
|
|
.kg-bookmark-container {
|
|
display: flex;
|
|
overflow: hidden;
|
|
}
|
|
.kg-bookmark-container:after {
|
|
display: none;
|
|
}
|
|
.kg-bookmark-content {
|
|
overflow: hidden;
|
|
padding: 25px;
|
|
}
|
|
.kg-bookmark-title {
|
|
color: var(--dark-gray-color);
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
line-height: 1.3;
|
|
}
|
|
.kg-bookmark-description {
|
|
color: var(--secondary-text-color);
|
|
margin-top: 5px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.kg-bookmark-metadata {
|
|
align-items: center;
|
|
display: flex;
|
|
font-size: 14px;
|
|
margin-top: 5px;
|
|
}
|
|
.kg-bookmark-icon {
|
|
height: 20px;
|
|
margin-right: 5px;
|
|
width: 20px;
|
|
}
|
|
.kg-bookmark-author,
|
|
.kg-bookmark-publisher {
|
|
color: var(--dark-gray-color);
|
|
}
|
|
.kg-bookmark-publisher:before {
|
|
content: "•";
|
|
padding: 0 5px;
|
|
}
|
|
.kg-bookmark-thumbnail {
|
|
flex-shrink: 0;
|
|
margin-left: 20px;
|
|
position: relative;
|
|
width: 300px;
|
|
}
|
|
.kg-bookmark-thumbnail img {
|
|
height: 100%;
|
|
object-fit: cover;
|
|
position: absolute;
|
|
width: 100%;
|
|
}
|
|
@media (max-width: 767px) {
|
|
.kg-bookmark-container {
|
|
flex-direction: column;
|
|
}
|
|
.kg-bookmark-thumbnail {
|
|
height: 200px;
|
|
margin-left: 0;
|
|
width: 100%;
|
|
}
|
|
}
|