Skip to content

Commit

Permalink
Drupal 8 Theming - Part 09 - Introduction to Views
Browse files Browse the repository at this point in the history
  • Loading branch information
ivandoric committed Nov 24, 2015
1 parent 65c678f commit acb9734
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
2 changes: 1 addition & 1 deletion css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/style.css.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion page--front.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
<a id="main-content" tabindex="-1"></a>{# link is in html.html.twig #}

<div class="layout-content">
{{ page.content }}
<div class="article-list">
{{ page.content }}
</div>
</div>{# /.layout-content #}

{% if page.sidebar %}
Expand Down
22 changes: 22 additions & 0 deletions sass/_homepage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,26 @@ main{

.layout-sidebar-second{
@include span(2 last);
}

.article-list{
h3{
a{
color:#464646;
text-decoration: none;
}
}

p{
line-height:1.5;
}

.views-row{
margin:40px 0;
}

.views-field-view-node a{
color:red;
text-decoration: none;
}
}

0 comments on commit acb9734

Please sign in to comment.