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

View File

@@ -0,0 +1,57 @@
.recent-posts{
border-top: 1px solid #e0e0e8;
.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;
padding-top: 20px;
line-height: 1.38462;
letter-spacing: 0px;
}
blockquote{
content: '\201c';
font-family: serif;
font-size: 4em;
line-height: 1;
margin-left: -12px;
font-style: italic;
font-weight: 700;
quotes: none;
}
.quotes-text{
font-style: italic;
font-weight: 700;
font-size: 22px;
line-height: 1.33333;
font-family: MerriweatherSans, sans-serif;
letter-spacing: 0;
color: #333333;
text-align: center;
padding: 0 60px;
}
}

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;
}
}
}
}

46
style/news/_page-nav.scss Normal file
View File

@@ -0,0 +1,46 @@
.page-navigation{
padding: 30px 0 23px;
margin: 57.6px 0;
border-top: 1px solid #e0e0e8;
border-bottom: 1px solid #e0e0e8;
text-align: center;
.page-nav-links{
.page-num-cur{
line-height: 3;
display: inline-block;
height: 58px;
margin: 0 16px 5px 0;
text-align: center;
text-decoration: none;
font-size: 1.25rem;
color: #15c1c6;
font-family: MerriweatherSans, sans-serif;
}
.page-num-next{
color: #333333;
display: inline-block;
line-height: 3;
height: 58px;
margin: 0 16px 5px 0;
text-decoration: none;
font-size: 20px;
font-size: 1.25rem;
font-family: MerriweatherSans, sans-serif;
}
.next-icon{
min-width: 58px;
height: 58px;
border: none;
border-radius: 50%;
background-color: #15c1c6;
margin-left: 30px;
color:white;
font-size: 20px;
padding: 16px 22px;
}
}
}

View File

@@ -0,0 +1,33 @@
.search-news{
padding-top: 48px;
margin-top: 24px;
border-top: 1px solid #e0e0e8;
.search-news-form{
.search-news-input{
margin-right: 16px;
padding: 18px 20px;
border: none;
background-color: #f6f6f6;
color: #777777 !important;
width: 75%;
height: 57px;
}
.search-news-input::placeholder{
color: #777777 !important;
opacity: 1;
}
.search-news-icon{
text-align: center;
background-color: #15c1c6 ;
color: #ffffff;
width: 78px;
padding-top: 18px;
padding-bottom: 18px;
border-radius: 29px;
font-size: large;
height: 57px;
}
}
}