Ghost_Ruby_Theme/assets/css/site/widget.css

89 lines
1.5 KiB
CSS
Raw Normal View History

.widget {
2020-09-28 06:05:46 +03:00
padding: 20px;
2020-10-19 04:07:40 +03:00
background-color: var(--white-color);
}
2020-09-24 05:18:34 +03:00
.widget + .widget {
2020-09-28 06:05:46 +03:00
margin-top: 30px;
}
2020-09-24 05:18:34 +03:00
.widget-no-title {
2020-09-28 06:05:46 +03:00
padding: 5px;
}
2020-09-24 05:18:34 +03:00
.widget-title {
2020-10-19 04:07:40 +03:00
margin: -20px -20px 20px;
padding: 15px 20px;
2020-09-28 06:05:46 +03:00
border-bottom: 1px solid var(--light-gray-color);
color: var(--secondary-text-color);
font-family: var(--font-base);
font-size: 11px;
letter-spacing: 0.5px;
text-transform: uppercase;
}
2020-09-24 05:18:34 +03:00
.widget-tags .tag + .tag {
2020-09-28 06:05:46 +03:00
margin-top: 5px;
}
2020-09-24 05:18:34 +03:00
.widget-tags .tag-link {
2020-09-28 06:05:46 +03:00
display: flex;
justify-content: space-between;
2020-10-19 04:07:40 +03:00
align-items: center;
}
2020-09-24 05:18:34 +03:00
.widget-tags .tag-name {
2020-09-28 06:05:46 +03:00
font-family: var(--font-alt);
font-size: 16px;
2021-11-05 10:21:16 +02:00
font-weight: 700;
}
.has-serif-title .widget-tags .tag-name {
font-family: var(--font-serif);
}
2020-09-24 05:18:34 +03:00
.widget-tags .tag-count {
2020-10-19 04:07:40 +03:00
display: flex;
justify-content: center;
2020-09-28 06:05:46 +03:00
align-items: center;
2020-10-19 04:07:40 +03:00
min-width: 24px;
height: 24px;
2020-09-28 06:05:46 +03:00
color: var(--white-color);
font-size: 12px;
font-weight: 700;
2020-10-19 04:07:40 +03:00
background-color: var(--primary-color);
border-radius: 50%;
}
2020-09-24 05:18:34 +03:00
.widget-recent .recent {
2020-09-28 06:05:46 +03:00
display: flex;
2020-10-19 04:07:40 +03:00
align-items: center;
}
2020-09-24 05:18:34 +03:00
.widget-recent .recent + .recent {
2020-09-28 06:05:46 +03:00
margin-top: 20px;
}
2020-09-24 05:18:34 +03:00
.widget-recent .post-header {
2020-09-28 06:05:46 +03:00
overflow: hidden;
2020-10-19 04:07:40 +03:00
margin-bottom: 0;
}
2020-09-24 05:18:34 +03:00
.widget-recent .post-title {
2020-10-19 04:07:40 +03:00
overflow: hidden;
2020-09-28 06:05:46 +03:00
font-size: 16px;
text-overflow: ellipsis;
white-space: nowrap;
}
2020-09-24 05:18:34 +03:00
.widget-recent .post-date {
2020-09-28 06:05:46 +03:00
margin-top: 3px;
}
2020-09-24 05:18:34 +03:00
@media (max-width: 767px) {
2020-09-28 06:05:46 +03:00
.widget-title {
margin-top: 0;
2020-10-19 04:07:40 +03:00
margin-bottom: 0;
2020-09-28 06:05:46 +03:00
}
}