Skip to content
Snippets Groups Projects
Unverified Commit fbc578e1 authored by weaver299's avatar weaver299 Committed by GitHub
Browse files

Merge pull request #144 from ASCWebServices/canini

asc_bootstrap - updating news story title margins, adding list of sel…
parents 65cebbc1 fcfb97c1
No related branches found
No related tags found
No related merge requests found
......@@ -89,6 +89,10 @@ article.news-story {
-moz-osx-font-smoothing: grayscale;
}
.news-title-wrapper {
padding: 0;
}
.news-title {
text-transform: capitalize;
}
......
......@@ -10826,39 +10826,44 @@ article.news-story {
}
/* line 92, ../assets/sass/components/_news.scss */
.news-title-wrapper {
padding: 0;
}
/* line 96, ../assets/sass/components/_news.scss */
.news-title {
text-transform: capitalize;
}
/* line 96, ../assets/sass/components/_news.scss */
/* line 100, ../assets/sass/components/_news.scss */
.news-img {
margin-bottom: 40px;
}
@media (max-width: 768px) {
/* line 96, ../assets/sass/components/_news.scss */
/* line 100, ../assets/sass/components/_news.scss */
.news-img {
margin: 0;
padding: 0;
}
}
/* line 110, ../assets/sass/components/_news.scss */
/* line 114, ../assets/sass/components/_news.scss */
.page-node-type-news-story .page-header {
display: none;
}
/* line 121, ../assets/sass/components/_news.scss */
/* line 125, ../assets/sass/components/_news.scss */
.view-taxonomy-term .news-title {
display: none;
}
/* line 126, ../assets/sass/components/_news.scss */
/* line 130, ../assets/sass/components/_news.scss */
.taxonomy-news-heading {
float: left;
width: 100%;
padding-top: 15px;
}
/* line 131, ../assets/sass/components/_news.scss */
/* line 135, ../assets/sass/components/_news.scss */
.taxonomy-news-heading h2 {
line-height: 0;
font-size: 18px;
......
......@@ -76,33 +76,37 @@
]
%}
<article{{ attributes.addClass(classes) }}>
<span class="news-date">
{% set createdDate = node.getCreatedTime|date('F j, Y') %}
{{ createdDate }}
</span>
<div class="col-sm-12 news-title-wrapper">
<div class="col-xs-12 col-sm-8 news-title-wrapper">
<span class="news-date">
{% set createdDate = node.getCreatedTime|date('F j, Y') %}
{{ createdDate }}
</span>
<h1 class="news-title">
{{ label }}
</h1>
<h1 class="news-title">
{{ label }}
</h1>
{{ title_prefix }}
{% if not page %}
<h2{{ title_attributes }}>
<a href="{{ url }}" rel="bookmark">{{ label }}</a>
</h2>
{% endif %}
{{ title_suffix }}
{#
{% if display_submitted %}
<footer>
{{ author_picture }}
<div{{ author_attributes.addClass('author') }}>
{% trans %}Submitted by {{ author_name }} on {{ date }}{% endtrans %}
{{ metadata }}
</div>
</footer>
{% endif %}
#}
{{ title_prefix }}
{% if not page %}
<h2{{ title_attributes }}>
<a href="{{ url }}" rel="bookmark">{{ label }}</a>
</h2>
{% endif %}
{{ title_suffix }}
{#
{% if display_submitted %}
<footer>
{{ author_picture }}
<div{{ author_attributes.addClass('author') }}>
{% trans %}Submitted by {{ author_name }} on {{ date }}{% endtrans %}
{{ metadata }}
</div>
</footer>
{% endif %}
#}
</div>
</div>
<div class="col-sm-4 col-sm-push-8 news-img">
{{ content.field_news_image2 }}
......
......@@ -139,6 +139,17 @@
{% endif %}
{% endfor %}
{% endif %}
{% if content.field_other.0 != '' %}
{% for item in content.field_other %}
{% if item['#title'] %}
<div class="research-interests-ppl">
<a href="/people?field_other_target_id[{{ item['#url']|render|split('/')|last }}]={{ item['#url']|render|split('/')|last }}">
{{ item['#title'] }}
</a>
</div>
{% endif %}
{% endfor %}
{% endif %}
</div>
</article>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment