mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #936 from sharelatex/cmg-gallery-styling
Extra v2 gallery styling
This commit is contained in:
commit
91ee445277
1 changed files with 13 additions and 5 deletions
|
@ -24,7 +24,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag-link {
|
.tag-link {
|
||||||
margin-right: @margin-xs;
|
margin: 0 @margin-xs @margin-sm 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.templates-container {
|
.templates-container {
|
||||||
|
@ -33,9 +33,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.template-thumbnail {
|
.template-thumbnail {
|
||||||
|
&.template-thumbnail__container {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0 0 1em;
|
margin: 0 0 1em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.thumbnail {
|
.thumbnail {
|
||||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||||
margin: 5% 0;
|
margin: 5% 0;
|
||||||
|
@ -68,6 +71,12 @@
|
||||||
.text-overflow();
|
.text-overflow();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.caption__title {
|
||||||
|
display: inline-block;
|
||||||
|
max-width: 100%;
|
||||||
|
.text-overflow();
|
||||||
|
}
|
||||||
|
|
||||||
/* Media Queries */
|
/* Media Queries */
|
||||||
@media (max-width: @screen-md-min) {
|
@media (max-width: @screen-md-min) {
|
||||||
.thumbnail {
|
.thumbnail {
|
||||||
|
@ -78,7 +87,6 @@
|
||||||
padding: 5px 50px;
|
padding: 5px 50px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-preview {
|
.section-preview {
|
||||||
|
|
Loading…
Reference in a new issue