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

102 lines
1.3 KiB
Text
Raw Normal View History

.template-page-header {
padding-top: unit(@line-height-base,rem);
h1, h2 {
margin-top: 6px;
margin-right: @line-height-base * 5;
line-height: 1;
}
}
.template-thumbnail {
.thumbnail {
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;
}
.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 {
max-width: 100%;
height: auto;
}
}
.template-large-pdf-preview {
img {
max-width: 100%;
}
}