.page-wrap {
padding-top: 190px;
position: relative;
width: 100vw;
max-width: 100vw;
}
.news-archive {
width: 95%;
margin: 0 auto;
max-width: 1600px;
}
.button-more { color: #F23038;
text-align: center;
align-items: center;
text-decoration: none;
}
.button-more:hover {
color: #cc2c34;
text-decoration: none;
}
.cnt {
width: 59%;
height: 100%;
float: right;
overflow: hidden;
padding-top: 0.7em;
}
.article {
display: flex;
justify-content: center;
align-items: center;
height: 400px;
background-color: #fff;
margin: 0 auto 20px auto;
padding: 25px;
border-radius: 8px;
box-shadow: 3px 3px 5px silver;
transition: .2s;
cursor: pointer;
width: 100%;
position: relative;
overflow: hidden;
}
.article figure {
float: left;
width: 39%;
height: 100%;
overflow: hidden;
display: flex;
align-items: center;
text-align: center;
}
.article img {
position: relative;
left: 50%;
transform: translate(-50%, 0);
height: 100%;
width: auto;
display: block;
}
.excerpt {
display: none;
}
.article:hover {
box-shadow: 10px 10px 10px silver;
}
.article h3 {
margin-bottom: 0;
font-size: 50px;
text-overflow: ellipsis;
overflow: hidden;
display: -webkit-box !important;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
white-space: normal;
}
.article:first-child .news-vorschaubild {
height: 100%;
width: auto;
display: block;
}
.article-time {
position: absolute;
bottom: 0;
font-style: italic;
}
.user-url {
color: #F23038;
}
.user-url:hover {
color: #cc2c34;
}
.user-url:visited {
color: #F23038;
}
.article-datum {
color: #F23038;
}
.paginate-nav {
display: grid;
grid-auto-flow: column;
justify-content: center;
gap: 30px;
}
.paginate-nav .page-numbers {
width: 90px;
height: 55px;
border-radius: 10px;
font-size: 20px;
font-weight: 600;
display: flex;
justify-content: center;
align-items: center;
background-color: #fff;
text-decoration: none;
color: #707070;
box-shadow: 3px 3px 5px silver;
transition: .2s;
}
.paginate-nav .page-numbers:hover {
box-shadow: 10px 10px 10px silver;
color: #F23038;
}
.paginate-nav .prev {
width: 110px;
}
.paginate-nav .next {
width: 110px;
}
.paginate-nav .current {
color: #F23038;
}
@media only screen and (max-device-width: 700px) {
.article {
height: 330px;
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
}
.article:first-child {
background-image: none !important;
}
.article h3 {
font-weight: 600;
}
.article figure {
width: 50%;
text-align: center;
overflow: hidden;
border-radius: 15px;
}
.article img {
position: relative;
left: 50%;
transform: translate(-50%, 0);
height: 100%;
width: auto;
display: block;
}
.article-time {
font-size: 25px;
}
.paginate-nav .page-numbers {
width: 130px;
height: 80px;
font-size: 40px;
}
.paginate-nav .prev {
width: 190px;
}
.paginate-nav .next {
width: 190px;
}
}
@media only screen and (min-device-width: 700px) {
.page-wrap {
padding-top: 100px;
position: relative;
width: 100vw;
max-width: 100vw;
}
.news-archive {
width: 80%;
margin: 0 auto;
max-width: 1600px;
}
.button-more { color: #F23038;
text-align: center;
align-items: center;
text-decoration: none;
}
.button-more:hover {
color: #cc2c34;
text-decoration: none;
}
.overlay p {
margin-bottom: 10px;
}
.article { height: 300px;
background-color: #fff;
margin: 0 auto 20px auto;
padding: 25px;
border-radius: 8px;
box-shadow: 3px 3px 5px silver;
transition: .2s;
cursor: pointer;
width: 100%;
}
.article figure {
float: left;
margin: 0 2% 0 0;
width: 39%;
}
.cnt {
width: 69%;
padding: 0;
}
.excerpt {
display: block;
}
.excerpt p {
margin-bottom: 0px;
}
.article:hover {
box-shadow: 10px 10px 10px silver;
} .article h3 {
margin-bottom: 0;
font-size: 40px;
padding-top: 0;
}
.article:first-child {
min-height: 770px;
padding: 0;
}
.article:first-child .cnt {
min-height: 770px;
}
.article:first-child .overlay {
z-index: 998;
background: rgba(255, 255, 255, .7);
position: absolute;
top: 60%;
left: 0;
padding: 18px;
color: black;
width: 85%;
}
.article:first-child p {
display: none;
}
.article:first-child .article-time {
display: none;
margin-bottom: 0;
}
.article:first-child h3 {
font-weight: bold;
margin-bottom: 0;
font-size: 40px;
}
.article:first-child .button-more {
display: none;
}
.user-url {
color: #F23038;
}
.user-url:hover {
color: #cc2c34;
}
.user-url:visited {
color: #F23038;
}
.paginate-nav {
margin: 0 auto;
}
.article:first-child .news-vorschaubild {
display: none;
}
.article:first-child figure {
display: none;
}
}