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

138 lines
1.6 KiB
Text
Raw Normal View History

2018-08-21 08:56:02 -04:00
.template-title {
margin-bottom: 40px;
}
.field-title {
font-weight: bold;
}
.cta-links {
margin-top: 30px;
.cta-link {
display: inline;
}
.cta-link.btn {
margin: 0 10px;
}
}
2018-08-21 08:56:02 -04:00
.tag-link {
margin-right: 5px;
}
.template-thumbnail {
.thumbnail {
2018-08-21 08:56:02 -04:00
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
2018-08-17 06:25:34 -04:00
-webkit-box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);
height: 465px;
margin: 5% 0;
2014-08-20 09:58:01 -04:00
img {
width: 100%;
2018-08-17 06:25:34 -04:00
height: 100%;
2014-08-20 09:58:01 -04:00
}
}
a {
padding:0px;
h3 {
color:@link-color;
margin: 10px 0px 10px 20px;
}
2018-08-17 06:25:34 -04:00
display: flex;
justify-content: center;
align-items: center;
}
.caption {
2018-08-17 06:25:34 -04:00
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;
}
}
}
.template-section-header:extend(.page-header) {
margin-top: 0px;
}
2018-08-21 08:56:02 -04:00
.section-preview {
margin-top: 40px;
2018-08-21 08:56:02 -04:00
.abstract {
padding: 0 10% 10% 0;
@media (max-width: @screen-md-min) {
padding: 5%;
}
}
}
.section-tags {
margin: 40px 0;
}
.section-find-more {
padding-left: 5%;
}
.download-buttons, .social_buttons {
padding-top: 20px;
}
.sample-template {
-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.3);
box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.template-details-section {
padding-bottom: 20px;
.btn {
margin-left: 6px;
}
}
.searchResult {
2014-07-23 06:36:36 -04:00
h1 {
color:@link-color;
}
img {
2018-08-21 08:56:02 -04:00
max-width: 100%;
height: auto;
}
}
.template-large-pdf-preview {
2018-08-21 08:56:02 -04:00
border: solid 1px @gray-lightest;
margin-bottom: 30px;
img {
max-width: 100%;
}
}