50 lines
830 B
CSS
50 lines
830 B
CSS
.newsArtikel{
|
|
width: 100%;
|
|
background-color: #FFAE00;
|
|
box-shadow: 0 1px 2px 0 rgba(0,0,0,.5);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.newsHeader{
|
|
display: flex;
|
|
align-items: stretch;
|
|
justify-content: space-between;
|
|
background-color: #FF8100;
|
|
}
|
|
.newsDatum{
|
|
white-space: nowrap;
|
|
align-self: center;
|
|
}
|
|
.newsBetreff{
|
|
margin: auto;
|
|
margin-left: 1vw;
|
|
margin-right: 1vw;
|
|
text-align: end;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.newsPromoImage{
|
|
float: left;
|
|
}
|
|
|
|
.newsText{
|
|
margin: 1vw;
|
|
}
|
|
/*schlechter Hack, der entfernt werden sollte wenn die Kompatibilität mit Datenbank hergestellt ist*/
|
|
.newsText a {
|
|
float: none;
|
|
box-shadow: none;
|
|
}
|
|
.newsText img{
|
|
max-width: 100%;
|
|
display: block;
|
|
margin: auto;
|
|
box-shadow: 0 1px 2px 0 rgba(0,0,0,.5);
|
|
}
|
|
.newsFooter{
|
|
background-color: #FF8100;
|
|
}
|
|
.newsAutor::before{
|
|
content: "Msg\0000a0";
|
|
}
|