57 lines
816 B
CSS
57 lines
816 B
CSS
@-ms-viewport{
|
|
width: device-width;
|
|
}
|
|
|
|
body{
|
|
text-align: center;
|
|
margin: 0;
|
|
padding: 0;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
#main_container{
|
|
width: 70%;
|
|
max-height: 1500px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.list_element{
|
|
width: 750px;
|
|
margin: auto;
|
|
margin-bottom: 50px;
|
|
padding: 20px;
|
|
border: white solid 1px;
|
|
}
|
|
|
|
.list_element:hover{
|
|
/* background-color: #EEE;*/
|
|
border: #005fb3 solid 1px;
|
|
}
|
|
|
|
|
|
.article {
|
|
position: relative;
|
|
}
|
|
|
|
.article:after {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
content: "";
|
|
background: linear-gradient(to top,
|
|
rgba(255,255,255, 1) 1%,
|
|
rgba(255,255,255, 0) 20%
|
|
);
|
|
pointer-events: none; /* so the text is still selectable */
|
|
}
|
|
|
|
|
|
.element_hover{
|
|
max-height: 400px;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
|