Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions src/main/resources/public/articles.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,14 @@ div.polaroid-container{


div.polaroid {
width: 30%;
width: 22vw;
background-color: white;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
margin:0.5%;
/*margin-bottom: 25px;*/
text-align: center;
/*display: flex;*/
flex-grow: 2;
flex: 1 0 20%;

}

div.polaroid-article-header {
Expand All @@ -117,6 +116,11 @@ div.polaroid-article-header {
margin-left:0.5em;
}

img{
width: 1000px;
height: 1000px;
}



@media screen and (max-width: 600px) {
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/templates/journalists/show.vtl
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
<div class ="article_section">

#foreach($article in $articles)
<img src="$article.getImagePath()" alt="article image">
<h3>$article.getTitle()</h3>
<img src="$article.getImagePath()" alt="article image">

#end
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/layout.vtl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<!--<a href="/categories">Categories</a>-->
<div class="search-container">

<!--Need to figure out where the search bar will take you too. -->

<form action="/search" method="post">
<input type="text" placeholder="Search articles.." name="search" id="search" required="true">
<button type="submit">Submit</button>
Expand Down
Loading