2018-08-24 10:23:12 -04:00
|
|
|
.template-title {
|
2019-12-05 14:09:31 -05:00
|
|
|
margin-bottom: @margin-xl;
|
2018-08-24 10:23:12 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.field-title {
|
2019-12-05 14:09:31 -05:00
|
|
|
font-weight: bold;
|
2018-08-24 10:23:12 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.filters {
|
2019-12-05 14:09:31 -05:00
|
|
|
float: right;
|
|
|
|
margin-bottom: @margin-lg;
|
2018-08-24 10:23:12 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
@media (max-width: @screen-md-min) {
|
|
|
|
float: none;
|
|
|
|
}
|
2018-08-24 10:23:12 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.cta-links {
|
2019-12-05 14:09:31 -05:00
|
|
|
.cta-link.btn {
|
|
|
|
margin: 0 @margin-sm @margin-sm 0;
|
|
|
|
}
|
2018-10-03 08:59:55 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.popular-tags {
|
2019-12-05 14:09:31 -05:00
|
|
|
.template-thumbnail {
|
|
|
|
margin: 0 0 1em 0 !important;
|
|
|
|
}
|
2018-08-24 10:23:12 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tag-link {
|
2019-12-05 14:09:31 -05:00
|
|
|
margin: 0 @margin-xs @margin-sm 0;
|
|
|
|
max-width: 100%;
|
|
|
|
white-space: inherit;
|
2018-12-05 12:41:47 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.template-abstract {
|
2019-12-05 14:09:31 -05:00
|
|
|
word-break: break-word;
|
|
|
|
hyphens: auto;
|
|
|
|
a {
|
|
|
|
hyphens: none;
|
|
|
|
}
|
2018-08-24 10:23:12 -04:00
|
|
|
}
|
|
|
|
|
2018-09-18 17:07:47 -04:00
|
|
|
.template-thumbnail {
|
2019-12-05 14:09:31 -05:00
|
|
|
display: inline-block;
|
|
|
|
margin: 0 0 2em;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.thumbnail {
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
|
|
margin: 0 0 @margin-sm 0;
|
|
|
|
padding: 0px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
h3 {
|
2020-04-22 05:36:24 -04:00
|
|
|
color: @link-color-alt;
|
2019-12-05 14:09:31 -05:00
|
|
|
margin: 10px 0px 10px 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.thumbnail-tag {
|
|
|
|
height: 100px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.caption {
|
|
|
|
// Override ShareLatex template styles
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.caption__description {
|
|
|
|
font-style: italic;
|
|
|
|
padding: 0 0 5px 0;
|
|
|
|
.text-overflow();
|
|
|
|
}
|
|
|
|
|
|
|
|
.caption__title {
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
.text-overflow();
|
|
|
|
}
|
2018-10-03 08:59:55 -04:00
|
|
|
}
|
2018-09-19 13:10:36 -04:00
|
|
|
|
2018-10-03 08:59:55 -04:00
|
|
|
.template-large-pdf-preview {
|
2019-12-05 14:09:31 -05:00
|
|
|
border: solid 1px @gray-lightest;
|
|
|
|
margin-top: @margin-lg;
|
2018-10-03 08:59:55 -04:00
|
|
|
}
|
2018-08-24 10:23:12 -04:00
|
|
|
|
2018-12-05 12:41:47 -05:00
|
|
|
/* Media Queries */
|
2019-04-08 11:56:09 -04:00
|
|
|
@media (max-width: @screen-xs-max) {
|
2019-12-05 14:09:31 -05:00
|
|
|
.templates-container {
|
|
|
|
column-count: 2;
|
|
|
|
column-gap: 2em;
|
|
|
|
}
|
2019-04-08 11:56:09 -04:00
|
|
|
}
|
2018-10-03 08:59:55 -04:00
|
|
|
@media (min-width: @screen-sm-min) {
|
2019-12-05 14:09:31 -05:00
|
|
|
.templates-container {
|
|
|
|
&.use-column {
|
|
|
|
column-count: 3;
|
|
|
|
column-gap: 3em;
|
|
|
|
}
|
|
|
|
&.use-percent {
|
|
|
|
margin: 0 -1.5em;
|
|
|
|
.template-thumbnail {
|
|
|
|
width: 33.3333333%;
|
|
|
|
padding: 0 1.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-08-24 10:23:12 -04:00
|
|
|
}
|
2018-10-03 08:59:55 -04:00
|
|
|
@media (min-width: @screen-md-min) {
|
2019-12-05 14:09:31 -05:00
|
|
|
.template-large-pdf-preview {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2018-10-03 08:59:55 -04:00
|
|
|
}
|
2018-08-31 12:05:48 -04:00
|
|
|
|
2018-10-03 08:59:55 -04:00
|
|
|
.section-tags {
|
2019-12-05 14:09:31 -05:00
|
|
|
margin-bottom: @margin-xl;
|
|
|
|
margin-top: @margin-md;
|
2018-10-11 07:09:42 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.search__container--addsearch {
|
2019-12-05 14:09:31 -05:00
|
|
|
.search__input-bar {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search__input {
|
|
|
|
flex: 1;
|
|
|
|
margin-right: 10px;
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// AddSearch overrides
|
|
|
|
#addsearch-results {
|
|
|
|
min-height: 0 !important;
|
|
|
|
|
|
|
|
.addsearch-result-item-container {
|
|
|
|
background-size: auto 80px !important; // Resize image to be smaller
|
|
|
|
padding: 10px;
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-right: 10px;
|
|
|
|
border-bottom: 2px solid rgb(236, 236, 236);
|
|
|
|
}
|
|
|
|
|
|
|
|
.addsearch-result-item-sub {
|
|
|
|
min-height: 0 !important;
|
|
|
|
background: none !important;
|
|
|
|
border-bottom: none !important;
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-family: @font-family-sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Unfortunately AddSearch doesn't add very useful classes, so have to use
|
|
|
|
// some horrible nesting :/
|
|
|
|
& > div {
|
|
|
|
min-height: 0 !important;
|
|
|
|
padding-left: 90px !important;
|
|
|
|
|
|
|
|
// Hide some unnecessary metadata
|
|
|
|
span {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2020-04-22 05:36:24 -04:00
|
|
|
color: @link-color-alt !important;
|
2019-12-05 14:09:31 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover a {
|
2020-04-22 05:36:24 -04:00
|
|
|
color: @link-hover-color-alt !important;
|
2019-12-05 14:09:31 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#addsearch-results-bottom {
|
|
|
|
height: auto !important;
|
|
|
|
background: none !important;
|
|
|
|
padding-top: 0 !important;
|
|
|
|
|
|
|
|
#addsearch-rp-paging {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
a {
|
2020-04-22 05:36:24 -04:00
|
|
|
color: @link-color-alt !important;
|
2019-12-05 14:09:31 -05:00
|
|
|
|
|
|
|
&.currentResultPage {
|
|
|
|
color: @ol-blue-gray-5 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#addsearch-logo {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2018-10-11 07:09:42 -04:00
|
|
|
}
|