overleaf/services/web/public/stylesheets/app/templates-v2.less

113 lines
1.6 KiB
Text
Raw Normal View History

2018-08-24 10:23:12 -04:00
.template-title {
margin-bottom: @margin-xl;
}
.field-title {
font-weight: bold;
}
.filters {
float: right;
margin-bottom: @margin-lg;
@media (max-width: @screen-md-min) {
float: none;
}
}
.cta-links {
margin-top: @margin-lg;
.cta-link.btn {
margin: 0 @margin-sm;
}
}
.tag-link {
2018-09-18 05:13:55 -04:00
margin: 0 @margin-xs @margin-sm 0;
2018-08-24 10:23:12 -04:00
}
.templates-container {
column-count: 3;
column-gap: 1em;
}
2018-08-24 10:23:12 -04:00
.template-thumbnail {
&.template-thumbnail__container {
display: inline-block;
margin: 0 0 1em;
width: 100%;
}
2018-08-24 10:23:12 -04:00
.thumbnail {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin: 5% 0;
2018-09-13 06:28:48 -04:00
padding:0px;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
2018-09-13 06:28:48 -04:00
h3 {
color:@link-color;
margin: 10px 0px 10px 20px;
}
2018-08-24 10:23:12 -04:00
&.thumbnail-tag {
height: 100px;
}
}
.caption {
// Override ShareLatex template styles
background: none;
border: none;
2018-08-24 10:23:12 -04:00
text-align: center;
}
.caption__description {
font-style: italic;
padding: 5px 0;
.text-overflow();
2018-09-06 10:53:34 -04:00
}
2018-09-19 13:10:36 -04:00
.caption__title {
display: inline-block;
max-width: 100%;
.text-overflow();
}
2018-08-24 10:23:12 -04:00
/* Media Queries */
@media (max-width: @screen-md-min) {
.thumbnail {
margin: 5% auto;
}
.caption .description {
padding: 5px 50px;
}
}
}
.section-preview {
margin-top: @margin-xl;
.abstract {
padding-right:10%;
padding-bottom: 10%;
@media (max-width: @screen-md-min) {
padding: 5%;
}
}
}
.section-tags {
margin-bottom: @margin-xl;
margin-top: @margin-xl;
}
.template-large-pdf-preview {
border: solid 1px @gray-lightest;
margin-bottom: 30px;
}