overleaf/services/web/frontend/stylesheets/app/templates.less
nate stemen 2d9b089e16 Merge pull request #2401 from overleaf/cmg-ns-pretty-less
Fix inconsistent use of tabs and spaces in less files

GitOrigin-RevId: c69667f0dc6bc70ea3623890e2b2b741e358d454
2019-12-06 04:19:26 +00:00

69 lines
1 KiB
Text

.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);
-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
img {
width: 100%;
}
}
a {
padding: 0px;
h3 {
color: @link-color;
margin: 10px 0px 10px 20px;
}
}
.caption {
background: lighten(@gray-lightest, 3%);
border-top: 1px solid #ddd;
}
}
.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 {
h1 {
color: @link-color;
}
img {
max-width: 100%;
height: auto;
}
}
.template-large-pdf-preview {
img {
max-width: 100%;
}
}