blog_theme/assets/css/blog/author.css

112 lines
2.0 KiB
CSS
Raw Normal View History

2019-04-30 18:00:55 +03:00
.author {
2020-09-28 06:05:46 +03:00
display: flex;
margin-top: 30px;
padding: 30px 20px;
2020-10-19 04:07:40 +03:00
background-color: var(--white-color);
2019-04-30 18:00:55 +03:00
}
2020-09-24 05:18:34 +03:00
2019-04-30 18:00:55 +03:00
.author-image-placeholder {
2020-09-28 06:05:46 +03:00
flex-shrink: 0;
overflow: hidden;
width: 70px;
2020-10-19 04:07:40 +03:00
height: 70px;
border-radius: 50%;
2019-04-30 18:00:55 +03:00
}
2020-09-24 05:18:34 +03:00
2019-04-30 18:00:55 +03:00
.author-wrapper {
2020-09-28 06:05:46 +03:00
margin-left: 25px;
max-width: 550px;
2019-04-30 18:00:55 +03:00
}
2020-09-24 05:18:34 +03:00
2019-04-30 18:00:55 +03:00
.author-header {
2020-09-28 06:05:46 +03:00
display: flex;
2020-10-19 04:07:40 +03:00
align-items: center;
2019-04-30 18:00:55 +03:00
}
2020-09-24 05:18:34 +03:00
2019-04-30 18:00:55 +03:00
.author-header-wrapper {
2020-09-28 06:05:46 +03:00
position: relative;
2019-04-30 18:00:55 +03:00
}
2020-09-24 05:18:34 +03:00
2019-04-30 18:00:55 +03:00
.author-name {
2020-10-19 04:07:40 +03:00
position: relative;
2020-09-28 06:05:46 +03:00
display: flex;
2020-10-19 04:07:40 +03:00
align-items: center;
margin-bottom: 0;
2020-09-28 06:05:46 +03:00
font-size: 18px;
font-weight: 800;
2020-10-19 04:07:40 +03:00
cursor: pointer;
2019-04-30 18:00:55 +03:00
}
2020-09-24 05:18:34 +03:00
.author-name::after {
2020-09-28 06:05:46 +03:00
content: "\e92e";
2020-10-19 04:07:40 +03:00
margin-left: 1px;
2020-09-28 06:05:46 +03:00
font-family: IVEEL, sans-serif;
font-size: 19px;
}
2020-09-24 05:18:34 +03:00
2019-04-30 18:00:55 +03:00
.author-social {
2020-10-19 04:07:40 +03:00
position: absolute;
top: 100%;
left: 100%;
2020-09-28 06:05:46 +03:00
display: flex;
flex-direction: column;
2020-10-19 04:07:40 +03:00
margin-top: 5px;
margin-left: -26px;
padding: 8px 0;
2020-09-28 06:05:46 +03:00
font-size: 12px;
line-height: 1;
2020-10-19 04:07:40 +03:00
background-color: var(--dark-gray-color);
border-radius: 3px;
2020-09-28 06:05:46 +03:00
opacity: 0;
transition: opacity 0.2s var(--animation-base), transform 0.2s var(--animation-base);
2020-10-19 04:07:40 +03:00
transform: translateY(5px);
pointer-events: none;
}
2020-09-24 05:18:34 +03:00
.author-social::before {
2020-09-28 06:05:46 +03:00
content: "\e900";
position: absolute;
top: -12px;
2020-10-19 04:07:40 +03:00
left: 7px;
color: var(--dark-gray-color);
font-family: IVEEL, sans-serif;
font-size: 19px;
}
2020-09-24 05:18:34 +03:00
.author-social.enabled {
2020-09-28 06:05:46 +03:00
opacity: 1;
transform: translateY(0);
2020-10-19 04:07:40 +03:00
pointer-events: auto;
2019-04-30 18:00:55 +03:00
}
2020-09-24 05:18:34 +03:00
2019-04-30 18:00:55 +03:00
.author-social-item {
2020-10-19 04:07:40 +03:00
padding: 5px 11px;
2020-09-28 06:05:46 +03:00
color: var(--white-color);
font-weight: 700;
white-space: nowrap;
2019-04-30 18:00:55 +03:00
}
2020-09-24 05:18:34 +03:00
.author-social-item:hover {
2020-09-28 06:05:46 +03:00
color: var(--primary-color);
}
2020-09-24 05:18:34 +03:00
2019-04-30 18:00:55 +03:00
.author-location-icon {
2020-09-28 06:05:46 +03:00
position: relative;
top: 1px;
2019-04-30 18:00:55 +03:00
}
2020-09-24 05:18:34 +03:00
2019-04-30 18:00:55 +03:00
.author-bio {
2020-09-28 06:05:46 +03:00
margin-top: 8px;
2020-10-19 04:07:40 +03:00
font-size: 15px;
2019-04-30 18:00:55 +03:00
}
2020-09-24 05:18:34 +03:00
2019-04-30 18:00:55 +03:00
.author-location {
2020-10-19 04:07:40 +03:00
margin-top: 12px;
margin-left: -2px;
2020-09-28 06:05:46 +03:00
color: var(--secondary-text-color);
font-size: 11px;
font-weight: 800;
letter-spacing: 0.5px;
text-transform: uppercase;
}