Files
Globaly-CSS-Practice/style/news/_custom-post.scss
2024-06-24 07:52:54 +02:00

114 lines
2.2 KiB
SCSS
Executable File

.recent-posts {
border-top: 1px solid #e0e0e8;
margin-right: 15px;
margin-left: 15px;
.date-a {
text-decoration: none;
color: #15c1c6;
margin-right: 15px;
font-family: Merriweather, serif;
font-style: italic;
font-weight: 400;
}
.date-a:hover {
color: #31353d;
transition: 0.3s;
text-decoration: none;
}
.recent-title {
font-size: 18px;
line-height: 1.2;
font-family: Merriweather, serif;
color: #15c1c6;
font-weight: 700;
margin-bottom: 18px;
}
.recent-subtitle {
font-size: 1rem;
font-style: normal;
font-weight: 500;
font-family: Merriweather, serif;
line-height: 1.38462;
letter-spacing: 0px;
cursor: pointer;
}
.recent-subtitle:hover {
color: #15c1c6;
transition: 0.3s;
}
blockquote::before {
content: '\201c';
font-family: 'Times New Roman', serif;
font-size: 6em;
line-height: 1;
margin-left: -12px;
font-style: italic;
font-weight: 700;
quotes: none;
color: #15c1c6;
}
blockquote {
padding: 0 39px 0 44px;
}
.quotes-text {
font-style: italic;
font-weight: 700;
font-size: 25px;
line-height: 1.33333;
font-family: MerriweatherSans, sans-serif;
letter-spacing: 0;
color: #333333;
text-align: center;
}
.custom-post-text{
margin-top: 20px;
}
}
@media only screen and (min-width:768px) {
.recent-posts {
margin-right: 60px;
margin-left: 60px;
}
}
@media only screen and (min-width:992px) {
.recent-posts {
.custom-post{
margin-bottom: 45px;
.custom-post-text{
.recent-subtitle{
padding-top: 0px !important;
}
}
}
.recent-title {
font-size: 25px;
}
.quotes-text {
text-align: start;
padding-top: 29px;
}
blockquote {
padding: 0 70px 0 0;
}
blockquote::before {
font-size: 4rem;
}
}
}