1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-03-13 15:02:39 +00:00

Templates index page

This commit is contained in:
Chrystal Maria Griffiths 2018-08-17 11:25:34 +01:00 committed by Chrystal Griffiths
parent aa2f6ad0dd
commit 59ae0efad7

View file

@ -12,8 +12,12 @@
.thumbnail {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
-webkit-box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);
height: 465px;
margin: 5% 0;
img {
width: 100%;
height: 100%;
}
}
@ -23,11 +27,38 @@
color:@link-color;
margin: 10px 0px 10px 20px;
}
display: flex;
justify-content: center;
align-items: center;
}
.caption {
background: lighten(@gray-lightest, 3%);
border-top: 1px solid #ddd;
text-align:center;
.description {
font-style: italic;
padding: 5px 0;
}
}
/* Media Queries */
@media (max-width: @screen-md-min) {
.thumbnail {
height: 400px;
width: 300px;
margin: 5% auto;
}
img {
width: 90%;
}
.caption .description {
padding: 5px 50px;
}
}
}