blog_theme/assets/css/misc/utilities.css

134 lines
2.2 KiB
CSS
Raw Permalink Normal View History

.u-shadow {
2020-10-19 04:07:40 +03:00
overflow: hidden;
2020-09-28 06:05:46 +03:00
border-radius: 5px;
box-shadow: var(--shadow-base);
transition: box-shadow 0.3s var(--animation-base);
}
2020-09-24 05:18:34 +03:00
.u-shadow:hover {
2020-09-28 06:05:46 +03:00
box-shadow: 0 0 20px rgba(0, 0, 0, 0.12);
}
2020-09-24 05:18:34 +03:00
.u-plain-list {
2020-09-28 06:05:46 +03:00
margin: 0;
padding: 0;
2020-10-19 04:07:40 +03:00
list-style-type: none;
}
2020-09-24 05:18:34 +03:00
.u-placeholder {
2020-09-28 06:05:46 +03:00
position: relative;
z-index: 10;
2020-10-19 04:07:40 +03:00
background-color: var(--light-gray-color);
}
2020-09-24 05:18:34 +03:00
.u-placeholder.same-height {
2020-09-28 06:05:46 +03:00
height: 0;
}
2020-09-24 05:18:34 +03:00
.u-placeholder.rectangle {
2020-09-28 06:05:46 +03:00
padding-bottom: 56.25%;
}
2020-09-24 05:18:34 +03:00
.u-object-fit {
2020-09-28 06:05:46 +03:00
position: absolute;
top: 0;
2020-10-19 04:07:40 +03:00
left: 0;
2020-09-28 06:05:46 +03:00
width: 100%;
2020-10-19 04:07:40 +03:00
height: 100%;
object-fit: cover;
}
2020-09-24 05:18:34 +03:00
.u-permalink {
2020-09-28 06:05:46 +03:00
position: absolute;
top: 0;
2020-10-19 04:07:40 +03:00
right: 0;
bottom: 0;
left: 0;
2020-09-28 06:05:46 +03:00
z-index: 10;
2020-10-19 04:07:40 +03:00
outline: none;
}
2020-09-24 05:18:34 +03:00
.u-hover-item {
2020-09-28 06:05:46 +03:00
transition: opacity 0.3s var(--animation-base);
}
2020-09-24 05:18:34 +03:00
.u-hover-wrapper:hover .u-hover-item {
2020-09-28 06:05:46 +03:00
opacity: 0.5;
}
2020-09-24 05:18:34 +03:00
.u-hover-wrapper:hover .u-hover-item:hover {
2020-09-28 06:05:46 +03:00
opacity: 1;
}
2020-09-24 05:18:34 +03:00
.u-text-format h1,
.u-text-format h2,
.u-text-format h3,
.u-text-format h4,
.u-text-format h5,
.u-text-format h6 {
2020-09-28 06:05:46 +03:00
margin-top: 40px;
2021-11-05 10:21:16 +02:00
}
.has-serif-title .u-text-format h1,
.has-serif-title .u-text-format h2,
.has-serif-title .u-text-format h3,
.has-serif-title .u-text-format h4,
.has-serif-title .u-text-format h5,
.has-serif-title .u-text-format h6 {
font-family: var(--font-serif);
}
2020-09-24 05:18:34 +03:00
.u-text-format h1 {
2020-09-28 06:05:46 +03:00
font-size: 26px;
}
2020-09-24 05:18:34 +03:00
.u-text-format h2 {
2020-09-28 06:05:46 +03:00
font-size: 23px;
}
2020-09-24 05:18:34 +03:00
.u-text-format h3 {
2020-09-28 06:05:46 +03:00
font-size: 20px;
}
2020-09-24 05:18:34 +03:00
.u-text-format h4 {
2020-09-28 06:05:46 +03:00
font-size: 17px;
font-weight: 700;
}
2020-09-24 05:18:34 +03:00
.u-text-format h5 {
2020-09-28 06:05:46 +03:00
font-size: 15px;
font-weight: 700;
}
2020-09-24 05:18:34 +03:00
.u-text-format h6 {
2020-09-28 06:05:46 +03:00
font-size: 13px;
font-weight: 700;
text-transform: uppercase;
}
2020-09-24 05:18:34 +03:00
.u-text-format strong {
2020-09-28 06:05:46 +03:00
color: var(--dark-gray-color);
}
2020-09-24 05:18:34 +03:00
.u-text-format a {
2020-09-28 06:05:46 +03:00
color: var(--primary-color);
}
2020-09-24 05:18:34 +03:00
.u-text-format > *:first-child,
.u-text-format > *:first-child > *:first-child {
2020-09-28 06:05:46 +03:00
margin-top: 0 !important;
}
2020-09-24 05:18:34 +03:00
.u-text-format > *:last-child,
.u-text-format > *:last-child > *:last-child {
2020-09-28 06:05:46 +03:00
margin-bottom: 0 !important;
}
2021-11-05 10:21:16 +02:00
.has-serif-body .u-text-format > blockquote,
.has-serif-body .u-text-format > ol,
.has-serif-body .u-text-format > ul,
.has-serif-body .u-text-format > dl,
.has-serif-body .u-text-format > p {
font-family: var(--font-serif);
}