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:
parent
aa2f6ad0dd
commit
59ae0efad7
1 changed files with 34 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue