commit jun 6

This commit is contained in:
2024-06-06 16:49:25 +02:00
parent cadbb9b457
commit 11271513ea
29 changed files with 1317 additions and 13 deletions

133
style/news/_news-first.scss Normal file
View File

@@ -0,0 +1,133 @@
.news-first-part {
.news-card {
border: 1px solid #ebebeb;
margin-top: 16px;
position: relative;
.news-card-description{
padding: 15px;
.post-tags{
margin: 8px 0 12px 0;
.post-tags-a{
text-decoration: none;
color: #15c1c6;
margin-right: 12px;
font-family: Merriweather, serif;
font-style: italic;
font-weight: 400;
font-size: 16px;
line-height: 1.4375;
}
.post-tags-a:hover{
color:#31353d;
transition: 0.3s;
}
}
.news-card-text{
font-style: normal;
font-weight: 500;
font-size: 24px;
line-height: 1.38462;
font-family: Merriweather, serif;
letter-spacing: 0px;
text-align: inherit;
color: #31353d;
cursor:pointer;
}
.news-card-text:hover{
color: #15c1c6;
transition: 0.3s;
}
.news-card-date{
.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;
}
.by-admin{
text-decoration: none;
color: #777777;
font-family: Merriweather, serif;
font-style: italic;
font-weight: 400;
}
.by-admin:hover{
color:#15c1c6;
transition: 0.3s;
}
}
}
.news-img-container {
.link-on-image{
position: absolute;
bottom: 55%;
left: 10%;
text-align: center;
padding: 10px 20px 10px 15px;
color: #ffffff;
background-color: rgba(51,51,51,0.78);
.link-a{
text-decoration: none;
color: #ffffff;
font-family: Merriweather, serif;
font-style: italic;
font-weight: 400;
}
}
.link-on-image:hover{
background-color: rgba(21,193,198,0.78);
transition: 0.3s;
}
.news-img {
max-width: 100%;
height: auto;
}
.img-text-container{
padding: 15px 0 0 15px;
word-wrap: break-word;
word-break: break-word;
display: inline-block;
}
.news-img-text {
border-radius: 15px;
text-decoration: none;
color: #ffffff;
background-color: #15c1c6;
font-style: normal;
font-weight: 400;
font-size: 16px;
font-family: MerriweatherSans, sans-serif;
letter-spacing: 0px;
padding: 4px 12px;
margin-bottom: 6px;
display: inline-block;
}
.news-img-text:hover{
background-color: #31353d;
transition: 0.3s;
}
}
}
}