commit jun 6
This commit is contained in:
198
style/news/_categories-news.scss
Normal file
198
style/news/_categories-news.scss
Normal file
@@ -0,0 +1,198 @@
|
||||
|
||||
.categories-news{
|
||||
border-top: 1px solid #e0e0e8;
|
||||
margin: auto 15px;
|
||||
|
||||
.categories-title{
|
||||
font-size: 18px;
|
||||
line-height: 1.2;
|
||||
font-family: Merriweather, serif;
|
||||
color: #15c1c6;
|
||||
font-weight: 700;
|
||||
margin-bottom: 18px;
|
||||
|
||||
}
|
||||
.categories-ul{
|
||||
font-family: Merriweather, serif;
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
font-size: 16px;
|
||||
line-height: 1.4375;
|
||||
letter-spacing: 0px;
|
||||
text-align: left;
|
||||
}
|
||||
.categories-li{
|
||||
margin-top: 12.8px;
|
||||
a{
|
||||
text-decoration: none;
|
||||
color: #15c1c6;
|
||||
}
|
||||
a:hover{
|
||||
color: #333333;
|
||||
transition: 0.3s;
|
||||
}
|
||||
}
|
||||
|
||||
// Recent com
|
||||
|
||||
.recent-com-ul{
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
.recent-com-li{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-top: 35.2px;
|
||||
.admin-on{
|
||||
color: #777777;
|
||||
font-family: Merriweather, serif;
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
text-transform: lowercase;
|
||||
font-size: 16px;
|
||||
line-height: 1.4375;
|
||||
letter-spacing: 0px;
|
||||
}
|
||||
a{
|
||||
text-decoration: none;
|
||||
color: #333333;
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.333;
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-family: Merriweather, serif;
|
||||
}
|
||||
a:hover{
|
||||
color: #15c1c6;
|
||||
transition: 0.3s;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Tags
|
||||
.tag-container{
|
||||
display: block;
|
||||
a{
|
||||
margin:0 18px 12px 0;
|
||||
text-decoration: none;
|
||||
font-size: 16px;
|
||||
line-height: 1.4375;
|
||||
font-family: Merriweather, serif;
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0px;
|
||||
text-align: left;
|
||||
color: #777777;
|
||||
}
|
||||
a:hover{
|
||||
color: #15c1c6;
|
||||
transition: 0.3s;
|
||||
}
|
||||
}
|
||||
|
||||
//Archives
|
||||
|
||||
.archives-container{
|
||||
|
||||
|
||||
|
||||
#archives-select{
|
||||
background-color: #f6f6f6;
|
||||
font-family: Merriweather, serif;
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
border: 0px;
|
||||
color: #777777;
|
||||
width: 100%;
|
||||
padding: 17px 56px 16px 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
#archives-select:hover{
|
||||
background-color: rgb(237, 237, 237);
|
||||
transition: 0.3s;
|
||||
}
|
||||
}
|
||||
|
||||
// Calendar
|
||||
|
||||
.calendar{
|
||||
text-align: center;
|
||||
border-left: 1px solid #e0e0e8;
|
||||
border-right: 1px solid #e0e0e8;
|
||||
border-bottom: 1px solid #e0e0e8;
|
||||
padding-left: 19px;
|
||||
padding-right: 19px;
|
||||
|
||||
.caption{
|
||||
text-align: center;
|
||||
color: #ffffff;
|
||||
background-color: #15c1c6;
|
||||
margin-bottom: .9em;
|
||||
margin-left: -20px;
|
||||
margin-right: -20px;
|
||||
padding: .7em .5em;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .05em;
|
||||
font-size: 1rem;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-family: Merriweather, serif;
|
||||
}
|
||||
|
||||
thead{
|
||||
text-align: center;
|
||||
th{
|
||||
color: #233457;
|
||||
font-size: .75rem;
|
||||
width: 14.22%;
|
||||
padding: 7px 2px;
|
||||
text-align: center;
|
||||
font-weight: 500;
|
||||
font-family: Merriweather, serif;
|
||||
}
|
||||
}
|
||||
tfoot{
|
||||
border-top: 1px solid #e0e0e8;
|
||||
#month-name-table{
|
||||
font-size: .8125rem;
|
||||
text-transform: uppercase;
|
||||
font-family: Merriweather, serif;
|
||||
cursor: pointer;
|
||||
font-weight: 700;
|
||||
color: #777777;
|
||||
padding: 10px 0 15px 0;
|
||||
|
||||
}
|
||||
#month-name-table:hover {
|
||||
transition: 0.3s;
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
tr{
|
||||
padding-left: 19px;
|
||||
padding-right: 19px;
|
||||
}
|
||||
.last-row{
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
td{
|
||||
font-size: .80rem;
|
||||
padding: 7px 2px;
|
||||
width: 14.22%;
|
||||
font-family: MerriweatherSans, sans-serif;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width:768px) {
|
||||
.categories-news{
|
||||
margin-right: 60px;
|
||||
margin-left: 60px;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,7 @@
|
||||
.recent-posts{
|
||||
border-top: 1px solid #e0e0e8;
|
||||
margin-right: 15px;
|
||||
margin-left: 15px;
|
||||
.date-a{
|
||||
text-decoration: none;
|
||||
color: #15c1c6;
|
||||
@@ -31,27 +33,38 @@
|
||||
letter-spacing: 0px;
|
||||
|
||||
}
|
||||
blockquote{
|
||||
blockquote::before{
|
||||
content: '\201c';
|
||||
font-family: serif;
|
||||
font-size: 4em;
|
||||
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: 22px;
|
||||
font-size: 25px;
|
||||
line-height: 1.33333;
|
||||
font-family: MerriweatherSans, sans-serif;
|
||||
letter-spacing: 0;
|
||||
color: #333333;
|
||||
text-align: center;
|
||||
padding: 0 60px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width:768px) {
|
||||
.recent-posts{
|
||||
margin-right: 60px;
|
||||
margin-left: 60px;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,15 +1,16 @@
|
||||
.news-first-part {
|
||||
.news-card {
|
||||
border: 1px solid #ebebeb;
|
||||
margin-top: 16px;
|
||||
margin: 16px 15px 0 15px;
|
||||
position: relative;
|
||||
|
||||
.news-card-description{
|
||||
.news-card-description {
|
||||
padding: 15px;
|
||||
|
||||
.post-tags{
|
||||
.post-tags {
|
||||
margin: 8px 0 12px 0;
|
||||
.post-tags-a{
|
||||
|
||||
.post-tags-a {
|
||||
text-decoration: none;
|
||||
color: #15c1c6;
|
||||
margin-right: 12px;
|
||||
@@ -20,13 +21,13 @@
|
||||
line-height: 1.4375;
|
||||
}
|
||||
|
||||
.post-tags-a:hover{
|
||||
color:#31353d;
|
||||
.post-tags-a:hover {
|
||||
color: #31353d;
|
||||
transition: 0.3s;
|
||||
}
|
||||
}
|
||||
|
||||
.news-card-text{
|
||||
.news-card-text {
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-size: 24px;
|
||||
@@ -35,15 +36,27 @@
|
||||
letter-spacing: 0px;
|
||||
text-align: inherit;
|
||||
color: #31353d;
|
||||
cursor:pointer;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.news-card-text:hover{
|
||||
.news-card-p {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 1.4375;
|
||||
font-family: MerriweatherSans, sans-serif;
|
||||
letter-spacing: 0px;
|
||||
text-align: left;
|
||||
color: #777777;
|
||||
}
|
||||
|
||||
.news-card-text:hover {
|
||||
color: #15c1c6;
|
||||
transition: 0.3s;
|
||||
}
|
||||
.news-card-date{
|
||||
.date-a{
|
||||
|
||||
.news-card-date {
|
||||
.date-a {
|
||||
text-decoration: none;
|
||||
color: #15c1c6;
|
||||
margin-right: 15px;
|
||||
@@ -51,35 +64,53 @@
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
}
|
||||
.date-a:hover{
|
||||
|
||||
.date-a:hover {
|
||||
color: #31353d;
|
||||
transition:0.3s;
|
||||
transition: 0.3s;
|
||||
}
|
||||
.by-admin{
|
||||
|
||||
.by-admin {
|
||||
text-decoration: none;
|
||||
color: #777777;
|
||||
font-family: Merriweather, serif;
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
}
|
||||
.by-admin:hover{
|
||||
color:#15c1c6;
|
||||
|
||||
.by-admin:hover {
|
||||
color: #15c1c6;
|
||||
transition: 0.3s;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.news-img-container {
|
||||
.link-on-image{
|
||||
#star{
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
left: 15px;
|
||||
top: 15px;
|
||||
background-color: #15c1c6;
|
||||
color: white;
|
||||
border-radius: 50%;
|
||||
font-size: 17px;
|
||||
height: 58px;
|
||||
width: 58px;
|
||||
}
|
||||
.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{
|
||||
background-color: rgba(51, 51, 51, 0.78);
|
||||
|
||||
.link-a {
|
||||
text-decoration: none;
|
||||
color: #ffffff;
|
||||
font-family: Merriweather, serif;
|
||||
@@ -87,16 +118,18 @@
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
.link-on-image:hover{
|
||||
background-color: rgba(21,193,198,0.78);
|
||||
|
||||
.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{
|
||||
.img-text-container {
|
||||
padding: 15px 0 0 15px;
|
||||
word-wrap: break-word;
|
||||
word-break: break-word;
|
||||
@@ -116,18 +149,96 @@
|
||||
padding: 4px 12px;
|
||||
margin-bottom: 6px;
|
||||
display: inline-block;
|
||||
|
||||
|
||||
}
|
||||
.news-img-text:hover{
|
||||
|
||||
.news-img-text:hover {
|
||||
background-color: #31353d;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width:768px) {
|
||||
.news-first-part {
|
||||
margin: 0 60px !important;
|
||||
|
||||
.news-card {
|
||||
.news-img-container {
|
||||
|
||||
.link-on-image {
|
||||
position: absolute;
|
||||
bottom: 63%;
|
||||
left: 25%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.img-text-container {
|
||||
position: absolute;
|
||||
top: 30px;
|
||||
right: 30px;
|
||||
overflow: hidden;
|
||||
width: auto;
|
||||
max-width: 80%;
|
||||
text-align: right;
|
||||
z-index: 1;
|
||||
left: auto;
|
||||
|
||||
}
|
||||
|
||||
.news-img {
|
||||
width: 688px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width:992px) {
|
||||
.news-first-part {
|
||||
margin-top: 34px !important;
|
||||
|
||||
.news-card {
|
||||
margin-bottom: 25px !important;
|
||||
.news-card-description{
|
||||
padding: 45px 50px 0 59px;
|
||||
|
||||
.news-card-text{
|
||||
font-size: 29px;
|
||||
}
|
||||
|
||||
.news-card-date {
|
||||
margin-top: 50px !important;
|
||||
}
|
||||
.post-tags{
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.news-img-container {
|
||||
#star{
|
||||
left: 30px;
|
||||
top: 30px;
|
||||
}
|
||||
.img-text-container {
|
||||
position: absolute;
|
||||
top: 30px;
|
||||
right: 55%;
|
||||
}
|
||||
|
||||
.news-img {
|
||||
min-width: 629px;
|
||||
height: 497px;
|
||||
}
|
||||
|
||||
.link-on-image {
|
||||
position: absolute;
|
||||
bottom: 47%;
|
||||
left: 12%;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -43,4 +43,17 @@
|
||||
padding: 16px 22px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width:768px) {
|
||||
.page-navigation{
|
||||
margin-left: 60px !important;
|
||||
margin-right: 60px !important;
|
||||
padding: 52px 0 45px 0;
|
||||
.next-icon{
|
||||
margin-left: 100px !important;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
.search-news{
|
||||
padding-top: 48px;
|
||||
margin-top: 24px;
|
||||
margin: 24px 15px 0 15px;
|
||||
border-top: 1px solid #e0e0e8;
|
||||
.search-news-form{
|
||||
.search-news-input{
|
||||
@@ -27,7 +28,27 @@
|
||||
border-radius: 29px;
|
||||
font-size: large;
|
||||
height: 57px;
|
||||
cursor:pointer;
|
||||
|
||||
}
|
||||
|
||||
.search-news-icon:hover{
|
||||
background-color: #333333;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width:768px) {
|
||||
.search-news{
|
||||
margin-top: 48px;
|
||||
margin-left: 60px ;
|
||||
margin-right: 60px;
|
||||
.search-news-input{
|
||||
width: 90% !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user