overleaf/services/web/frontend/stylesheets/app/templates.less
Alasdair Smith 26190da566 Merge pull request #2349 from overleaf/as-webpack-css
Compile CSS using webpack

GitOrigin-RevId: 489834038667dde572ea5d9b4b9392b362259a09
2019-11-28 10:39:09 +00:00

69 lines
No EOL
987 B
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%;
}
}